29 #ifndef NEMOSYS_GMSHTOEXOCONVERSIONDRIVER_H_ 30 #define NEMOSYS_GMSHTOEXOCONVERSIONDRIVER_H_ 32 #include "nemosys_export.h" 45 std::string taskFile{};
46 JSONCONS_TYPE_TRAITS_FRIEND
53 explicit MeshData(std::string meshFile);
54 std::string meshFileName{};
55 std::string meshName{
"default"};
57 bool makeFreeSurfSS{
false};
58 bool splitTopBotSS{
false};
59 std::vector<std::string> sideSetNames{};
60 std::map<std::string, std::string> elmBlkNames{};
61 jsoncons::optional<std::string> addGlobalNodeSet{};
62 JSONCONS_TYPE_TRAITS_FRIEND
67 struct NEMOSYS_EXPORT
Opts {
69 Opts(
int numMeshes, std::vector<MeshData> meshData,
bool needsPostProc);
71 std::vector<MeshData> meshData{};
74 std::vector<PostProcTask> tasks{};
75 JSONCONS_TYPE_TRAITS_FRIEND
78 static constexpr
const char *methodName =
"GMSH->EXO";
83 const Files &getFiles()
const;
84 void setFiles(
Files file);
85 const Opts &getOpts()
const;
86 void setOpts(
Opts opts);
87 void execute()
const override;
89 JSONCONS_TYPE_TRAITS_FRIEND
101 #endif // NEMOSYS_GMSHTOEXOCONVERSIONDRIVER_H_