Nektar++
|
This processing module removes all the high-order information from the mesh leaving just the linear elements. More...
#include <ProcessLinear.h>
Public Member Functions | |
ProcessLinear (NekMeshUtils::MeshSharedPtr m) | |
virtual | ~ProcessLinear () |
virtual void | Process () |
Write mesh to output file. More... | |
Public Member Functions inherited from Nektar::NekMeshUtils::ProcessModule | |
NEKMESHUTILS_EXPORT | ProcessModule (MeshSharedPtr p_m) |
Public Member Functions inherited from Nektar::NekMeshUtils::Module | |
NEKMESHUTILS_EXPORT | Module (MeshSharedPtr p_m) |
NEKMESHUTILS_EXPORT void | RegisterConfig (std::string key, std::string value) |
Register a configuration option with a module. More... | |
NEKMESHUTILS_EXPORT void | PrintConfig () |
Print out all configuration options for a module. More... | |
NEKMESHUTILS_EXPORT void | SetDefaults () |
Sets default configuration options for those which have not been set. More... | |
NEKMESHUTILS_EXPORT MeshSharedPtr | GetMesh () |
virtual NEKMESHUTILS_EXPORT void | ProcessVertices () |
Extract element vertices. More... | |
virtual NEKMESHUTILS_EXPORT void | ProcessEdges (bool ReprocessEdges=true) |
Extract element edges. More... | |
virtual NEKMESHUTILS_EXPORT void | ProcessFaces (bool ReprocessFaces=true) |
Extract element faces. More... | |
virtual NEKMESHUTILS_EXPORT void | ProcessElements () |
Generate element IDs. More... | |
virtual NEKMESHUTILS_EXPORT void | ProcessComposites () |
Generate composites. More... | |
virtual NEKMESHUTILS_EXPORT void | ClearElementLinks () |
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (NekMeshUtils::MeshSharedPtr m) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static NekMeshUtils::ModuleKey | className |
Private Member Functions | |
bool | Invalid (NekMeshUtils::ElementSharedPtr el, NekDouble thr) |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::NekMeshUtils::Module | |
NEKMESHUTILS_EXPORT void | ReorderPrisms (PerMap &perFaces) |
Reorder node IDs so that prisms and tetrahedra are aligned correctly. More... | |
NEKMESHUTILS_EXPORT void | PrismLines (int prism, PerMap &perFaces, std::set< int > &prismsDone, std::vector< ElementSharedPtr > &line) |
Protected Attributes inherited from Nektar::NekMeshUtils::Module | |
MeshSharedPtr | m_mesh |
Mesh object. More... | |
std::map< std::string, ConfigOption > | m_config |
List of configuration values. More... | |
This processing module removes all the high-order information from the mesh leaving just the linear elements.
Definition at line 49 of file ProcessLinear.h.
Nektar::Utilities::ProcessLinear::ProcessLinear | ( | NekMeshUtils::MeshSharedPtr | m | ) |
Definition at line 53 of file ProcessLinear.cpp.
References Nektar::NekMeshUtils::Module::m_config.
|
virtual |
Definition at line 65 of file ProcessLinear.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 53 of file ProcessLinear.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
private |
Definition at line 250 of file ProcessLinear.cpp.
References Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::eFULL, Nektar::NekMeshUtils::GetElementFactory(), Nektar::NekMeshUtils::ElmtConfig::m_e, Nektar::NekMeshUtils::ElmtConfig::m_faceNodes, Nektar::NekMeshUtils::Module::m_mesh, Nektar::NekMeshUtils::ElmtConfig::m_order, Nektar::NekMeshUtils::ElmtConfig::m_reorient, Nektar::NekMeshUtils::ElmtConfig::m_volumeNodes, CellMLToNektar.cellml_metadata::p, Vmath::Vdiv(), Vmath::Vmax(), and Vmath::Vmin().
Referenced by Process().
|
virtual |
Write mesh to output file.
Implements Nektar::NekMeshUtils::Module.
Definition at line 69 of file ProcessLinear.cpp.
References ASSERTL0, Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::FieldUtils::eOutputModule, Nektar::LibUtilities::ePrism, Nektar::FieldUtils::GetModuleFactory(), Invalid(), Nektar::iterator, Nektar::NekMeshUtils::Module::m_config, Nektar::NekMeshUtils::Module::m_mesh, and CG_Iterations::Mesh.
|
static |
Definition at line 57 of file ProcessLinear.h.