14 #ifndef _LAGRANGE_FIELD_3D_H
15 #define _LAGRANGE_FIELD_3D_H
39 char basis = 1,
char cmp = 1,
const char* name =
nullptr);
61 using IntMat = std::vector<std::vector<int>>;
Base class for scalar fields.
std::vector< Real > RealArray
A real-valued array without algebraic operations.
Definition: ImmersedBoundaries.h:29
Driver for assembly of structured 3D Lagrange FE models.
Definition: ASMs3DLag.h:27
Base class for scalar fields.
Definition: FieldBase.h:30
Class representing an integration point.
Definition: ItgPoint.h:25
Class for Lagrange-based finite element scalar fields in 3D.
Definition: LagrangeField3D.h:30
virtual ~LagrangeField3D()
Empty destructor.
Definition: LagrangeField3D.h:41
int p2
Element order in second parameter direction.
Definition: LagrangeField3D.h:64
double valueNode(size_t node) const
Computes the value in a given node/control point.
Definition: LagrangeField3D.C:46
std::vector< std::vector< int > > IntMat
Convenience type.
Definition: LagrangeField3D.h:61
Matrix coord
Matrix of nodel coordinates.
Definition: LagrangeField3D.h:60
LagrangeField3D(const ASMs3DLag *patch, const RealArray &v, char basis=1, char cmp=1, const char *name=nullptr)
The constructor sets the number of space dimensions and fields.
Definition: LagrangeField3D.C:22
int p1
Element order in first parameter direction.
Definition: LagrangeField3D.h:63
bool gradFE(const ItgPoint &x, Vector &grad) const
Computes the gradient for a given local coordinate.
Definition: LagrangeField3D.C:72
int p3
Element order in third parameter direction.
Definition: LagrangeField3D.h:65
double valueFE(const ItgPoint &x) const
Computes the value at a given local coordinate.
Definition: LagrangeField3D.C:52
IntMat mnpc
Matrix of element nodes.
Definition: LagrangeField3D.h:62
A vector class with some added algebraic operations.
Definition: matrix.h:64