public class MLSShapeFunction extends java.lang.Object implements MFreeShapeFunction
| Modifier and Type | Field and Description | 
|---|---|
| static int | CONSTANT_ORDER | 
| static int | LINEAR_ORDER | 
| static int | QUADRATIC_ORDER | 
| static int | SHEPARD | 
| Constructor and Description | 
|---|
| MLSShapeFunction() | 
| MLSShapeFunction(int order) | 
| MLSShapeFunction(MFreeNode3d[] nodes,
                int order) | 
| Modifier and Type | Method and Description | 
|---|---|
| double | eval(int nidx)Returns the value of the i'th shape function (related to node i) | 
| void | eval(VectorNd N)Returns the values of the shape functions at the current point | 
| void | eval(VectorNd N,
    Vector3d[] dNds)Evaluates both the shape function and derivatives at a given point | 
| void | evalDerivative(int nidx,
              Vector3d dNds)Returns the value of the i'th shape function derivatives | 
| void | evalDerivative(Vector3d[] dNds)Returns the value of all shape function derivatives | 
| Point3d | getCoordinate()Current coordinate to be used for evaluation | 
| MFreeNode3d[] | getNodes()Current nodes used for evaluation | 
| static Diff2Function3x1[] | getPolynomialBasis(int order) | 
| void | invalidateRestData()Invalidate any stored rest information | 
| void | setBasisFunctions(Diff2Function3x1[] functions) | 
| void | setCoordinate(Point3d pnt)Set the evaluation coordinate | 
| void | setNodes(MFreeNode3d[] nodes)Set the rest nodes | 
| void | updateRestData() | 
public static final int CONSTANT_ORDER
public static final int SHEPARD
public static final int LINEAR_ORDER
public static final int QUADRATIC_ORDER
public MLSShapeFunction()
public MLSShapeFunction(int order)
public MLSShapeFunction(MFreeNode3d[] nodes, int order)
public void setBasisFunctions(Diff2Function3x1[] functions)
public void invalidateRestData()
MFreeShapeFunctioninvalidateRestData in interface MFreeShapeFunctionpublic void updateRestData()
public static Diff2Function3x1[] getPolynomialBasis(int order)
public double eval(int nidx)
MFreeShapeFunctioneval in interface MFreeShapeFunctionnidx - node indexpublic void evalDerivative(int nidx,
                           Vector3d dNds)
MFreeShapeFunctionevalDerivative in interface MFreeShapeFunctionnidx - node indexdNds - derivatives (d/dx, d/dy, d/dz)public void setCoordinate(Point3d pnt)
MFreeShapeFunctionsetCoordinate in interface MFreeShapeFunctionpublic Point3d getCoordinate()
MFreeShapeFunctiongetCoordinate in interface MFreeShapeFunctionpublic void setNodes(MFreeNode3d[] nodes)
MFreeShapeFunctionsetNodes in interface MFreeShapeFunctionnodes - nodespublic MFreeNode3d[] getNodes()
MFreeShapeFunctiongetNodes in interface MFreeShapeFunctionpublic void eval(VectorNd N)
MFreeShapeFunctioneval in interface MFreeShapeFunctionN - vector of shape functionspublic void evalDerivative(Vector3d[] dNds)
MFreeShapeFunctionevalDerivative in interface MFreeShapeFunctiondNds - derivatives (d/dx, d/dy, d/dz)public void eval(VectorNd N, Vector3d[] dNds)
MFreeShapeFunctioneval in interface MFreeShapeFunctionN - shape function outputsdNds - shape function derivative outputs