[vtkusers] vtkCellDerivatives

Martin Genet martin.genet at polytechnique.edu
Mon Dec 28 17:50:44 EST 2015


Thanks Andy.

What about simply adding another mode, e.g. 
SetTensorModeToComputeGreenLagrangeStrain, to the vtkCellDerivatives 
filter? Would the attached patch make sense?

Martin

On 28/12/2015 14:12, Andy Bauer wrote:
> Hi Martin,
>
> Changing the name of the SetTensorModeToComputeStrain method to 
> something else would break backward compatibility which is generally 
> avoided in VTK. Other options for this include deriving a class to 
> compute non-linear strain from vtkCellDerivatives if it shares enough 
> of the algorithm with the linearized version or maybe just creating a 
> new filter.
>
> Cheers,
> Andy
>
> On Sat, Dec 26, 2015 at 4:36 PM, Martin Genet 
> <martin.genet at polytechnique.edu 
> <mailto:martin.genet at polytechnique.edu>> wrote:
>
>     Dear VTK users:
>
>     I realize that the vtkCellDerivatives filter, when
>     SetTensorModeToComputeStrain is activated, returns the symmetric
>     part of the gradient of the input vector field, which is the
>     linearized strain tensor, i.e., not a proper measure of
>     deformation when large displacements are involved. Would that make
>     sense to have two different modes,
>     SetTensorModeToComputeLinearizedStrain or
>     SetTensorModeToComputeSymmetricGradient, and
>     SetTensorModeToComputeStrain or
>     SetTensorModeToComputeGreenLagrangeStrain? Thanks!
>
>     Martin
>     _______________________________________________
>     Powered by www.kitware.com <http://www.kitware.com>
>
>     Visit other Kitware open-source projects at
>     http://www.kitware.com/opensource/opensource.html
>
>     Please keep messages on-topic and check the VTK FAQ at:
>     http://www.vtk.org/Wiki/VTK_FAQ
>
>     Search the list archives at: http://markmail.org/search/?q=vtkusers
>
>     Follow this link to subscribe/unsubscribe:
>     http://public.kitware.com/mailman/listinfo/vtkusers
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151228/fff296dd/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Adding-Green-Lagrange-strain-to-CellDerivatives-filt.patch
Type: text/x-patch
Size: 4846 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20151228/fff296dd/attachment.bin>


More information about the vtkusers mailing list