1#ifndef WMUNSTRUCTUREDGEOMETRYFUNCTIONS_H_
2#define WMUNSTRUCTUREDGEOMETRYFUNCTIONS_H_
7#include "warpxm/warpxm_config.h"
9template<
typename T> T
sign(T a);
74 const real normalizedPosition[3],
78 const real normalizedPosition[3],
82 const real normalizedPosition[3],
86 const real normalizedPosition[3],
90 const real normalizedPosition[3],
94 const real normalizedPosition[3],
98 const real normalizedPosition[3],
105 const real normalizedPosition[3],
109 const real normalizedPosition[3],
113 const real normalizedPosition[3],
117 const real normalizedPosition[3],
121 const real normalizedPosition[3],
125 const real normalizedPosition[3],
129 const real normalizedPosition[3],
156 const real normalizedPosition[3]);
159 const real normalizedPosition[3]);
162 const real normalizedPosition[3]);
165 const real normalizedPosition[3]);
170 const real normalizedPosition[3],
174 const real normalizedPosition[3],
178 const real normalizedPosition[3],
182 const real normalizedPosition[3],
186 const real normalizedPosition[3],
190 const real normalizedPosition[3],
194 const real normalizedPosition[3],
#define real
Definition: wmoclunstructuredreconstruction.h:11
void generatePositionInElement_Quadrilateral(const real *tC, const real normalizedPosition[3], real position[3])
void generateCentroid_Hexahedron(const real tC[], real centroid[3])
void vectoralCrossProduct(const real vec1[3], const real vec2[3], real product[3])
void generateCentroid_Quadrilateral(const real tC[], real centroid[3])
real generateVolumeJacobian_01_Line(const real tC[], const real normalizedPosition[3])
void generateTransformCoordinates_Hexahedron(const real nodePositions[], real tC[])
void generateCentralPositionInElement_Quadrilateral(const real tC[][3], const real normalizedPosition[3], real position[3])
void generateTransformCoordinates_01_Line(const real nodePositions[], real tC[])
void vectoralTangent(const real vec[3], real tangent[3])
real vectoralNormalize(real vec[3])
void convertFaceTransformCoordinates_Triangle_To_Line(const real v_tC[][3], const int fIndex, real f_tC[][3])
real generateVolumeJacobian_Line(const real tC[], const real normalizedPosition[3])
void generateCentralPositionInElement_Line(const real tC[][3], const real normalizedPosition[3], real position[3])
void resetVector(real v[3])
real generateVolumeJacobian_Triangle(const real tC[], const real normalizedPosition[3])
void generateJacobianMatrix_Line(const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
real generateElementGeometry_01_Line(const real tC[2 *3], real areas[2], real *norms)
void generateJacobianMatrix_Tetrahedron(const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
real generateElementGeometry_Quadrilateral(const real tC[4 *3], real *areas, real *norms)
void generatePositionInElement_Point(const real *tC, const real normalizedPosition[3], real position[3])
void invertThreeXThreeMatrix(const real a[3][3], real in[3][3])
void generateJacobianMatrix_Quadrilateral(const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
real generateVolumeJacobian_Point(const real tC[], const real normalizedPosition[3])
real vectoralDotProduct(const real vec1[3], const real vec2[3])
void generateCentralPositionInElement_Point(const real tC[][3], const real normalizedPosition[3], real position[3])
void generatePositionInElement_01_Line(const real *tC, const real normalizedPosition[3], real position[3])
real generateVolumeJacobian_Tetrahedron(const real tC[], const real normalizedPosition[3])
void generatePositionInElement_Line(const real *tC, const real normalizedPosition[3], real position[3])
void generateTransformCoordinates_Triangle(const real nodePositions[], real tC[])
void generateCentralPositionInElement_Hexahedron(const real tC[][3], const real normalizedPosition[3], real position[3])
void generateCentralPositionInElement_Tetrahedron(const real tC[][3], const real normalizedPosition[3], real position[3])
void generateCentroid_Triangle(const real tC[], real centroid[3])
void generatePositionInElement_Hexahedron(const real *tC, const real normalizedPosition[3], real position[3])
void generateJacobianMatrix_Point(const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
void generateJacobianMatrix_01_Line(const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
void vectoralMultiplyByScalar(real vec[3], const real scalar)
real generateElementGeometry_Hexahedron(const real tC[8 *3], real *areas, real *norms)
void generateCentralPositionInElement_Triangle(const real tC[][3], const real normalizedPosition[3], real position[3])
real generateElementGeometry_Point(const real tC[1 *3], real areas[1], real *norms)
void vectoralBinormal(const real normal[3], const real tangent[3], real binormal[3])
void generateCentroid_01_Line(const real tC[], real centroid[3])
void generateJacobianMatrix_Triangle(const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
void generateTransformCoordinates_Quadrilateral(const real nodePositions[], real tC[])
real generateVolumeJacobian_Hexahedron(const real tC[], const real normalizedPosition[3])
void generateCentroid_Line(const real tC[], real centroid[3])
real generateElementGeometry_Triangle(const real tC[3 *3], real areas[3], real *norms)
real generateElementGeometry_Line(const real tC[2 *3], real areas[2], real *norms)
void convertFaceTransformCoordinates_Hexahedron_To_Quadrilateral(const real v_tC[][3], const int fIndex, real f_tC[][3])
void vectoralTangentNormalized(const real normal[3], real tangent[3])
void generateCentralPositionInElement_01_Line(const real tC[][3], const real normalizedPosition[3], real position[3])
void generateTransformCoordinates_Tetrahedron(const real nodePositions[], real tC[])
void vectoralMatrixMultiply_left(const real M[3][3], const real v[3], real Mv[3])
void generatePositionInElement_Tetrahedron(const real *tC, const real normalizedPosition[3], real position[3])
real vectoralMagnitude(const real vec[3])
void convertFaceTransformCoordinates_Line_To_Point(const real v_tC[][3], const int fIndex, real f_tC[][3])
void generateTransformCoordinates_Line(const real nodePositions[], real tC[])
void generateCentroid_Tetrahedron(const real tC[], real centroid[3])
real generateElementGeometry_Tetrahedron(const real tC[4 *3], real areas[4], real *norms)
void generateCentroid_Point(const real tC[], real centroid[3])
void vectoralRotateAroundNormalizedVector(const real v[3], const real n[3], const real angle, real r[3])
void generateJacobianMatrix_Hexahedron(const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
void generateTransformCoordinates_Point(const real nodePositions[], real tC[])
void convertFaceTransformCoordinates_Tetrahedron_To_Triangle(const real v_tC[][3], const int fIndex, real f_tC[][3])
void generatePositionInElement_Triangle(const real *tC, const real normalizedPosition[3], real position[3])
real generateVolumeJacobian_Quadrilateral(const real tC[], const real normalizedPosition[3])
void convertFaceTransformCoordinates_Quadrilateral_To_Line(const real v_tC[][3], const int fIndex, real f_tC[][3])