|
IFEM
90A354
|
Common base class for Lagrange FE models. More...
#include <ASMLagBase.h>


Public Member Functions | |
| void | updateOrigin (const Vec3 &origin) |
| Updates patch origin by adding a constant to all nodes. More... | |
Protected Member Functions | |
| ASMLagBase () | |
| Default constructor. | |
| ASMLagBase (const ASMLagBase &patch, bool cpCoord=true) | |
| Copy constructor. | |
| virtual | ~ASMLagBase () |
| Empty destructor. | |
| bool | nodalField (Matrix &field, const Vector &sol, size_t nno) const |
| Direct nodal evaluation of a solution field. | |
| Vec3 | getGeometricCenter (const std::vector< int > &MNPC) const |
| Returns the geometric center of an element. | |
| bool | updateCoords (const Vector &displ, unsigned char nsd) |
| Updates the nodal coordinates for this patch. More... | |
Protected Attributes | |
| const Vec3Vec & | coord |
| Const reference to the nodal coordinate container. | |
| Vec3Vec | myCoord |
| Nodal coordinate container. | |
Common base class for Lagrange FE models.
This class contains a container for storing the nodal coordinates.
|
protected |
Updates the nodal coordinates for this patch.
| [in] | displ | Incremental displacements to update the coordinates with |
| [in] | nsd | Number of space dimensions |
References coord, myCoord, utl::vector< T >::ptr(), and utl::vector< T >::size().
Referenced by ASMs1DLag::updateCoords(), ASMs2DLag::updateCoords(), and ASMs3DLag::updateCoords().
| void ASMLagBase::updateOrigin | ( | const Vec3 & | origin | ) |
Updates patch origin by adding a constant to all nodes.
| [in] | origin | The new origin of the patch |
References myCoord.