14 #ifndef _ASM_LAG_BASE_H
15 #define _ASM_LAG_BASE_H
Global algebraic operations on index 1-based matrices and vectors.
Representation of a point in 3D space with some basic operations.
std::vector< Vec3 > Vec3Vec
An array of point vectors.
Definition: Vec3.h:318
Common base class for Lagrange FE models.
Definition: ASMLagBase.h:27
Vec3Vec myCoord
Nodal coordinate container.
Definition: ASMLagBase.h:54
bool nodalField(Matrix &field, const Vector &sol, size_t nno) const
Direct nodal evaluation of a solution field.
Definition: ASMLagBase.C:23
ASMLagBase()
Default constructor.
Definition: ASMLagBase.h:30
virtual ~ASMLagBase()
Empty destructor.
Definition: ASMLagBase.h:34
const Vec3Vec & coord
Const reference to the nodal coordinate container.
Definition: ASMLagBase.h:53
Vec3 getGeometricCenter(const std::vector< int > &MNPC) const
Returns the geometric center of an element.
Definition: ASMLagBase.C:39
void updateOrigin(const Vec3 &origin)
Updates patch origin by adding a constant to all nodes.
Definition: ASMLagBase.C:72
bool updateCoords(const Vector &displ, unsigned char nsd)
Updates the nodal coordinates for this patch.
Definition: ASMLagBase.C:51
Simple class for representing a point in 3D space.
Definition: Vec3.h:27
A vector class with some added algebraic operations.
Definition: matrix.h:64