AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
axom::quest::detail::InOutOctreeMeshDumper< DIM > Class Template Reference

#include </home/docs/checkouts/readthedocs.org/user_builds/axom/checkouts/v0.5.0/src/axom/quest/InOutOctree.hpp>

Public Types

using InOutOctreeType = InOutOctree< DIM >
 
using TriangleIndexSet = typename InOutOctreeType::TriangleIndexSet
 
using OctreeBaseType = typename InOutOctreeType::OctreeBaseType
 
using OctreeLevels = typename OctreeBaseType::OctreeLevels
 
using BlockIndex = typename OctreeBaseType::BlockIndex
 
using SpacePt = typename InOutOctreeType::SpacePt
 
using GridPt = typename InOutOctreeType::GridPt
 
using VertexIndex = typename InOutOctreeType::VertexIndex
 
using TriangleIndex = typename InOutOctreeType::TriangleIndex
 
using TriVertIndices = typename InOutOctreeType::MeshWrapper::TriVertIndices
 
using GeometricBoundingBox = typename InOutOctreeType::GeometricBoundingBox
 
using SpaceTriangle = typename InOutOctreeType::SpaceTriangle
 
using LeafVertMap = slam::Map< slam::Set< VertexIndex >, VertexIndex >
 
using LeafIntMap = slam::Map< slam::Set< axom::IndexType >, axom::IndexType >
 
using LeafGridPtMap = slam::Map< slam::Set< axom::IndexType >, GridPt >
 
using DebugMesh = mint::UnstructuredMesh< mint::MIXED_SHAPE >
 
using ColorsMap = std::map< InOutBlockData::LeafColor, int >
 
using GridPtHash = spin::PointHash< typename GridPt::CoordType >
 
using GridIntMap = std::unordered_map< GridPt, int, GridPtHash >
 

Public Member Functions

 InOutOctreeMeshDumper (const InOutOctreeType &octree)
 
void dumpDifferentColoredNeighborsMeshVTK (const std::string &name) const
 
void dumpLocalOctreeMeshesForVertex (const std::string &name, VertexIndex vIdx) const
 
void dumpLocalOctreeMeshesForTriangle (const std::string &name, TriangleIndex tIdx) const
 
void dumpLocalOctreeMeshesForBlock (const std::string &name, const BlockIndex &block) const
 
void dumpOctreeMeshVTK (const std::string &name) const
 
void dumpTriMeshVTK (const std::string &name) const
 

Member Typedef Documentation

◆ InOutOctreeType

◆ TriangleIndexSet

◆ OctreeBaseType

◆ OctreeLevels

template<int DIM>
using axom::quest::detail::InOutOctreeMeshDumper< DIM >::OctreeLevels = typename OctreeBaseType::OctreeLevels

◆ BlockIndex

template<int DIM>
using axom::quest::detail::InOutOctreeMeshDumper< DIM >::BlockIndex = typename OctreeBaseType::BlockIndex

◆ SpacePt

◆ GridPt

◆ VertexIndex

◆ TriangleIndex

◆ TriVertIndices

◆ GeometricBoundingBox

◆ SpaceTriangle

◆ LeafVertMap

◆ LeafIntMap

◆ LeafGridPtMap

◆ DebugMesh

◆ ColorsMap

template<int DIM>
using axom::quest::detail::InOutOctreeMeshDumper< DIM >::ColorsMap = std::map<InOutBlockData::LeafColor, int>

◆ GridPtHash

template<int DIM>
using axom::quest::detail::InOutOctreeMeshDumper< DIM >::GridPtHash = spin::PointHash<typename GridPt::CoordType>

◆ GridIntMap

template<int DIM>
using axom::quest::detail::InOutOctreeMeshDumper< DIM >::GridIntMap = std::unordered_map<GridPt, int, GridPtHash>

Constructor & Destructor Documentation

◆ InOutOctreeMeshDumper()

Member Function Documentation

◆ dumpDifferentColoredNeighborsMeshVTK()

template<int DIM>
void axom::quest::detail::InOutOctreeMeshDumper< DIM >::dumpDifferentColoredNeighborsMeshVTK ( const std::string &  name) const
inline

Generates a hexahedral VTK mesh with all neighboring blocks where one is inside and the other is outside

Note
By construction, there should be no such pairs in a valid InOutOctree mesh.

References axom::quest::InOutBlockData::Black, axom::quest::InOutBlockData::color(), axom::quest::InOutBlockData::Gray, SLIC_INFO, axom::quest::InOutBlockData::Undetermined, and axom::quest::InOutBlockData::White.

Referenced by axom::quest::InOutOctree< DIM >::within().

◆ dumpLocalOctreeMeshesForVertex()

template<int DIM>
void axom::quest::detail::InOutOctreeMeshDumper< DIM >::dumpLocalOctreeMeshesForVertex ( const std::string &  name,
VertexIndex  vIdx 
) const
inline

◆ dumpLocalOctreeMeshesForTriangle()

template<int DIM>
void axom::quest::detail::InOutOctreeMeshDumper< DIM >::dumpLocalOctreeMeshesForTriangle ( const std::string &  name,
TriangleIndex  tIdx 
) const
inline

◆ dumpLocalOctreeMeshesForBlock()

template<int DIM>
void axom::quest::detail::InOutOctreeMeshDumper< DIM >::dumpLocalOctreeMeshesForBlock ( const std::string &  name,
const BlockIndex block 
) const
inline

◆ dumpOctreeMeshVTK()

template<int DIM>
void axom::quest::detail::InOutOctreeMeshDumper< DIM >::dumpOctreeMeshVTK ( const std::string &  name) const
inline

Generates a hexahedral VTK mesh with all octree blocks

References SLIC_INFO.

Referenced by axom::quest::InOutOctree< DIM >::within().

◆ dumpTriMeshVTK()


The documentation for this class was generated from the following file: