29 #ifndef NEMOSYS_DRIVERJSONTYPETRAITS_H_ 30 #define NEMOSYS_DRIVERJSONTYPETRAITS_H_ 32 #include <jsoncons/json.hpp> 46 # define IF_CGNS(a) a, 53 # define IF_EPIC(a) a, 59 #if defined(HAVE_HDF5) && defined(HAVE_GMSH) 60 # define IF_HDF5_GMSH(a) a, 63 # define IF_HDF5_GMSH(a) 66 #ifdef HAVE_TEMPLATE_MESH 67 # define IF_TEMPLATE_MESH(a) a, 70 # define IF_TEMPLATE_MESH(a) 85 static constexpr
auto meshFiles =
"Mesh File Options";
87 static constexpr
auto inGeoFile =
"Input Geometry File";
89 static constexpr
auto bmParams =
"blockMesh Parameters";
90 static constexpr
auto smParams =
"snappyHexMesh Parameters";
122 template <
typename Json>
123 struct json_type_traits<Json, void *> {
124 static constexpr
bool is(
const Json &ajson) {
return false; }
125 static void *as(
const Json &ajson) {
return nullptr; }
126 static Json to_json(
const void *&aval) {
return Json::null(); }
129 struct is_json_type_traits_declared<void *> :
public std::true_type {};
135 #undef IF_TEMPLATE_MESH 141 #if defined(HAVE_HDF5) && defined(HAVE_GMSH) 147 #ifdef HAVE_TEMPLATE_MESH 161 #endif // NEMOSYS_DRIVERJSONTYPETRAITS_H_
Driver to read Proteus output.
#define NEM_JSON_CHECK_KEY_ONLY(x)
static constexpr auto inGeoFile
static constexpr auto inMeshFile
static constexpr auto outMeshFile
static constexpr auto bmParams
This class drives the flow of pack meshing by using parameters provided by users. ...
This class drives the automatic verification (AV) in Nemosys.
static constexpr auto smParams
Driver class to generate meshes according to a template.
#define IF_TEMPLATE_MESH(a)
static constexpr auto programType
#define NEM_JSON_WRAP_SMART_PTR(BaseClass, PointerTempl)
Class to create 2d geometry from polygons and circles and mesh it.
static constexpr auto meshFiles
#define NEM_JSON_N_GETTER_SETTER_NAME_TRAITS_BASE(BaseClass, ChildClasses, NumMandatoryParams,...)