WARPXM v1.10.0
Loading...
Searching...
No Matches
wmunstructuredgeometryfunctions.h File Reference
#include <cmath>
#include "warpxm/warpxm_config.h"

Go to the source code of this file.

Functions

template<typename T >
sign (T a)
 
void resetVector (real v[3])
 
void vectoralCrossProduct (const real vec1[3], const real vec2[3], real product[3])
 
real vectoralDotProduct (const real vec1[3], const real vec2[3])
 
real vectoralMagnitude (const real vec[3])
 
void vectoralMultiplyByScalar (real vec[3], const real scalar)
 
real vectoralNormalize (real vec[3])
 
void vectoralTangentNormalized (const real normal[3], real tangent[3])
 
void vectoralTangent (const real vec[3], real tangent[3])
 
void vectoralBinormal (const real normal[3], const real tangent[3], real binormal[3])
 
void vectoralMatrixMultiply_left (const real M[3][3], const real v[3], real Mv[3])
 
void vectoralRotateAroundNormalizedVector (const real v[3], const real n[3], const real angle, real r[3])
 
real generateElementGeometry_Line (const real tC[2 *3], real areas[2], real *norms)
 
real generateElementGeometry_01_Line (const real tC[2 *3], real areas[2], real *norms)
 
real generateElementGeometry_Triangle (const real tC[3 *3], real areas[3], real *norms)
 
real generateElementGeometry_Quadrilateral (const real tC[4 *3], real *areas, real *norms)
 
real generateElementGeometry_Tetrahedron (const real tC[4 *3], real areas[4], real *norms)
 
real generateElementGeometry_Hexahedron (const real tC[8 *3], real *areas, real *norms)
 
real generateElementGeometry_Point (const real tC[1 *3], real areas[1], real *norms)
 
void generateTransformCoordinates_Line (const real nodePositions[], real tC[])
 
void generateTransformCoordinates_01_Line (const real nodePositions[], real tC[])
 
void generateTransformCoordinates_Triangle (const real nodePositions[], real tC[])
 
void generateTransformCoordinates_Quadrilateral (const real nodePositions[], real tC[])
 
void generateTransformCoordinates_Tetrahedron (const real nodePositions[], real tC[])
 
void generateTransformCoordinates_Hexahedron (const real nodePositions[], real tC[])
 
void generateTransformCoordinates_Point (const real nodePositions[], real tC[])
 
void generatePositionInElement_Line (const real *tC, const real normalizedPosition[3], real position[3])
 
void generatePositionInElement_01_Line (const real *tC, const real normalizedPosition[3], real position[3])
 
void generatePositionInElement_Triangle (const real *tC, const real normalizedPosition[3], real position[3])
 
void generatePositionInElement_Quadrilateral (const real *tC, const real normalizedPosition[3], real position[3])
 
void generatePositionInElement_Tetrahedron (const real *tC, const real normalizedPosition[3], real position[3])
 
void generatePositionInElement_Hexahedron (const real *tC, const real normalizedPosition[3], real position[3])
 
void generatePositionInElement_Point (const real *tC, const real normalizedPosition[3], real position[3])
 
void generateCentralPositionInElement_Line (const real tC[][3], const real normalizedPosition[3], real position[3])
 
void generateCentralPositionInElement_01_Line (const real tC[][3], const real normalizedPosition[3], real position[3])
 
void generateCentralPositionInElement_Triangle (const real tC[][3], const real normalizedPosition[3], real position[3])
 
void generateCentralPositionInElement_Quadrilateral (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 generateCentralPositionInElement_Hexahedron (const real tC[][3], const real normalizedPosition[3], real position[3])
 
void generateCentralPositionInElement_Point (const real tC[][3], const real normalizedPosition[3], real position[3])
 
void generateCentroid_Line (const real tC[], real centroid[3])
 
void generateCentroid_01_Line (const real tC[], real centroid[3])
 
void generateCentroid_Triangle (const real tC[], real centroid[3])
 
void generateCentroid_Quadrilateral (const real tC[], real centroid[3])
 
void generateCentroid_Tetrahedron (const real tC[], real centroid[3])
 
void generateCentroid_Hexahedron (const real tC[], real centroid[3])
 
void generateCentroid_Point (const real tC[], real centroid[3])
 
real generateVolumeJacobian_Line (const real tC[], const real normalizedPosition[3])
 
real generateVolumeJacobian_01_Line (const real tC[], const real normalizedPosition[3])
 
real generateVolumeJacobian_Triangle (const real tC[], const real normalizedPosition[3])
 
real generateVolumeJacobian_Quadrilateral (const real tC[], const real normalizedPosition[3])
 
real generateVolumeJacobian_Tetrahedron (const real tC[], const real normalizedPosition[3])
 
real generateVolumeJacobian_Hexahedron (const real tC[], const real normalizedPosition[3])
 
real generateVolumeJacobian_Point (const real tC[], const real normalizedPosition[3])
 
void generateJacobianMatrix_Line (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 generateJacobianMatrix_Triangle (const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
 
void generateJacobianMatrix_Quadrilateral (const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
 
void generateJacobianMatrix_Tetrahedron (const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
 
void generateJacobianMatrix_Hexahedron (const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
 
void generateJacobianMatrix_Point (const real tC[][3], const real normalizedPosition[3], real jacobian[][3])
 
void invertThreeXThreeMatrix (const real a[3][3], real in[3][3])
 
void convertFaceTransformCoordinates_Line_To_Point (const real v_tC[][3], const int fIndex, real f_tC[][3])
 
void convertFaceTransformCoordinates_Triangle_To_Line (const real v_tC[][3], const int fIndex, real f_tC[][3])
 
void convertFaceTransformCoordinates_Quadrilateral_To_Line (const real v_tC[][3], const int fIndex, real f_tC[][3])
 
void convertFaceTransformCoordinates_Tetrahedron_To_Triangle (const real v_tC[][3], const int fIndex, real f_tC[][3])
 
void convertFaceTransformCoordinates_Hexahedron_To_Quadrilateral (const real v_tC[][3], const int fIndex, real f_tC[][3])
 

Function Documentation

◆ convertFaceTransformCoordinates_Hexahedron_To_Quadrilateral()

void convertFaceTransformCoordinates_Hexahedron_To_Quadrilateral ( const real  v_tC[][3],
const int  fIndex,
real  f_tC[][3] 
)

◆ convertFaceTransformCoordinates_Line_To_Point()

void convertFaceTransformCoordinates_Line_To_Point ( const real  v_tC[][3],
const int  fIndex,
real  f_tC[][3] 
)

◆ convertFaceTransformCoordinates_Quadrilateral_To_Line()

void convertFaceTransformCoordinates_Quadrilateral_To_Line ( const real  v_tC[][3],
const int  fIndex,
real  f_tC[][3] 
)

◆ convertFaceTransformCoordinates_Tetrahedron_To_Triangle()

void convertFaceTransformCoordinates_Tetrahedron_To_Triangle ( const real  v_tC[][3],
const int  fIndex,
real  f_tC[][3] 
)

◆ convertFaceTransformCoordinates_Triangle_To_Line()

void convertFaceTransformCoordinates_Triangle_To_Line ( const real  v_tC[][3],
const int  fIndex,
real  f_tC[][3] 
)

◆ generateCentralPositionInElement_01_Line()

void generateCentralPositionInElement_01_Line ( const real  tC[][3],
const real  normalizedPosition[3],
real  position[3] 
)

◆ generateCentralPositionInElement_Hexahedron()

void generateCentralPositionInElement_Hexahedron ( const real  tC[][3],
const real  normalizedPosition[3],
real  position[3] 
)

◆ generateCentralPositionInElement_Line()

void generateCentralPositionInElement_Line ( const real  tC[][3],
const real  normalizedPosition[3],
real  position[3] 
)

◆ generateCentralPositionInElement_Point()

void generateCentralPositionInElement_Point ( const real  tC[][3],
const real  normalizedPosition[3],
real  position[3] 
)

◆ generateCentralPositionInElement_Quadrilateral()

void generateCentralPositionInElement_Quadrilateral ( const real  tC[][3],
const real  normalizedPosition[3],
real  position[3] 
)

◆ generateCentralPositionInElement_Tetrahedron()

void generateCentralPositionInElement_Tetrahedron ( const real  tC[][3],
const real  normalizedPosition[3],
real  position[3] 
)

◆ generateCentralPositionInElement_Triangle()

void generateCentralPositionInElement_Triangle ( const real  tC[][3],
const real  normalizedPosition[3],
real  position[3] 
)

◆ generateCentroid_01_Line()

void generateCentroid_01_Line ( const real  tC[],
real  centroid[3] 
)

◆ generateCentroid_Hexahedron()

void generateCentroid_Hexahedron ( const real  tC[],
real  centroid[3] 
)

◆ generateCentroid_Line()

void generateCentroid_Line ( const real  tC[],
real  centroid[3] 
)

◆ generateCentroid_Point()

void generateCentroid_Point ( const real  tC[],
real  centroid[3] 
)

◆ generateCentroid_Quadrilateral()

void generateCentroid_Quadrilateral ( const real  tC[],
real  centroid[3] 
)

◆ generateCentroid_Tetrahedron()

void generateCentroid_Tetrahedron ( const real  tC[],
real  centroid[3] 
)

◆ generateCentroid_Triangle()

void generateCentroid_Triangle ( const real  tC[],
real  centroid[3] 
)

◆ generateElementGeometry_01_Line()

real generateElementGeometry_01_Line ( const real  tC[2 *3],
real  areas[2],
real norms 
)

◆ generateElementGeometry_Hexahedron()

real generateElementGeometry_Hexahedron ( const real  tC[8 *3],
real areas,
real norms 
)

◆ generateElementGeometry_Line()

real generateElementGeometry_Line ( const real  tC[2 *3],
real  areas[2],
real norms 
)

◆ generateElementGeometry_Point()

real generateElementGeometry_Point ( const real  tC[1 *3],
real  areas[1],
real norms 
)

◆ generateElementGeometry_Quadrilateral()

real generateElementGeometry_Quadrilateral ( const real  tC[4 *3],
real areas,
real norms 
)

◆ generateElementGeometry_Tetrahedron()

real generateElementGeometry_Tetrahedron ( const real  tC[4 *3],
real  areas[4],
real norms 
)

◆ generateElementGeometry_Triangle()

real generateElementGeometry_Triangle ( const real  tC[3 *3],
real  areas[3],
real norms 
)

◆ generateJacobianMatrix_01_Line()

void generateJacobianMatrix_01_Line ( const real  tC[][3],
const real  normalizedPosition[3],
real  jacobian[][3] 
)

◆ generateJacobianMatrix_Hexahedron()

void generateJacobianMatrix_Hexahedron ( const real  tC[][3],
const real  normalizedPosition[3],
real  jacobian[][3] 
)

◆ generateJacobianMatrix_Line()

void generateJacobianMatrix_Line ( const real  tC[][3],
const real  normalizedPosition[3],
real  jacobian[][3] 
)

◆ generateJacobianMatrix_Point()

void generateJacobianMatrix_Point ( const real  tC[][3],
const real  normalizedPosition[3],
real  jacobian[][3] 
)

◆ generateJacobianMatrix_Quadrilateral()

void generateJacobianMatrix_Quadrilateral ( const real  tC[][3],
const real  normalizedPosition[3],
real  jacobian[][3] 
)

◆ generateJacobianMatrix_Tetrahedron()

void generateJacobianMatrix_Tetrahedron ( const real  tC[][3],
const real  normalizedPosition[3],
real  jacobian[][3] 
)

◆ generateJacobianMatrix_Triangle()

void generateJacobianMatrix_Triangle ( const real  tC[][3],
const real  normalizedPosition[3],
real  jacobian[][3] 
)

◆ generatePositionInElement_01_Line()

void generatePositionInElement_01_Line ( const real tC,
const real  normalizedPosition[3],
real  position[3] 
)

◆ generatePositionInElement_Hexahedron()

void generatePositionInElement_Hexahedron ( const real tC,
const real  normalizedPosition[3],
real  position[3] 
)

◆ generatePositionInElement_Line()

void generatePositionInElement_Line ( const real tC,
const real  normalizedPosition[3],
real  position[3] 
)

◆ generatePositionInElement_Point()

void generatePositionInElement_Point ( const real tC,
const real  normalizedPosition[3],
real  position[3] 
)

◆ generatePositionInElement_Quadrilateral()

void generatePositionInElement_Quadrilateral ( const real tC,
const real  normalizedPosition[3],
real  position[3] 
)

◆ generatePositionInElement_Tetrahedron()

void generatePositionInElement_Tetrahedron ( const real tC,
const real  normalizedPosition[3],
real  position[3] 
)

◆ generatePositionInElement_Triangle()

void generatePositionInElement_Triangle ( const real tC,
const real  normalizedPosition[3],
real  position[3] 
)

◆ generateTransformCoordinates_01_Line()

void generateTransformCoordinates_01_Line ( const real  nodePositions[],
real  tC[] 
)

◆ generateTransformCoordinates_Hexahedron()

void generateTransformCoordinates_Hexahedron ( const real  nodePositions[],
real  tC[] 
)

◆ generateTransformCoordinates_Line()

void generateTransformCoordinates_Line ( const real  nodePositions[],
real  tC[] 
)

◆ generateTransformCoordinates_Point()

void generateTransformCoordinates_Point ( const real  nodePositions[],
real  tC[] 
)

◆ generateTransformCoordinates_Quadrilateral()

void generateTransformCoordinates_Quadrilateral ( const real  nodePositions[],
real  tC[] 
)

◆ generateTransformCoordinates_Tetrahedron()

void generateTransformCoordinates_Tetrahedron ( const real  nodePositions[],
real  tC[] 
)

◆ generateTransformCoordinates_Triangle()

void generateTransformCoordinates_Triangle ( const real  nodePositions[],
real  tC[] 
)

◆ generateVolumeJacobian_01_Line()

real generateVolumeJacobian_01_Line ( const real  tC[],
const real  normalizedPosition[3] 
)

◆ generateVolumeJacobian_Hexahedron()

real generateVolumeJacobian_Hexahedron ( const real  tC[],
const real  normalizedPosition[3] 
)

◆ generateVolumeJacobian_Line()

real generateVolumeJacobian_Line ( const real  tC[],
const real  normalizedPosition[3] 
)

◆ generateVolumeJacobian_Point()

real generateVolumeJacobian_Point ( const real  tC[],
const real  normalizedPosition[3] 
)

◆ generateVolumeJacobian_Quadrilateral()

real generateVolumeJacobian_Quadrilateral ( const real  tC[],
const real  normalizedPosition[3] 
)

◆ generateVolumeJacobian_Tetrahedron()

real generateVolumeJacobian_Tetrahedron ( const real  tC[],
const real  normalizedPosition[3] 
)

◆ generateVolumeJacobian_Triangle()

real generateVolumeJacobian_Triangle ( const real  tC[],
const real  normalizedPosition[3] 
)

◆ invertThreeXThreeMatrix()

void invertThreeXThreeMatrix ( const real  a[3][3],
real  in[3][3] 
)

◆ resetVector()

void resetVector ( real  v[3])

◆ sign()

template<typename T >
T sign ( a)

◆ vectoralBinormal()

void vectoralBinormal ( const real  normal[3],
const real  tangent[3],
real  binormal[3] 
)

◆ vectoralCrossProduct()

void vectoralCrossProduct ( const real  vec1[3],
const real  vec2[3],
real  product[3] 
)

◆ vectoralDotProduct()

real vectoralDotProduct ( const real  vec1[3],
const real  vec2[3] 
)

◆ vectoralMagnitude()

real vectoralMagnitude ( const real  vec[3])

◆ vectoralMatrixMultiply_left()

void vectoralMatrixMultiply_left ( const real  M[3][3],
const real  v[3],
real  Mv[3] 
)

◆ vectoralMultiplyByScalar()

void vectoralMultiplyByScalar ( real  vec[3],
const real  scalar 
)

◆ vectoralNormalize()

real vectoralNormalize ( real  vec[3])

◆ vectoralRotateAroundNormalizedVector()

void vectoralRotateAroundNormalizedVector ( const real  v[3],
const real  n[3],
const real  angle,
real  r[3] 
)

◆ vectoralTangent()

void vectoralTangent ( const real  vec[3],
real  tangent[3] 
)

◆ vectoralTangentNormalized()

void vectoralTangentNormalized ( const real  normal[3],
real  tangent[3] 
)