ISAAR.MSolve.IGA/Elements/Continuum/ContinuumElement3D.cs
/// <summary>
/// Calculates displacements of knots for post-processing with Paraview.
/// </summary>
/// <param name="element">An element of type <see cref="NurbsElement3D"/>.</param>
/// <param name="localDisplacements">A <see cref="Matrix"/> containing the displacements for the degrees of freedom of the element.</param>
/// <returns>A <see cref="double"/> array calculating the displacement of the element Knots'.
/// The rows of the matrix denote the knot numbering while the columns the displacements for each degree of freedom.</returns>
Calculates displacements of knots for post-processing with Paraview.
Calculates displacements of knots for post - processing with Paraview .
public double[,] CalculateDisplacementsForPostProcessing(Element element, Matrix localDisplacements)
		{
            throw new NotImplementedException();
		}
public double [ , ] CalculateDisplacementsForPostProcessing ( Element element , Matrix localDisplacements ) { throw new NotImplementedException ( ) ; }
Calculates displacements of knots for post-processing with Paraview.
Calculates displacements of knots for post - processing with Paraview .
//Contract.Requires(element != null, "The element cannot be null"); //var nurbsElement = (NurbsElement3D)element; //var elementControlPoints = nurbsElement.ControlPoints.ToArray(); //var elementKnots = nurbsElement.Knots.ToArray(); //var knotParametricCoordinatesKsi = Vector.CreateFromArray(new double[] { elementKnots[0].Ksi, elementKnots[4].Ksi }); //var knotParametricCoordinatesHeta = Vector.CreateFromArray(new double[] { elementKnots[0].Heta, elementKnots[2].Heta }); //var knotParametricCoordinatesΖeta = Vector.CreateFromArray(new double[] { elementKnots[0].Zeta, elementKnots[1].Zeta }); //var knotDisplacements = new double[8, 3]; //var paraviewKnotRenumbering = new int[] { 0, 4, 2, 6, 1, 5, 3, 7 }; //for (int j = 0; j < elementKnots.Length; j++) //{ //	for (int i = 0; i < elementControlPoints.Length; i++) //	{ //		knotDisplacements[paraviewKnotRenumbering[j], 0] += shapeFunction.NurbsValues[i, j] * localDisplacements[i, 0]; //		knotDisplacements[paraviewKnotRenumbering[j], 1] += shapeFunction.NurbsValues[i, j] * localDisplacements[i, 1]; //		knotDisplacements[paraviewKnotRenumbering[j], 2] += shapeFunction.NurbsValues[i, j] * localDisplacements[i, 2]; //	} //} //return knotDisplacements;
A  array calculating the displacement of the element Knots'.
The rows of the matrix denote the knot numbering while the columns the displacements for each degree of freedom.
A array calculating the displacement of the element Knots ' . The rows of the matrix denote the knot numbering while the columns the displacements for each degree of freedom .
element
Element
An element of type .
An element of type .
localDisplacements
Matrix
A  containing the displacements for the degrees of freedom of the element.
A containing the displacements for the degrees of freedom of the element .