Nektar++
|
This processing module calculates the Jacobian of elements using SpatialDomains::GeomFactors and the Element::GetGeom method. For now it simply prints a list of elements which have negative Jacobian. More...
#include <ProcessDetectSurf.h>
Public Member Functions | |
ProcessDetectSurf (MeshSharedPtr m) | |
virtual | ~ProcessDetectSurf () |
virtual void | Process () |
Write mesh to output file. More... | |
Public Member Functions inherited from Nektar::Utilities::ProcessModule | |
ProcessModule () | |
ProcessModule (FieldSharedPtr p_f) | |
ProcessModule (MeshSharedPtr p_m) | |
Public Member Functions inherited from Nektar::Utilities::Module | |
Module (FieldSharedPtr p_f) | |
virtual void | Process (po::variables_map &vm)=0 |
virtual std::string | GetModuleName ()=0 |
void | RegisterConfig (string key, string value) |
Register a configuration option with a module. More... | |
void | PrintConfig () |
Print out all configuration options for a module. More... | |
void | SetDefaults () |
Sets default configuration options for those which have not been set. More... | |
bool | GetRequireEquiSpaced (void) |
void | SetRequireEquiSpaced (bool pVal) |
void | EvaluateTriFieldAtEquiSpacedPts (LocalRegions::ExpansionSharedPtr &exp, const Array< OneD, const NekDouble > &infield, Array< OneD, NekDouble > &outfield) |
Module (MeshSharedPtr p_m) | |
void | RegisterConfig (std::string key, std::string value) |
void | PrintConfig () |
void | SetDefaults () |
MeshSharedPtr | GetMesh () |
virtual void | ProcessVertices () |
Extract element vertices. More... | |
virtual void | ProcessEdges (bool ReprocessEdges=true) |
Extract element edges. More... | |
virtual void | ProcessFaces (bool ReprocessFaces=true) |
Extract element faces. More... | |
virtual void | ProcessElements () |
Generate element IDs. More... | |
virtual void | ProcessComposites () |
Generate composites. More... | |
virtual void | ClearElementLinks () |
Static Public Member Functions | |
static boost::shared_ptr< Module > | create (MeshSharedPtr m) |
Creates an instance of this class. More... | |
Static Public Attributes | |
static ModuleKey | className |
Private Member Functions | |
void | FindContiguousSurface (ElementSharedPtr start, std::set< int > &doneIds, std::vector< ElementSharedPtr > &block) |
Additional Inherited Members | |
Protected Member Functions inherited from Nektar::Utilities::Module | |
Module () | |
void | ReorderPrisms (PerMap &perFaces) |
Reorder node IDs so that prisms and tetrahedra are aligned correctly. More... | |
void | PrismLines (int prism, PerMap &perFaces, std::set< int > &prismsDone, std::vector< ElementSharedPtr > &line) |
Protected Attributes inherited from Nektar::Utilities::Module | |
FieldSharedPtr | m_f |
Field object. More... | |
map< string, ConfigOption > | m_config |
List of configuration values. More... | |
bool | m_requireEquiSpaced |
MeshSharedPtr | m_mesh |
Mesh object. More... | |
std::map< std::string, ConfigOption > | m_config |
List of configuration values. More... | |
This processing module calculates the Jacobian of elements using SpatialDomains::GeomFactors and the Element::GetGeom method. For now it simply prints a list of elements which have negative Jacobian.
Definition at line 52 of file ProcessDetectSurf.h.
Nektar::Utilities::ProcessDetectSurf::ProcessDetectSurf | ( | MeshSharedPtr | m | ) |
Definition at line 54 of file ProcessDetectSurf.cpp.
References Nektar::Utilities::Module::m_config.
|
virtual |
Definition at line 60 of file ProcessDetectSurf.cpp.
|
inlinestatic |
Creates an instance of this class.
Definition at line 56 of file ProcessDetectSurf.h.
References Nektar::MemoryManager< DataType >::AllocateSharedPtr().
|
private |
Definition at line 219 of file ProcessDetectSurf.cpp.
Referenced by Process().
|
virtual |
Write mesh to output file.
Implements Nektar::Utilities::Module.
Definition at line 74 of file ProcessDetectSurf.cpp.
References ASSERTL0, Nektar::LibUtilities::NekFactory< tKey, tBase, >::CreateInstance(), Nektar::LibUtilities::eSegment, FindContiguousSurface(), Nektar::ParseUtils::GenerateSeqVector(), Nektar::NekMeshUtils::GetElementFactory(), Nektar::iterator, Nektar::Utilities::Module::m_config, Nektar::Utilities::Module::m_mesh, and Nektar::NekMeshUtils::surf.
|
static |
Definition at line 60 of file ProcessDetectSurf.h.