public interface MFreeShapeFunction
Modifier and Type | Method and Description |
---|---|
double |
eval(int nidx)
Returns the value of the i'th shape function (related to node i)
|
void |
evalDerivative(int nidx,
Vector3d dNds)
Returns the value of the i'th shape function derivatives
|
Point3d |
getCoordinate()
Current coordinate to be used for evaluation
|
MFreeNode3d[] |
getNodes()
Current nodes used for evaluation
|
boolean |
maybeUpdate(Vector3d coords,
MFreeNode3d[] myNodes)
Update only if coords and nodes are different
|
void |
update(Point3d pnt,
MFreeNode3d[] nodes)
Update internals for computing the shape function value and derivatives at the
given point
|
Point3d getCoordinate()
MFreeNode3d[] getNodes()
void update(Point3d pnt, MFreeNode3d[] nodes)
pnt
- point at which to evaluate shape functionsnodes
- dependent nodesdouble eval(int nidx)
nidx
- node indexvoid evalDerivative(int nidx, Vector3d dNds)
nidx
- node indexdNds
- derivatives (d/dx, d/dy, d/dz)boolean maybeUpdate(Vector3d coords, MFreeNode3d[] myNodes)
coords
- natural coordinatesmyNodes
- nodes for shape function