5#ifndef __JSONCONFIGMANAGER_HPP__
6#define __JSONCONFIGMANAGER_HPP__
60 std::map<std::string, double>
71 std::map<std::string, double>
73 int meshset_id)
const;
74 std::map<std::string, std::string>
76 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
std::map< std::string, double > getParamsFromBlocksetByTypePrefix(const std::string &type_prefix, int meshset_id) const
Numeric attributes of the entry with this id whose type starts with type_prefix.
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
static MoFEMErrorCode getMofemBoolFromJson(const std::string &key, PetscBool &value, PetscBool &found)
Read a boolean of the JSON "mofem" section before Core is available.
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