5#ifndef __JSONCONFIGMANAGER_HPP__
6#define __JSONCONFIGMANAGER_HPP__
44 std::map<std::string, double>
46 std::map<std::string, std::string>
48 int meshset_id)
const;
Default canonical JSON block attribute names.
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
std::vector< std::string > getDefaultJsonCanonicalAttributeNames()
static const std::string & supportedVersion()
static MoFEMErrorCode setMeshFileFromJson()
Set -file_name from JSON before Core is available.
MoFEMErrorCode applyMeshsets()
std::string getPythonScriptByKey(const std::string &key) const
std::map< std::string, std::string > moabMeshesByKey
std::map< std::string, double > MeshsetParams
virtual ~JsonConfigManager()=default
MoFEMErrorCode applyPetscOptions()
std::string getMoabMeshByKey(const std::string &key) const
std::map< std::string, double > getParamsFromBlockset(const std::string &type_name, int meshset_id) const
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
static MoFEMErrorCode addCanonicalAttributeNames(const std::vector< std::string > &names)
static std::vector< std::string > canonical_attributes_ordering
std::map< std::string, std::string > pythonScriptsByKey
MoFEMErrorCode loadFromFile(const std::string &file_name)
MoFEMErrorCode getSubInterfaceOptions()
std::map< MeshsetKey, MeshsetParams > primaryMeshsetParamsByKey
std::map< std::string, std::string > MeshsetStringParams
std::map< MeshsetKey, MeshsetStringParams > primaryMeshsetStringParamsByKey
bool hasMeshsetsSection() const
boost::json::value configRoot
std::pair< std::string, int > MeshsetKey
MoFEMErrorCode loadFromCommandLine()
std::map< std::string, std::string > getStringParamsFromBlockset(const std::string &type_name, int meshset_id) const
std::string configFileName
base class for all interface classes