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)
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
tBaseSharedPtr CreateInstance(tKey idKey, tParam... args)
Create an instance of the class referred to by idKey.
MeshSharedPtr m_mesh
Mesh object.
std::map< std::string, ConfigOption > m_config
List of configuration values.
virtual ~ProcessLoadCAD()
Abstract base class for processing modules.
std::pair< ModuleType, std::string > ModuleKey
ModuleFactory & GetModuleFactory()
std::shared_ptr< Mesh > MeshSharedPtr
Shared pointer to a mesh.
EngineFactory & GetEngineFactory()
Represents a command-line configuration option.