29 #ifndef NEMOSYS_MESHQUALITYDRIVER_H_ 30 #define NEMOSYS_MESHQUALITYDRIVER_H_ 32 #include "nemosys_export.h" 44 JSONCONS_TYPE_TRAITS_FRIEND
47 jsoncons::string_view getProgramType()
const override;
54 Files(std::string input, std::string output);
55 std::string inputMeshFile{};
56 std::string outputFile{};
57 JSONCONS_TYPE_TRAITS_FRIEND
63 const Files &getFiles()
const;
64 void setFiles(
Files files);
66 JSONCONS_TYPE_TRAITS_FRIEND
73 void execute()
const override;
76 struct NEMOSYS_NO_EXPORT
Opts {
77 static constexpr
const char *meshQualityEngine =
"default";
81 static Opts getOpts();
90 const std::vector<cfmeshQualityParams> &getParams()
const;
91 void setParams(std::vector<cfmeshQualityParams> params);
93 void execute()
const override;
95 JSONCONS_TYPE_TRAITS_FRIEND
101 struct NEMOSYS_NO_EXPORT
Opts {
103 explicit Opts(std::vector<cfmeshQualityParams> params);
106 std::vector<cfmeshQualityParams> params{};
107 JSONCONS_TYPE_TRAITS_FRIEND
110 static constexpr
const char *meshQualityEngine =
"cfmesh";
115 const Opts &getOpts()
const;
116 void setOpts(
Opts opts);
123 #endif // NEMOSYS_MESHQUALITYDRIVER_H_
static constexpr auto programType