16#ifndef Ecrire_MED_included
17#define Ecrire_MED_included
19#include <TRUSTTabs_forward.h>
20#include <Interprete.h>
25#include <Domaine_forward.h>
27#include <medcoupling++.h>
29#include <MEDCouplingUMesh.hxx>
30#include <MEDFileMesh.hxx>
43template <
typename _SIZE_>
59 inline Nom version() {
return MED_VERSION_STR; }
86 const MEDCoupling::MEDCouplingUMesh *mcumesh_ =
nullptr;
87 MEDCoupling::MCAuto<MEDCoupling::MEDFileUMesh> mfumesh_;
class Domaine_32_64 A Domain is a mesh composed of a set of geometric elements of the same type.
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class Ecrire_MED. Writes a MED file.
IntTab_T< _SIZE_ > IntTab_t
void ecrire_domaine_dis(bool append=true)
void ecrire_champ(const Nom &type, const Nom &nom_cha1, const DoubleTab &val, const Noms &unite, const Noms &noms_compo, const Nom &type_elem, double time)
std::map< std::string, int > timestep_
void ecrire_champ(const Nom &type, const Nom &nom_cha1, const DoubleTab &val, const Noms &unite, const Nom &type_elem, double time, const Champ_Inc_base &le_champ)
Ecrire_MED_32_64(const Nom &file_name, const Domaine_t &dom)
void get_bords_infos(Noms &noms_bords_and_jnts, ArrOfInt_t &sz_bords_and_jnts) const
OBS_PTR(Domaine_VF) domaine_dis_
void ecrire_domaine_dual(bool append=true)
OBS_PTR(Domaine_t) dom_
Domain that will be written.
Domaine_32_64< _SIZE_ > Domaine_t
void set_file_name_and_dom(const Nom &file_name, const Domaine_t &dom, const Domaine_dis_base *dom_dis=nullptr)
void fill_faces_and_boundaries()
Entree & interpreter(Entree &) override
ArrOfInt_T< _SIZE_ > ArrOfInt_t
void ecrire_domaine(bool append=true)
Class defining operators and methods for all reading operation in an input flow (file,...
Base class for "interpreter" objects.
class Nom: a character string for naming TRUST objects.
An array of character strings (VECT(Nom)).