MFEM v4.10.0
Finite element discretization library
Loading...
Searching...
No Matches
reflector.cpp File Reference

Go to the source code of this file.

Functions

void ReflectPoint (Vector &p, const Vector &origin, const Vector &normal)
 
void GetHexPermutation (Array< int > const &h1, Array< int > const &h2, std::array< int, 8 > &perm)
 
real_t GetElementEdgeMin (Mesh const &mesh, const int elem)
 
void FindElementsTouchingPlane (Mesh const &mesh, Vector const &origin, Vector const &normal, std::vector< int > &el)
 
bool GetMeshElementOrder (Mesh const &mesh, Vector const &origin, Vector const &normal, std::vector< int > &elOrder)
 
MeshReflectHighOrderMesh (Mesh &mesh, const Vector &origin, const Vector &normal, std::vector< std::array< int, 8 > > &hexPerm, std::vector< int > &elOrder)
 
void ReorderHexArray (const std::array< int, 3 > &dim, const array< int, 8 > &hexperm, std::array< int, 3 > &dir, std::array< int, 3 > &dims, Array3D< int > &permArray)
 
NURBSPatchReflectPatch (NURBSPatch *patch, int nx, int ny, int nz, const Vector &origin, const Vector &normal, const std::array< int, 8 > &hexPerm)
 
MeshReflectNURBSMesh (Mesh &mesh, const Vector &origin, const Vector &normal)
 
int main (int argc, char *argv[])
 
void HexVertexIJK (const int idx, std::array< int, 3 > &ijk)
 

Function Documentation

◆ FindElementsTouchingPlane()

void FindElementsTouchingPlane ( Mesh const & mesh,
Vector const & origin,
Vector const & normal,
std::vector< int > & el )

Definition at line 671 of file reflector.cpp.

◆ GetElementEdgeMin()

real_t GetElementEdgeMin ( Mesh const & mesh,
const int elem )

Definition at line 644 of file reflector.cpp.

◆ GetHexPermutation()

void GetHexPermutation ( Array< int > const & h1,
Array< int > const & h2,
std::array< int, 8 > & perm )

Definition at line 165 of file reflector.cpp.

◆ GetMeshElementOrder()

bool GetMeshElementOrder ( Mesh const & mesh,
Vector const & origin,
Vector const & normal,
std::vector< int > & elOrder )

Definition at line 703 of file reflector.cpp.

◆ HexVertexIJK()

void HexVertexIJK ( const int idx,
std::array< int, 3 > & ijk )

Definition at line 1209 of file reflector.cpp.

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 1140 of file reflector.cpp.

◆ ReflectHighOrderMesh()

Mesh * ReflectHighOrderMesh ( Mesh & mesh,
const Vector & origin,
const Vector & normal,
std::vector< std::array< int, 8 > > & hexPerm,
std::vector< int > & elOrder )

Definition at line 764 of file reflector.cpp.

◆ ReflectNURBSMesh()

Mesh * ReflectNURBSMesh ( Mesh & mesh,
const Vector & origin,
const Vector & normal )

Definition at line 1069 of file reflector.cpp.

◆ ReflectPatch()

NURBSPatch * ReflectPatch ( NURBSPatch * patch,
int nx,
int ny,
int nz,
const Vector & origin,
const Vector & normal,
const std::array< int, 8 > & hexPerm )

Definition at line 1020 of file reflector.cpp.

◆ ReflectPoint()

void ReflectPoint ( Vector & p,
const Vector & origin,
const Vector & normal )

Definition at line 36 of file reflector.cpp.

◆ ReorderHexArray()

void ReorderHexArray ( const std::array< int, 3 > & dim,
const array< int, 8 > & hexperm,
std::array< int, 3 > & dir,
std::array< int, 3 > & dims,
Array3D< int > & permArray )

Definition at line 1217 of file reflector.cpp.