Portage::IntersectBoxes< D, SourceMeshType, TargetMeshType, CoordSys > Class Template Reference
#include <intersect_boxes.h>
Public Member Functions | |
IntersectBoxes ()=delete | |
Default constructor (disabled) More... | |
IntersectBoxes (const SourceMeshType &source_mesh, const TargetMeshType &target_mesh) | |
Constructor with meshes. More... | |
IntersectBoxes & | operator= (const IntersectBoxes &)=delete |
Assignment operator (disabled) More... | |
std::vector< Portage::Weights_t > | operator() (const int tgt_cell, const std::vector< int > &src_cells) const |
Intersect control volume of a target box with control volumes of a set of source boxes. More... | |
Detailed Description
template<int D, typename SourceMeshType, typename TargetMeshType, class CoordSys = Wonton::DefaultCoordSys>
class Portage::IntersectBoxes< D, SourceMeshType, TargetMeshType, CoordSys >
for axis-aligned boxes
It is assumed that both boxes are axis-aligned and in the same geometry. For example, this will work for two axis-aligned cells in 2D axis-aligned cylindrical geometry, but it cannot intersect a 3D axis-aligned box in Cartesian coordinates with a 3D axis-aligned box in spherical coordinates.
Constructor & Destructor Documentation
◆ IntersectBoxes() [1/2]
template<int D, typename SourceMeshType , typename TargetMeshType , class CoordSys = Wonton::DefaultCoordSys>
|
delete |
Default constructor (disabled)
◆ IntersectBoxes() [2/2]
template<int D, typename SourceMeshType , typename TargetMeshType , class CoordSys = Wonton::DefaultCoordSys>
|
inline |
Constructor with meshes.
Member Function Documentation
◆ operator()()
template<int D, typename SourceMeshType , typename TargetMeshType , class CoordSys >
std::vector< Portage::Weights_t > Portage::IntersectBoxes< D, SourceMeshType, TargetMeshType, CoordSys >::operator() | ( | const int | tgt_cell, |
const std::vector< int > & | src_cells | ||
) | const |
Intersect control volume of a target box with control volumes of a set of source boxes.
- Parameters
-
[in] tgt_cell Entity of target mesh to intersect [in] src_cells Entities of source mesh to intersect against
- Returns
- vector of Weights_t structure containing moments of intersection
◆ operator=()
template<int D, typename SourceMeshType , typename TargetMeshType , class CoordSys = Wonton::DefaultCoordSys>
|
delete |
Assignment operator (disabled)
The documentation for this class was generated from the following file:
- /home/portage/portage/portage/intersect/intersect_boxes.h