Namespaces | |
EXOMesh | |
Classes | |
class | dataSetRegionBoundaryFilter |
Like vtkDataSetRegionSurfaceFilter, this filter extracts boundaries of materials, including both interfaces and external boundaries. More... | |
class | exoGeoMesh |
A concrete implementation of geoMeshBase representing an Exodus II mesh. More... | |
class | foamGeoMesh |
A concrete implementation of geoMeshBase representing a mesh in a fvMesh . More... | |
class | geoMeshBase |
abstract class to specify geometry and mesh data More... | |
class | gmshGeoMesh |
A concrete implementation of geoMeshBase representing a Gmsh mesh. More... | |
class | GmshInterface |
management class for Gmsh interface More... | |
class | inpGeoMesh |
Class representing meshes in CalculiX input deck (similar to ABAQUS) More... | |
class | mergeCells |
class | OmegaHInterface |
management class for Omega_h::Library More... | |
class | oshGeoMesh |
A concrete implementation of geoMeshBase representing a Omega_h::Mesh . More... | |
struct | SM_StdContainerWrapperFromIter |
class | smeshGeoMesh |
class | vtkGeoMesh |
A concrete implementation of geoMeshBase representing a mesh in a vtkUnstructuredGrid . More... | |
Typedefs | |
using | nemId_t = std::int64_t |
Functions | |
bool | is_close (double val1, double val2, double floor, double rel_tol) |
int | diffMesh (geoMeshBase *gmb1, geoMeshBase *gmb2, double floor=1e-9, double relTol=1e-6, double numCellsTol=-1., double numPointsTol=-1.) |
Compare two geoMeshBase objects. More... | |
vtkStandardNewMacro (exoGeoMesh) | |
vtkStandardNewMacro (foamGeoMesh) | |
MeshType | MeshTypeFromFilename (const std::string &fileName) |
geoMeshBase * | Read (const std::string &fileName) |
Read a mesh from file. More... | |
geoMeshBase * | Read (const std::string &fileName, MeshType type) |
Read a mesh from file. More... | |
geoMeshBase * | New (MeshType type) |
Create a new mesh object. More... | |
geoMeshBase * | New (const std::string &fileName) |
Create a new mesh object. More... | |
vtkStandardNewMacro (gmshGeoMesh) | |
vtkStandardNewMacro (inpGeoMesh) | |
vtkStandardNewMacro (oshGeoMesh) | |
VTKCellType | getVTKTypeFromOmega_hFamilyDim (Omega_h_Family family, Omega_h::Int dim) |
Omega_h_Family | getOmega_hFamilyFromVTKType (VTKCellType vtkCellType) |
Omega_h::Int | getOmega_hDimFromVTKType (VTKCellType vtkCellType) |
template<typename OT , typename VT > | |
void | Otag2Varray (const Omega_h::TagBase *tagBase, VT *vtkArray) |
void | getVtkDataArrayFromOmega_hTag (const Omega_h::TagBase *tagBase, vtkSmartPointer< vtkDataArray > &vtkArray) |
int | oshFace2vtkFace (int oshFace, Omega_h_Family oshFamily, Omega_h::Int oshDim) |
template<typename VT , typename OT > | |
void | Varray2Otag (Omega_h::Mesh *oshMesh, VT *vtkArray, Omega_h::Int oshDim) |
template<typename VT > | |
void | Varray2Otag2 (Omega_h::Mesh *oshMesh, VT *vtkArray, Omega_h::Int oshDim) |
void | getOmega_hArrayFromVtkDataArray (Omega_h::Mesh *oshMesh, vtkSmartPointer< vtkDataArray > &vtkArray, Omega_h::Int oshDim) |
vtkStandardNewMacro (smeshGeoMesh) | |
mesh_ (gen_->CreateMesh(false)) | |
template<class PtrSMDSIterator , class VALUE = typename std::decay< PtrSMDSIterator>::type::element_type::value_type, class EqualVALUE = std::equal_to<VALUE>> | |
SM_StdContainerWrapperFromIter< typename std::decay< PtrSMDSIterator >::type, VALUE, EqualVALUE > | containerWrapper (PtrSMDSIterator &&iter) |
vtkStandardNewMacro (vtkGeoMesh) | |
vtkStandardNewMacro (dataSetRegionBoundaryFilter) | |
vtkStandardNewMacro (mergeCells) | |
using NEM::MSH::nemId_t = typedef std::int64_t |
Definition at line 56 of file geoMeshBase.H.
SM_StdContainerWrapperFromIter<typename std::decay<PtrSMDSIterator>::type, VALUE, EqualVALUE> NEM::MSH::containerWrapper | ( | PtrSMDSIterator && | iter | ) |
Definition at line 57 of file smeshUtils.H.
References NEM::MSH::SM_StdContainerWrapperFromIter< PtrSMDSIterator, VALUE, EqualVALUE >::iter.
Referenced by NEM::SRV::NucMeshSrv::FillOutputPortInformation(), NEM::NUCMESH::GroupData::setupAlgos(), and NEM::MSH::smeshGeoMesh::SmeshToGM().
NEMOSYS_EXPORT int NEM::MSH::diffMesh | ( | geoMeshBase * | gmb1, |
geoMeshBase * | gmb2, | ||
double | floor = 1e-9 , |
||
double | relTol = 1e-6 , |
||
double | numCellsTol = -1. , |
||
double | numPointsTol = -1. |
||
) |
gmb1 | Reference geoMeshBase |
gmb2 | Other geoMeshBase |
floor | If a floating point value is less than or equal to floor , it is treated as 0. Should be non-negative |
relTol | Relative tolerance for comparing floating point values |
numCellsTol | Tolerance for number of cells, if positive. If non-positive, exact match required for number of cells and cell data compared at each cell. |
numPointsTol | Tolerance for number of points, if positive. If non-positive, exact match required for number of points and point data compared at each cell. |
gmb1
and gmb2
are similar; 1 otherwise Definition at line 51 of file diffMesh.C.
References NEM::MSH::geoMeshBase::getCell(), NEM::MSH::geoMeshBase::getCellDataArrayCopy(), NEM::MSH::geoMeshBase::getGeoEntArrayName(), NEM::MSH::geoMeshBase::getNumberOfCellDataArrays(), NEM::MSH::geoMeshBase::getNumberOfCells(), NEM::MSH::geoMeshBase::getNumberOfPointDataArrays(), NEM::MSH::geoMeshBase::getNumberOfPoints(), NEM::MSH::geoMeshBase::getPoint(), NEM::MSH::geoMeshBase::getPointDataArrayCopy(), and is_close().
void NEM::MSH::getOmega_hArrayFromVtkDataArray | ( | Omega_h::Mesh * | oshMesh, |
vtkSmartPointer< vtkDataArray > & | vtkArray, | ||
Omega_h::Int | oshDim | ||
) |
Omega_h::Int NEM::MSH::getOmega_hDimFromVTKType | ( | VTKCellType | vtkCellType | ) |
Omega_h_Family NEM::MSH::getOmega_hFamilyFromVTKType | ( | VTKCellType | vtkCellType | ) |
void NEM::MSH::getVtkDataArrayFromOmega_hTag | ( | const Omega_h::TagBase * | tagBase, |
vtkSmartPointer< vtkDataArray > & | vtkArray | ||
) |
Definition at line 272 of file oshGeoMesh.C.
References New().
Referenced by NEM::MSH::oshGeoMesh::osh2GM().
VTKCellType NEM::MSH::getVTKTypeFromOmega_hFamilyDim | ( | Omega_h_Family | family, |
Omega_h::Int | dim | ||
) |
bool NEM::MSH::is_close | ( | double | val1, |
double | val2, | ||
double | floor, | ||
double | rel_tol | ||
) |
Definition at line 43 of file diffMesh.C.
Referenced by diffMesh().
NEM::MSH::mesh_ | ( | gen_-> | CreateMeshfalse | ) |
Definition at line 123 of file smeshGeoMesh.C.
References NEM::MSH::geoMeshBase::report(), NEM::MSH::geoMeshBase::write(), and NEM::MSH::smeshGeoMesh::~smeshGeoMesh().
MeshType NEM::MSH::MeshTypeFromFilename | ( | const std::string & | fileName | ) |
Definition at line 53 of file geoMeshFactory.C.
References EXO_GEO_MESH, nemAux::find_ext(), FOAM_GEO_MESH, GMSH_GEO_MESH, INP_GEO_MESH, OSH_GEO_MESH, and VTK_GEO_MESH.
Referenced by New(), and Read().
NEMOSYS_EXPORT geoMeshBase * NEM::MSH::New | ( | MeshType | type | ) |
type | type of mesh |
Definition at line 116 of file geoMeshFactory.C.
References EXO_GEO_MESH, FOAM_GEO_MESH, GMSH_GEO_MESH, INP_GEO_MESH, NEM::MSH::gmshGeoMesh::New(), NEM::MSH::vtkGeoMesh::New(), NEM::MSH::smeshGeoMesh::New(), NEM::MSH::foamGeoMesh::New(), NEM::MSH::exoGeoMesh::New(), NEM::MSH::inpGeoMesh::New(), NEM::MSH::oshGeoMesh::New(), OSH_GEO_MESH, SMESH_GEO_MESH, and VTK_GEO_MESH.
Referenced by MeshManipulationFoam::addArtificialThicknessElements(), NEM::MSH::exoGeoMesh::addCellsToBlock(), MeshManipulationFoam::addCohesiveElements(), NEM::MSH::exoGeoMesh::addElemBlock(), NEM::MSH::mergeCells::AddNewCellsDataSet(), NEM::MSH::mergeCells::AddNewCellsUnstructuredGrid(), NEM::MSH::exoGeoMesh::addSideSet(), meshSrch::buildCellLocator(), meshBase::buildStaticCellLocator(), meshBase::buildStaticPointLocator(), Foam::AMRFoam::checkForMotion(), meshSrch::chkDuplElm(), COBALT::cobalt::cobalt(), OrderOfAccuracy::computeDiff(), NEM::ADP::GradSizeField::computeL2GradAtAllCells(), PatchRecovery::computeNodalError(), OrderOfAccuracy::computeRichardsonExtrapolation(), NEM::ADP::Z2ErrorSizeField::computeSizeField(), NEM::ADP::GradSizeField::computeSizeField(), NEM::ADP::ValSizeField::computeSizeField(), ConservativeVolumeTransfer::ConservativeVolumeTransfer(), GaussCubature::constructGaussMesh(), meshBase::convertHexToTetVTK(), meshBase::convertQuads(), ConservativeVolumeTransfer::convertSupermeshToUnstructuredGrid(), NEM::GEO::rocPack::createCohesiveElements(), NEM::GEO::rocPack::createVtkCell(), diffMesh(), NEM::DRV::SmartConversionDriver::execute(), NEM::DRV::CFMeshMeshGenDriver::execute(), NEM::DRV::NucMeshDriver::execute(), NEM::DRV::OmegahRefineDriver::execute(), NEM::DRV::HexPackMeshDriver::execute(), NEM::MSH::exoGeoMesh::exoReader2GM(), meshBase::exportExoToVtk(), meshBase::exportGmshToVtk(), meshBase::exportPntToVtk(), cgnsAnalyzer::exportToVTKMesh(), hdf5Reader::exportToVTKMesh(), meshBase::exportVolToVtk(), meshBase::extractSelectedCells(), vtkMesh::extractSurface(), FOAM::foamMesh::extractSurface(), ConservativeVolumeTransfer::extractSurface(), FETransfer::FETransfer(), meshSrch::FindCellsInPolyData(), meshSrch::FindCellsInSphere(), meshSrch::FindCellsInTriSrf(), meshSrch::FindCellsWithinBounds(), meshSrch::FindPntsOnEdge(), meshSrch::FindPntsOnTriSrf(), NEM::MSH::foamGeoMesh::foam2GM(), NEM::DRV::ConversionDriver::freeSurfaceSideSet(), selectEnclosedPoints::fromDataSet(), NEM::DRV::ConversionDriver::genExo(), NEM::MSH::geoMeshBase::geoMeshBase(), proteusHdf5::getBoundarySideSets(), FOAM::foamMesh::getCell(), vtkMesh::getCell(), meshSrch::getCellVec(), FOAM::foamMesh::getCellVec(), vtkMesh::getCellVec(), FETransfer::getClosestSourceCell(), NEM::MSH::exoGeoMesh::getExoReader(), cgnsAnalyzer::getSectionMesh(), NEM::MSH::exoGeoMesh::getSS(), MeshQuality::getStats(), getVtkDataArrayFromOmega_hTag(), NEM::MSH::foamGeoMesh::GM2foam(), NEM::MSH::oshGeoMesh::GM2osh(), NEM::MSH::gmshGeoMesh::gmsh2GM(), NEM::MSH::inpGeoMesh::inp2GM(), FOAM::foamMesh::inspectEdges(), vtkMesh::inspectEdges(), GaussCubature::integrateOverAllCells(), ConservativeVolumeTransfer::interpolateCellDataToPoints(), GaussCubature::interpolateToGaussPoints(), NEM::MSH::mergeCells::MapPointsToIdsUsingGlobalIds(), NEM::MSH::mergeCells::MapPointsToIdsUsingLocator(), vtkMesh::merge(), NEM::MSH::geoMeshBase::mergeGeoMesh(), NEM::DRV::MeshGenDriver::MeshGenDriver(), meshPartitioner::meshPartitioner(), MeshQuality::MeshQuality(), New(), NEM::MSH::oshGeoMesh::osh2GM(), meshBase::partition(), PATRAN::patran::patran(), MeshManipulationFoam::periodicMeshMapper(), PNTMesh::pntMesh::pntPopulate(), proteusHdf5::proteusHdf5(), gmshMesh::read(), ReadALegacyVTKFile(), ReadAnXMLOrSTLFile(), ReadDegenerateVTKFile(), readLegacyVTKCells(), readLegacyVTKData(), readLegacyVTKFieldData(), NEM::MSH::exoGeoMesh::reconstructGeo(), PatchRecovery::recoverNodalSolution(), NEM::MSH::dataSetRegionBoundaryFilter::RequestData(), NEM::MSH::gmshGeoMesh::resetNative(), NEM::MSH::exoGeoMesh::resetNative(), NEM::MSH::exoGeoMesh::scaleNodes(), vtkMesh::setCellDataArray(), vtkMesh::setPointDataArray(), NEM::MSH::exoGeoMesh::setSideSetObjId(), NEM::MSH::mergeCells::StartUGrid(), NEM::MSH::exoGeoMesh::stitch(), meshBase::stitchMB(), NEM::MSH::oshGeoMesh::takeGeoMesh(), NEM::MSH::exoGeoMesh::takeGeoMesh(), NEM::MSH::geoMeshBase::takeGeoMesh(), ConservativeVolumeTransfer::transfer(), FETransfer::transferCellData(), ConservativeSurfaceTransfer::transferPointData(), FETransfer::transferPointData(), NEM::MSH::vtkGeoMesh::vtk2GM(), vtkMesh::vtkMesh(), vtkStandardNewMacro(), COBALT::cobalt::write(), NEM::MSH::vtkGeoMesh::write(), gmshMesh::write(), FOAM::foamMesh::write(), PATRAN::patran::write2(), PATRAN::patran::write6(), PATRAN::patran::write8(), meshBase::writeCobalt(), and writeVTFile().
NEMOSYS_EXPORT geoMeshBase * NEM::MSH::New | ( | const std::string & | fileName | ) |
Determines mesh type from file extension.
fileName | name of file |
Definition at line 152 of file geoMeshFactory.C.
References MeshTypeFromFilename(), and New().
int NEM::MSH::oshFace2vtkFace | ( | int | oshFace, |
Omega_h_Family | oshFamily, | ||
Omega_h::Int | oshDim | ||
) |
void NEM::MSH::Otag2Varray | ( | const Omega_h::TagBase * | tagBase, |
VT * | vtkArray | ||
) |
Definition at line 259 of file oshGeoMesh.C.
NEMOSYS_EXPORT geoMeshBase * NEM::MSH::Read | ( | const std::string & | fileName | ) |
Determines mesh type from file extension.
fileName | name of file |
Definition at line 76 of file geoMeshFactory.C.
References MeshTypeFromFilename().
Referenced by MeshManipulationFoam::addArtificialThicknessElements(), MeshManipulationFoam::addCohesiveElements(), cfmeshGen::createMeshFromSTL(), snappymeshGen::createMeshFromSTL(), blockMeshGen::createMeshFromSTL(), NEM::DRV::SmartConversionDriver::execute(), NEM::DRV::OmegahRefineDriver::execute(), NEM::DRV::HexPackMeshDriver::execute(), NEM::MSH::exoGeoMesh::getSS(), and MeshManipulationFoam::periodicMeshMapper().
NEMOSYS_EXPORT geoMeshBase * NEM::MSH::Read | ( | const std::string & | fileName, |
MeshType | type | ||
) |
fileName | name of file |
type | type of mesh |
Definition at line 80 of file geoMeshFactory.C.
References EXO_GEO_MESH, FOAM_GEO_MESH, GMSH_GEO_MESH, INP_GEO_MESH, OSH_GEO_MESH, NEM::MSH::inpGeoMesh::Read(), SMESH_GEO_MESH, and VTK_GEO_MESH.
void NEM::MSH::Varray2Otag | ( | Omega_h::Mesh * | oshMesh, |
VT * | vtkArray, | ||
Omega_h::Int | oshDim | ||
) |
void NEM::MSH::Varray2Otag2 | ( | Omega_h::Mesh * | oshMesh, |
VT * | vtkArray, | ||
Omega_h::Int | oshDim | ||
) |
Definition at line 533 of file oshGeoMesh.C.
References Varray2Otag().
NEM::MSH::vtkStandardNewMacro | ( | vtkGeoMesh | ) |
Definition at line 54 of file vtkGeoMesh.C.
References nemAux::find_ext(), New(), and NEM::MSH::vtkGeoMesh::vtkGeoMesh().
NEM::MSH::vtkStandardNewMacro | ( | mergeCells | ) |
Definition at line 59 of file mergeCells.C.
NEM::MSH::vtkStandardNewMacro | ( | foamGeoMesh | ) |
Definition at line 63 of file foamGeoMesh.C.
References NEM::MSH::foamGeoMesh::foam2GM(), and NEM::MSH::foamGeoMesh::foamGeoMesh().
NEM::MSH::vtkStandardNewMacro | ( | oshGeoMesh | ) |
Definition at line 73 of file oshGeoMesh.C.
References NEM::MSH::OmegaHInterface::GetLibrary().
NEM::MSH::vtkStandardNewMacro | ( | gmshGeoMesh | ) |
Definition at line 98 of file gmshGeoMesh.C.
References NEM::MSH::gmshGeoMesh::gmshGeoMesh(), and NEM::MSH::GmshInterface::Initialize().
NEM::MSH::vtkStandardNewMacro | ( | smeshGeoMesh | ) |
Definition at line 120 of file smeshGeoMesh.C.
NEM::MSH::vtkStandardNewMacro | ( | dataSetRegionBoundaryFilter | ) |
Definition at line 246 of file dataSetRegionBoundaryFilter.C.
NEM::MSH::vtkStandardNewMacro | ( | exoGeoMesh | ) |
Definition at line 247 of file exoGeoMesh.C.
References NEM::MSH::exoGeoMesh::exoGeoMesh().
NEM::MSH::vtkStandardNewMacro | ( | inpGeoMesh | ) |
Definition at line 593 of file inpGeoMesh.C.