13#ifndef __MED_INTERFACE_HPP__
14#define __MED_INTERFACE_HPP__
95 const bool load_series =
false,
96 const int only_step = -1,
int verb = 1);
128 std::map<int, Range> &family_elem_map,
int verb = 1);
140 const std::map<int, Range> &family_elem_mapint,
141 std::map<string, Range> &group_elem_map,
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
implementation of Data Operators for Forces and Sources
std::ostream & operator<<(std::ostream &os, const EntitiesFieldData::EntData &e)
constexpr auto field_name
std::vector< std::string > componentNames
std::vector< std::string > componentUnits
Interface for load MED files.
PetscBool getFlgFile() const
Check if file name is given in command line.
MoFEMErrorCode readMed(const string &file, int verb=1)
read MED file
std::vector< EntityHandle > meshMeshsets
meshset for each mesh
MoFEMErrorCode readFamily(const string &file, const int index, const std::map< int, Range > &family_elem_mapint, std::map< string, Range > &group_elem_map, int verb=1)
read family and groups
MoFEMErrorCode makeBlockSets(const std::map< string, Range > &group_elem_map, int verb=1)
make from groups meshsets
std::map< std::string, FieldData > fieldNames
std::string medFileName
MED file name.
MoFEMErrorCode getFileNameFromCommandLine(int verb=1)
Get MED file name from command line.
std::vector< std::string > meshNames
list of meshes in MED file
MoFEM::Core & cOre
core database
MoFEMErrorCode writeMed(const string &file, int verb=1)
write MED file
MoFEMErrorCode readFields(const std::string &file_name, const std::string &field_name, const bool load_series=false, const int only_step=-1, int verb=1)
MoFEMErrorCode readMesh(const string &file, const int index, std::map< int, Range > &family_elem_map, int verb=1)
read mesh from MED file
PetscBool flgFile
true if file name given in command line
MoFEMErrorCode medGetFieldNames(const string &file, int verb=1)
Get field names in MED file.
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
base class for all interface classes