Classes | |
struct | colorMapPair |
struct | function_traits |
struct | function_traits< R(*)(Args...)> |
struct | function_traits< R(Args...)> |
struct | function_traits< R(T::*)(Args...)> |
Typedefs | |
template<typename T > | |
using | first_argument_type = typename std::tuple_element< 0, typename function_traits< T >::argument_types >::type |
Functions | |
std::vector< PNTMesh::surfaceBCTag > | pntMeshBcTagFromJSON (const std::string &input) |
std::string | pntMeshBcTagToJSON (const std::vector< PNTMesh::surfaceBCTag > &input) |
std::vector< int > | rangeToVec (const std::pair< int, int > &input) |
std::vector< colorMapPair > | gmshColorMapToJSON (const std::map< std::array< int, 3 >, std::string > &colorMap) |
std::map< std::array< int, 3 >, std::string > | gmshColorMapFromJSON (const std::vector< colorMapPair > &colorMap) |
template<typename T , typename R , typename... Args> | |
void | setter_helper (T &obj, R(T::*setter)(Args...), const jsoncons::json &json, jsoncons::string_view key, bool checkContains) |
template<typename T > | |
std::unique_ptr< NEM::NUCMESH::ShapeBase > | construct_helper (const jsoncons::json &json, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes) |
std::unique_ptr< NEM::NUCMESH::ShapeBase > | as_shape (const jsoncons::json &json, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes) |
template<typename T > | |
std::enable_if< std::is_base_of< NEM::NUCMESH::ShapeBase, T >::value, void >::type | modify_helper (const jsoncons::json &json, T &shape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes, bool checkRequired) |
template<> | |
void | modify_helper (const jsoncons::json &json, NEM::NUCMESH::ShapeBase &shape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &, bool) |
template<> | |
void | modify_helper (const jsoncons::json &json, NEM::NUCMESH::Circles &shape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes, bool checkRequired) |
template<> | |
std::unique_ptr< NEM::NUCMESH::ShapeBase > | construct_helper< NEM::NUCMESH::Circles > (const jsoncons::json &json, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes) |
template<> | |
void | modify_helper (const jsoncons::json &json, NEM::NUCMESH::CirclesAndPolys &shape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes, bool checkRequired) |
template<> | |
std::unique_ptr< NEM::NUCMESH::ShapeBase > | construct_helper< NEM::NUCMESH::CirclesAndPolys > (const jsoncons::json &json, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes) |
template<> | |
void | modify_helper (const jsoncons::json &json, NEM::NUCMESH::ShapesArray &shape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes, bool checkRequired) |
template<> | |
void | modify_helper (const jsoncons::json &json, NEM::NUCMESH::PolarArray &shape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes, bool checkRequired) |
template<> | |
std::unique_ptr< NEM::NUCMESH::ShapeBase > | construct_helper< NEM::NUCMESH::PolarArray > (const jsoncons::json &json, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes) |
template<> | |
void | modify_helper (const jsoncons::json &json, NEM::NUCMESH::RectangularArray &shape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes, bool checkRequired) |
template<> | |
std::unique_ptr< NEM::NUCMESH::ShapeBase > | construct_helper< NEM::NUCMESH::RectangularArray > (const jsoncons::json &json, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes) |
template<> | |
void | modify_helper (const jsoncons::json &json, NEM::NUCMESH::HexagonalArray &shape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes, bool checkRequired) |
template<> | |
std::unique_ptr< NEM::NUCMESH::ShapeBase > | construct_helper< NEM::NUCMESH::HexagonalArray > (const jsoncons::json &json, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes) |
template<typename T > | |
std::unique_ptr< NEM::NUCMESH::ShapeBase > | construct_from_alias_helper (const jsoncons::json &json, const T *const aliasShape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes) |
std::unique_ptr< NEM::NUCMESH::ShapeBase > | construct_from_alias (const jsoncons::json &json, const NEM::NUCMESH::ShapeBase *const aliasShape, const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> &savedShapes) |
Variables | |
static constexpr auto | convOptions = "Conversion Options" |
static constexpr auto | convMethod = "Method" |
static constexpr auto | programType = "Program Type" |
static constexpr auto | meshFiles = "Mesh File Options" |
static constexpr auto | inMeshFile = "Input Mesh File" |
static constexpr auto | inGeoFile = "Input Geometry File" |
static constexpr auto | outMeshFile = "Output Mesh File" |
static constexpr auto | bmParams = "blockMesh Parameters" |
static constexpr auto | smParams = "snappyHexMesh Parameters" |
static constexpr auto | meshGenOpts = "Mesh Generation Options" |
static constexpr auto | meshGenEngine = "Mesh Generation Engine" |
static constexpr auto | meshQualOpts = "Mesh Quality Options" |
static constexpr auto | meshQualEngine = "Mesh Quality Engine" |
static constexpr auto | shapeType = "Type" |
static constexpr auto | arrayPattern = "Pattern" |
static constexpr auto | arrayShapes = "Shapes" |
static constexpr auto | packMeshOpts = "Pack Mesh Options" |
static constexpr auto | refOpts = "Refinement Options" |
static constexpr auto | refOperator = "Refinement Operator" |
static constexpr auto | refMethod = "Refinement Method" |
static constexpr auto | refTransferData = "Transfer Data" |
using NEM::DRV::JSON::first_argument_type = typedef typename std::tuple_element< 0, typename function_traits<T>::argument_types>::type |
Definition at line 79 of file NucMeshJson.H.
|
inline |
Definition at line 371 of file NucMeshJson.H.
References arrayShapes, construct_from_alias(), meshFiles, NEM_JSON_N_GETTER_SETTER_NAME_TRAITS_FINAL, NEM_JSON_RDONLY_OVERRIDE, programType, NEM::DRV::NucMeshDriver::programType, and QUAD.
Referenced by modify_helper(), and setter_helper().
|
inline |
Definition at line 347 of file NucMeshJson.H.
References construct_from_alias_helper().
Referenced by as_shape().
std::unique_ptr<NEM::NUCMESH::ShapeBase> NEM::DRV::JSON::construct_from_alias_helper | ( | const jsoncons::json & | json, |
const T *const | aliasShape, | ||
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes | ||
) |
Definition at line 338 of file NucMeshJson.H.
References modify_helper().
Referenced by construct_from_alias().
std::unique_ptr<NEM::NUCMESH::ShapeBase> NEM::DRV::JSON::construct_helper | ( | const jsoncons::json & | json, |
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes | ||
) |
Referenced by setter_helper().
std::unique_ptr<NEM::NUCMESH::ShapeBase> NEM::DRV::JSON::construct_helper< NEM::NUCMESH::Circles > | ( | const jsoncons::json & | json, |
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes | ||
) |
Definition at line 149 of file NucMeshJson.H.
References modify_helper().
std::unique_ptr<NEM::NUCMESH::ShapeBase> NEM::DRV::JSON::construct_helper< NEM::NUCMESH::CirclesAndPolys > | ( | const jsoncons::json & | json, |
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes | ||
) |
Definition at line 175 of file NucMeshJson.H.
References modify_helper().
std::unique_ptr<NEM::NUCMESH::ShapeBase> NEM::DRV::JSON::construct_helper< NEM::NUCMESH::HexagonalArray > | ( | const jsoncons::json & | json, |
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes | ||
) |
Definition at line 326 of file NucMeshJson.H.
References modify_helper().
std::unique_ptr<NEM::NUCMESH::ShapeBase> NEM::DRV::JSON::construct_helper< NEM::NUCMESH::PolarArray > | ( | const jsoncons::json & | json, |
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes | ||
) |
Definition at line 246 of file NucMeshJson.H.
References modify_helper().
std::unique_ptr<NEM::NUCMESH::ShapeBase> NEM::DRV::JSON::construct_helper< NEM::NUCMESH::RectangularArray > | ( | const jsoncons::json & | json, |
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes | ||
) |
Definition at line 286 of file NucMeshJson.H.
References modify_helper().
|
inline |
Definition at line 96 of file MeshGenJson.H.
References bmParams, NEM::DRV::JSON::colorMapPair::color, gmshColorMapToJSON(), NEM::DRV::JSON::colorMapPair::group, IF_CFMSH, IF_GMSH, IF_NGEN, inGeoFile, NEM::DRV::BlockMeshMeshGenDriver::Opts::meshEngine, NEM::DRV::CFMeshMeshGenDriver::Opts::meshEngine, NEM::DRV::SnappyMeshMeshGenDriver::Opts::meshEngine, NEM::DRV::GmshMeshGenDriver::Opts::meshEngine, NEM::DRV::NetgenMeshGenDriver::Opts::meshEngine, meshFiles, meshGenEngine, meshGenOpts, NEM_JSON_CHECK_KEY_ONLY, NEM_JSON_N_GETTER_SETTER_NAME_TRAITS_FINAL, NEM_JSON_N_GETTER_SETTER_NAME_TRAITS_INTERMEDIATE, NEM_JSON_N_MEMBER_NAME_TRAITS_BASE, NEM_JSON_N_MEMBER_NAME_TRAITS_FINAL, NEM_JSON_RDONLY_OVERRIDE, NEM_JSON_SMART_PTR_VAL, NEM_JSON_WRAP_SMART_PTR, outMeshFile, NEM::DRV::MeshGenDriver::programType, programType, and smParams.
|
inline |
Definition at line 86 of file MeshGenJson.H.
Referenced by gmshColorMapFromJSON().
std::enable_if<std::is_base_of<NEM::NUCMESH::ShapeBase, T>::value, void>::type NEM::DRV::JSON::modify_helper | ( | const jsoncons::json & | json, |
T & | shape, | ||
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes, | ||
bool | checkRequired | ||
) |
Definition at line 112 of file NucMeshJson.H.
Referenced by construct_from_alias_helper(), construct_helper< NEM::NUCMESH::Circles >(), construct_helper< NEM::NUCMESH::CirclesAndPolys >(), construct_helper< NEM::NUCMESH::HexagonalArray >(), construct_helper< NEM::NUCMESH::PolarArray >(), construct_helper< NEM::NUCMESH::RectangularArray >(), and modify_helper().
void NEM::DRV::JSON::modify_helper | ( | const jsoncons::json & | json, |
NEM::NUCMESH::ShapeBase & | shape, | ||
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | , | ||
bool | |||
) |
Definition at line 119 of file NucMeshJson.H.
References NEM::NUCMESH::ShapeBase::getRotatedPoint(), and NEM::NUCMESH::ShapeBase::setCenter().
void NEM::DRV::JSON::modify_helper | ( | const jsoncons::json & | json, |
NEM::NUCMESH::Circles & | shape, | ||
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes, | ||
bool | checkRequired | ||
) |
Definition at line 136 of file NucMeshJson.H.
References modify_helper(), NEM::NUCMESH::Circles::setRings(), and setter_helper().
void NEM::DRV::JSON::modify_helper | ( | const jsoncons::json & | json, |
NEM::NUCMESH::CirclesAndPolys & | shape, | ||
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes, | ||
bool | checkRequired | ||
) |
Definition at line 160 of file NucMeshJson.H.
References modify_helper(), NEM::NUCMESH::CirclesAndPolys::setNumSides(), NEM::NUCMESH::CirclesAndPolys::setRings(), and setter_helper().
void NEM::DRV::JSON::modify_helper | ( | const jsoncons::json & | json, |
NEM::NUCMESH::ShapesArray & | shape, | ||
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes, | ||
bool | checkRequired | ||
) |
Definition at line 186 of file NucMeshJson.H.
References as_shape(), NEM::NUCMESH::ShapesArray::getNumPatternShapes(), modify_helper(), and NEM::NUCMESH::ShapesArray::setPatternShape().
void NEM::DRV::JSON::modify_helper | ( | const jsoncons::json & | json, |
NEM::NUCMESH::PolarArray & | shape, | ||
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes, | ||
bool | checkRequired | ||
) |
Definition at line 209 of file NucMeshJson.H.
References NEM::NUCMESH::PolarArray::getNumSubshapes(), modify_helper(), NEM::NUCMESH::PolarArray::setEndAngle(), NEM::NUCMESH::ShapesArray::setPattern(), NEM::NUCMESH::PolarArray::setRadius(), NEM::NUCMESH::PolarArray::setRotateWithArray(), NEM::NUCMESH::PolarArray::setStartAngle(), and setter_helper().
void NEM::DRV::JSON::modify_helper | ( | const jsoncons::json & | json, |
NEM::NUCMESH::RectangularArray & | shape, | ||
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes, | ||
bool | checkRequired | ||
) |
Definition at line 258 of file NucMeshJson.H.
References NEM::NUCMESH::RectangularArray::getGridDims(), modify_helper(), NEM::NUCMESH::RectangularArray::setGridDistance(), NEM::NUCMESH::RectangularArray::setPattern(), and setter_helper().
void NEM::DRV::JSON::modify_helper | ( | const jsoncons::json & | json, |
NEM::NUCMESH::HexagonalArray & | shape, | ||
const std::map< std::string, std::unique_ptr< NEM::NUCMESH::ShapeBase >> & | savedShapes, | ||
bool | checkRequired | ||
) |
Definition at line 299 of file NucMeshJson.H.
References modify_helper(), NEM::NUCMESH::HexagonalArray::setGridDistance(), NEM::NUCMESH::HexagonalArray::setPatternRowCol(), and setter_helper().
|
inline |
Definition at line 72 of file ConversionJson.H.
References PNTMesh::bcTagNum().
Referenced by rangeToVec().
|
inline |
Definition at line 77 of file ConversionJson.H.
References PNTMesh::bcTagStr().
Referenced by rangeToVec().
|
inline |
Definition at line 82 of file ConversionJson.H.
References NEM::DRV::VtkToPatranConversionDriver::FaceBC::bcType, NEM::DRV::VtkToPatranConversionDriver::NodeBC::bcType, convMethod, convOptions, PNTMesh::elmTypeNum(), PNTMesh::elmTypeStr(), IF_CFMSH, IF_CFMSH_GMSH, inMeshFile, meshFiles, NEM::DRV::VtkToPntConversionDriver::Opts::methodName, NEM::DRV::ManipExoConversionDriver::Opts::methodName, NEM::DRV::FoamToMshConversionDriver::Opts::methodName, NEM::DRV::FoamToVtkConversionDriver::Opts::methodName, NEM::DRV::GmshToVtkConversionDriver::Opts::methodName, NEM::DRV::SmartConversionDriver::Opts::methodName, NEM::DRV::VtkHexToTetConversionDriver::Opts::methodName, NEM::DRV::VtkToFoamConversionDriver::Opts::methodName, NEM::DRV::VtkToCobaltConversionDriver::Opts::methodName, NEM::DRV::GmshToExoConversionDriver::Opts::methodName, NEM::DRV::VtkToPatranConversionDriver::Opts::methodName, NEM_JSON_CHECK_KEY_ONLY, NEM_JSON_N_GETTER_SETTER_NAME_TRAITS_FINAL, NEM_JSON_N_GETTER_SETTER_NAME_TRAITS_INTERMEDIATE, NEM_JSON_N_MEMBER_NAME_TRAITS_BASE, NEM_JSON_N_MEMBER_NAME_TRAITS_FINAL, NEM_JSON_N_MEMBER_NAME_TRAITS_VAL, NEM_JSON_RDONLY_OVERRIDE, NEM_JSON_RDWR_OVERRIDE, NEM_JSON_WRAP_SMART_PTR, outMeshFile, PAIR_INT_DUMMY_FUNC, pntMeshBcTagFromJSON(), pntMeshBcTagToJSON(), NEM::DRV::ConversionDriver::programType, and programType.
void NEM::DRV::JSON::setter_helper | ( | T & | obj, |
R(T::*)(Args...) | setter, | ||
const jsoncons::json & | json, | ||
jsoncons::string_view | key, | ||
bool | checkContains | ||
) |
Definition at line 86 of file NucMeshJson.H.
References as_shape(), and construct_helper().
Referenced by modify_helper().
|
static |
Definition at line 82 of file NucMeshJson.H.
|
static |
Definition at line 83 of file NucMeshJson.H.
Referenced by as_shape().
|
static |
Definition at line 89 of file DriverJsonTypeTraits.H.
Referenced by gmshColorMapFromJSON().
|
static |
Definition at line 70 of file ConversionJson.H.
Referenced by rangeToVec().
|
static |
Definition at line 69 of file ConversionJson.H.
Referenced by rangeToVec().
|
static |
Definition at line 87 of file DriverJsonTypeTraits.H.
Referenced by gmshColorMapFromJSON().
|
static |
Definition at line 86 of file DriverJsonTypeTraits.H.
Referenced by rangeToVec().
|
static |
Definition at line 85 of file DriverJsonTypeTraits.H.
Referenced by as_shape(), gmshColorMapFromJSON(), and rangeToVec().
|
static |
Definition at line 79 of file MeshGenJson.H.
Referenced by gmshColorMapFromJSON().
|
static |
Definition at line 78 of file MeshGenJson.H.
Referenced by gmshColorMapFromJSON().
|
static |
Definition at line 48 of file MeshQualityJson.H.
|
static |
Definition at line 47 of file MeshQualityJson.H.
|
static |
Definition at line 88 of file DriverJsonTypeTraits.H.
Referenced by gmshColorMapFromJSON(), and rangeToVec().
|
static |
Definition at line 55 of file PackMeshJson.H.
|
static |
Definition at line 84 of file DriverJsonTypeTraits.H.
Referenced by as_shape(), gmshColorMapFromJSON(), and rangeToVec().
|
static |
Definition at line 66 of file RefineJson.H.
|
static |
Definition at line 65 of file RefineJson.H.
|
static |
Definition at line 64 of file RefineJson.H.
|
static |
Definition at line 67 of file RefineJson.H.
|
static |
Definition at line 81 of file NucMeshJson.H.
Referenced by NEM::NUCMESH::ShapesArray::basicTransformation(), NEM::NUCMESH::NucMeshGeo::computeMesh(), NEM::NUCMESH::ShapeBase::mergeGeo(), NEM::GEO::GeoManager::modify(), NEM::GEO::modifyTempl(), and NEM::NUCMESH::PolyRing::PolyRing().
|
static |
Definition at line 90 of file DriverJsonTypeTraits.H.
Referenced by gmshColorMapFromJSON().