35 #ifndef NekMeshUtils_CADSYSTEM_CFI_CADSYSTEMCFI 36 #define NekMeshUtils_CADSYSTEM_CFI_CADSYSTEMCFI 38 #include "../CADSystem.h" 40 #include "cadfixapi.hxx" 44 namespace NekMeshUtils
55 static std::string
key;
91 void AddVert(
int i, cfi::Point *in);
93 void AddSurf(
int i, cfi::Face *in);
Base class for CAD interface system.
std::shared_ptr< CADSystem > CADSystemSharedPtr
std::map< std::string, int > GetCFIFaceId()
cfi::Model * GetCFIModel()
std::map< std::string, int > GetCFIVertId()
void AddCurve(int i, cfi::Line *in)
std::map< std::string, int > nameToCurveId
std::map< std::string, int > GetCFICurveId()
void AddSurf(int i, cfi::Face *in)
std::shared_ptr< CADSystemCFI > CADSystemCFISharedPtr
bool LoadCAD()
Initialises CAD and makes surface, curve and vertex maps.
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
std::map< std::string, int > nameToVertId
std::map< std::string, std::vector< std::string > > mapVertToListEdge
Array< OneD, NekDouble > GetBoundingBox()
Returns bounding box of the domain.
std::map< std::string, int > nameToFaceId
void AddVert(int i, cfi::Point *in)
CADSystemCFI(std::string name)
Default constructor.
static CADSystemSharedPtr create(std::string name)
std::vector< cfi::Body *> bodies