![]() |
Dune-Fufem 2.11-git
|
Function that computes the deformed position from a given host gridview. This can be used inside of GeometryGrid. More...
#include <dune/fufem/functions/deformationfunction.hh>

Public Types | |
| typedef Base::RangeVector | RangeVector |
| typedef This | Interface |
| typedef Impl | Implementation |
Public Member Functions | |
| DeformationHierarchyFunction (const GridView &gridView) | |
| DeformationHierarchyFunction (const GridView &gridView, const CoefficientVectorType &deformation) | |
| virtual void | setGridView (const GridView &gridView) |
| void | evaluate (const typename GridView::template Codim< 0 >::Entity &hostEntity, unsigned int corner, typename Base::RangeVector &y) const |
| Evaluate function at a corner of a host entity. | |
| void | setDeformation (const CoefficientVectorType &deformation) |
| Change the deformation vector. | |
| virtual void | evaluate (const typename GridView::template Codim< dim >::Entity &hostVertex, unsigned int corner, Dune::FieldVector< ctype, dim > &y) const |
| Evaluate function at a host vertex (corner param is redundant but prescribed by the interface...) | |
| void | evaluate (const HostEntity &hostEntity, unsigned int corner, RangeVector &y) const |
| void | adapt () |
| Adapt to changes in the host grid. | |
| const CoefficientVectorType & | getDeformation () |
Static Public Attributes | |
| static const unsigned int | dimRange |
Protected Member Functions | |
| const Implementation & | asImp () const |
| Implementation & | asImp () |
Protected Attributes | |
| std::unique_ptr< GridView > | gridView_ |
| The gridview of the undeformed grid. | |
| CoefficientVectorType | deformation_ |
| The coefficient vector of the displacements of the vertices of the gridview. | |
Detailed Description
class DeformationHierarchyFunction< GridView, CoefficientVectorType >
Function that computes the deformed position from a given host gridview. This can be used inside of GeometryGrid.
- Template Parameters
-
GridView - The grid view of the undeformed grid. CoefficientVectorType - The type the vertex coefficients are stored in.
- Deprecated:
- This class is deprecated and will be removed after 2.11. Use Dune::Fufen::Experimental::DeformationFunction instead.
Member Typedef Documentation
◆ RangeVector
|
inherited |
Constructor & Destructor Documentation
◆ DeformationHierarchyFunction() [1/2]
|
inline |
◆ DeformationHierarchyFunction() [2/2]
|
inline |
Member Function Documentation
◆ adapt()
|
inlineinherited |
Adapt to changes in the host grid.
◆ evaluate() [1/2]
|
inlinevirtual |
Evaluate function at a corner of a host entity.
Reimplemented from DeformationFunction< GridView, CoefficientVectorType >.
◆ evaluate() [2/2]
|
inlinevirtualinherited |
Evaluate function at a host vertex (corner param is redundant but prescribed by the interface...)
◆ getDeformation()
|
inlineinherited |
◆ setDeformation()
|
inlineinherited |
Change the deformation vector.
◆ setGridView()
|
inlinevirtual |
Reimplemented from DeformationFunction< GridView, CoefficientVectorType >.
Member Data Documentation
◆ deformation_
|
protectedinherited |
The coefficient vector of the displacements of the vertices of the gridview.
◆ gridView_
|
protectedinherited |
The gridview of the undeformed grid.
The documentation for this class was generated from the following file:
