29 #ifndef NEMOSYS_AUTOVERIFICATIONDRIVER_H_ 30 #define NEMOSYS_AUTOVERIFICATIONDRIVER_H_ 32 #include "nemosys_export.h" 58 Files(std::string coarseMesh, std::string fineMesh,
59 std::string finerMesh);
60 std::string coarseMeshFile{};
61 std::string fineMeshFile{};
62 std::string finerMeshFile{};
63 JSONCONS_TYPE_TRAITS_FRIEND
68 struct NEMOSYS_EXPORT
Opts {
74 explicit Opts(std::vector<int> arrayIds);
85 std::string transferType{
"Consistent Interpolation"};
89 double targetGCI{1.1};
94 jsoncons::optional<int> numThreads{};
95 JSONCONS_TYPE_TRAITS_FRIEND
102 const Files &getFiles()
const;
103 void setFiles(
Files files);
104 const Opts &getOpts()
const;
105 void setOpts(
Opts opts);
106 void execute()
const override;
108 JSONCONS_TYPE_TRAITS_FRIEND
113 jsoncons::string_view getProgramType()
const override;
122 #endif // NEMOSYS_AUTOVERIFICATIONDRIVER_H_
std::vector< int > arrayIds
field ids for which we will evaluate the grid convergence index (GCI)
This class drives the automatic verification (AV) in Nemosys.
static constexpr auto programType