private Vector[] Calculate_Area_Locations(Node_ND[] ElementNodes, ParametricInterpolation_ND_Square Nodes_Interpolator, ParametricInterpolation_ND_Square TheResInterpolation) { int NNPE = TheResInterpolation.NNPE; Vector[] X = new Vector[NNPE]; Vector[] Nodal_X = Get_ElementNodal_X(ElementNodes); for (int i = 0; i < NNPE; i++) { X[i] = Nodes_Interpolator.Interpolate_Variable(TheResInterpolation.NodeXi[i], Nodal_X); } return(X); }
private Vector Calculate_Area_DisplayValues(Node_ND[] ElementNodes, ParametricInterpolation_ND_Square Nodes_Interpolator, ParametricInterpolation_ND_Square TheResInterpolation) { int NNPE = TheResInterpolation.NNPE; Vector DisplayValues = new Vector(NNPE); Vector NodalDisplayValues = Get_Nodal_DisplayValues(ElementNodes); for (int i = 0; i < NNPE; i++) { DisplayValues.Values[i] = Nodes_Interpolator.Interpolate_Variable(TheResInterpolation.NodeXi[i], NodalDisplayValues.Values); } return(DisplayValues); }