38 #include <boost/filesystem.hpp> 39 #include <boost/algorithm/string.hpp> 44 namespace NekMeshUtils
49 ProcessLoadCAD::create,
50 "Loads cad into m_mesh");
55 ConfigOption(
false,
"",
"Generate prisms on these surfs");
59 ConfigOption(
true,
"",
"specifies that the CAD can be multibody");
76 cout <<
"Loading CAD for " << name << endl;
79 string ext = boost::filesystem::extension(name);
81 if(boost::iequals(ext,
".fbm"))
102 m_mesh->m_cad->SetCFIMesh();
107 m_mesh->m_cad->SetVerbose();
#define ASSERTL0(condition, msg)
virtual ~ProcessLoadCAD()
MeshSharedPtr m_mesh
Mesh object.
std::shared_ptr< Mesh > MeshSharedPtr
Shared pointer to a mesh.
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
std::pair< ModuleType, std::string > ModuleKey
Represents a command-line configuration option.
std::map< std::string, ConfigOption > m_config
List of configuration values.
Abstract base class for processing modules.
EngineFactory & GetEngineFactory()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
ModuleFactory & GetModuleFactory()