Portage::IntersectSweptFace< dim, on_what, SourceMesh, SourceState, TargetMesh, InterfaceReconstructor, Matpoly_Splitter, Matpoly_Clipper > Class Template Reference
Kernel to compute interpolation weights for swept-face remap. More...
#include <intersect_swept_face.h>
Public Member Functions | |
IntersectSweptFace ()=delete | |
Default constructor (disabled). More... | |
IntersectSweptFace (SourceMesh const &source_mesh, SourceState const &source_state, TargetMesh const &target_mesh, NumericTolerances_t num_tols) | |
Constructor for single material case. More... | |
IntersectSweptFace & | operator= (IntersectSweptFace const &other)=delete |
Assignment operator (disabled). More... | |
~IntersectSweptFace ()=default | |
Destructor. More... | |
void | set_material (int m) |
Set the material we are operating on. More... | |
void | toggle_displacement_check (bool enable) |
Toggle target mesh displacement validity check. More... | |
std::vector< Weights_t > | operator() (int target_id, std::vector< int > const &stencil) const |
Perform the actual swept faces volumes computation. More... | |
Detailed Description
template<int dim, Entity_kind on_what, class SourceMesh, class SourceState, class TargetMesh, template< class, int, class, class > class InterfaceReconstructor = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
class Portage::IntersectSweptFace< dim, on_what, SourceMesh, SourceState, TargetMesh, InterfaceReconstructor, Matpoly_Splitter, Matpoly_Clipper >
Kernel to compute interpolation weights for swept-face remap.
- Template Parameters
-
dim dimension of the problem. on_what the entity kind we want to remap. SourceMesh the source mesh wrapper type. SourceState the source state wrapper to query field infos. TargetMesh the target mesh wrapper type. InterfaceReconstructor materials interface reconstructor type. Matpoly_Splitter material polygons splitter type. Matpoly_Clipper material polygons clipper type.
Constructor & Destructor Documentation
◆ IntersectSweptFace() [1/2]
template<int dim, Entity_kind on_what, class SourceMesh , class SourceState , class TargetMesh , template< class, int, class, class > class InterfaceReconstructor = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
|
delete |
Default constructor (disabled).
◆ IntersectSweptFace() [2/2]
template<int dim, Entity_kind on_what, class SourceMesh , class SourceState , class TargetMesh , template< class, int, class, class > class InterfaceReconstructor = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
|
inline |
Constructor for single material case.
- Parameters
-
[in] source_mesh mesh wrapper used to query source mesh info. [in] source_state state-manager wrapper used to query field info. [in] target_mesh mesh wrapper used to query target mesh info. [in] num_tols numerical tolerances.
◆ ~IntersectSweptFace()
template<int dim, Entity_kind on_what, class SourceMesh , class SourceState , class TargetMesh , template< class, int, class, class > class InterfaceReconstructor = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
|
default |
Destructor.
Member Function Documentation
◆ operator()()
template<int dim, Entity_kind on_what, class SourceMesh , class SourceState , class TargetMesh , template< class, int, class, class > class InterfaceReconstructor = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
|
inline |
Perform the actual swept faces volumes computation.
- Parameters
-
target_id the current target cell index. source_id the related source cell index. stencil current source cell and its immediate neighbors.
- Returns
- : a list of swept faces volume and related source cell pair.
◆ operator=()
template<int dim, Entity_kind on_what, class SourceMesh , class SourceState , class TargetMesh , template< class, int, class, class > class InterfaceReconstructor = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
|
delete |
Assignment operator (disabled).
- Parameters
-
[in] other the intersector to copy.
- Returns
- current intersector reference.
◆ set_material()
template<int dim, Entity_kind on_what, class SourceMesh , class SourceState , class TargetMesh , template< class, int, class, class > class InterfaceReconstructor = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
|
inline |
Set the material we are operating on.
- Parameters
-
m the material ID
◆ toggle_displacement_check()
template<int dim, Entity_kind on_what, class SourceMesh , class SourceState , class TargetMesh , template< class, int, class, class > class InterfaceReconstructor = DummyInterfaceReconstructor, class Matpoly_Splitter = void, class Matpoly_Clipper = void>
|
inline |
Toggle target mesh displacement validity check.
The documentation for this class was generated from the following file:
- /home/portage/portage/portage/intersect/intersect_swept_face.h