|
| v0.14.0
|
Go to the documentation of this file.
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,
159 #endif // __MED_INTERFACE_HPP__
MoFEMErrorCode query_interface(boost::typeindex::type_index type_index, UnknownInterface **iface) const
std::ostream & operator<<(std::ostream &os, const EntitiesFieldData::EntData &e)
Interface for load MED files.
MoFEMErrorCode makeBlockSets(const std::map< string, Range > &group_elem_map, int verb=1)
make from groups meshsets
std::string medFileName
MED file name.
std::vector< std::string > meshNames
list of meshes in MED file
PetscErrorCode MoFEMErrorCode
MoFEM/PETSc error code.
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 readMed(const string &file, int verb=1)
read MED file
std::map< std::string, FieldData > fieldNames
PetscBool getFlgFile() const
Check if file name is given in command line.
implementation of Data Operators for Forces and Sources
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 getFileNameFromCommandLine(int verb=1)
Get MED file name from command line.
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)
std::vector< EntityHandle > meshMeshsets
meshset for each mesh
constexpr auto field_name
base class for all interface classes
MoFEMErrorCode writeMed(const string &file, int verb=1)
write MED file
MoFEMErrorCode readMesh(const string &file, const int index, std::map< int, Range > &family_elem_map, int verb=1)
read mesh from MED file
MedInterface(const MoFEM::Core &core)
std::vector< std::string > componentNames
std::vector< std::string > componentUnits
MoFEM::Core & cOre
core database