29 #ifndef NEMOSYS_VTKTOPATRANCONVERSIONDRIVER_H_ 30 #define NEMOSYS_VTKTOPATRANCONVERSIONDRIVER_H_ 32 #include "nemosys_export.h" 53 JSONCONS_TYPE_TRAITS_FRIEND
61 virtual jsoncons::string_view getBCType()
const = 0;
66 FaceBC(
int patchNum,
int rocFracFSIType);
72 JSONCONS_TYPE_TRAITS_FRIEND
75 static constexpr
const char *bcType =
"Face";
76 jsoncons::string_view getBCType()
const override;
81 NodeBC(
int patchNum,
int rocfracControlType,
bool structural,
82 bool meshMotion,
bool thermal);
83 int rocfracControlType{};
96 JSONCONS_TYPE_TRAITS_FRIEND
99 static constexpr
const char *bcType =
"Node";
100 jsoncons::string_view getBCType()
const override;
105 Opts(std::vector<std::shared_ptr<BoundaryCond>> bcInfo,
106 std::vector<int> nodePatchPreference);
107 std::vector<std::shared_ptr<BoundaryCond>> bcInfo{};
112 std::vector<int> nodePatchPreference{};
113 JSONCONS_TYPE_TRAITS_FRIEND
116 static constexpr
const char *methodName =
"VTK->PATRAN";
121 const Files &getFiles()
const;
122 void setFiles(
Files files);
123 const Opts &getOpts()
const;
124 void setOpts(
Opts opts);
125 void execute()
const override;
127 JSONCONS_TYPE_TRAITS_FRIEND
139 #endif // NEMOSYS_VTKTOPATRANCONVERSIONDRIVER_H_
PATRAN specific BC information.