15#include <Format_Post_base.h>
16#include <Domaine_VF.h>
26 Cerr <<
"Format_Post_base::printOn : error" << finl;
33 Cerr<<
"Reading of data for a "<<
que_suis_je()<<
" post-processing format object"<<finl;
36 param.lire_avec_accolades_depuis(is);
44 Cerr <<
"Format '" <<
que_suis_je() <<
" does not support resetTime()!!" << finl;
64 Cerr <<
"Format_Post_base::initialize_by_default(" << file_basename
65 <<
")\n method not coded for " <<
que_suis_je() << finl;
71 Cerr <<
"Format_Post_base::initialize(" << file_basename
72 <<
")\n method not coded for " <<
que_suis_je() << finl;
86 Cerr <<
"Format_Post_base::ecrire_entete method not coded for " <<
que_suis_je() << finl;
92 Cerr <<
"Format_Post_base::finir method not coded for " <<
que_suis_je() << finl;
97 int est_le_premier_postraitement_pour_nom_fich_,
const Domaine& domaine)
110 const Nature_du_champ& nature,
const int nb_compo,
const Noms& noms_compo,
111 const Motcle& loc_post,
const Nom& le_nom_champ_post)
114 Cerr <<
"Format_Post_base::preparer_post_champ(...)\n"
115 <<
" method not coded for " <<
que_suis_je() << finl;
125 Cerr <<
"Format_Post_base::preparer_post(...)\n"
126 <<
" method not coded for " <<
que_suis_je() << finl;
147 Cerr <<
"Format_Post_base::ecrire_domaine(...)\n"
148 <<
" method not coded for " <<
que_suis_je() << finl;
154 Cerr <<
"ERROR: Format_Post_base::ecrire_domaine_dual(...) method not coded for " <<
que_suis_je() << finl;
160 domaine_dis_ = domaine_dis_base;
172 Cerr <<
"Format_Post_base::ecrire_temps(const double temps)\n"
173 <<
" method not coded for " <<
que_suis_je() << finl;
186 int ncomp,
double temps_,
187 const Nom& id_du_champ,
188 const Nom& id_du_domaine,
189 const Nom& localisation,
191 const DoubleTab& data)
193 Cerr <<
"Format_Post_base::ecrire_champ(...)\n"
194 <<
" method not coded for " <<
que_suis_je() << finl;
206 const Nom& id_du_domaine,
207 const Nom& id_domaine,
208 const Nom& localisation,
209 const Nom& reference,
211 const int reference_size)
213 Cerr <<
"Format_Post_base::ecrire_champ_int(...)\n"
214 <<
" method not coded for " <<
que_suis_je() << finl;
class Domaine_dis_base This class is the base of the hierarchy of discretized domains.
Class defining operators and methods for all reading operation in an input flow (file,...
Base class for post-processing output formats for fields (lata, med, cgns, lml, single_lata).
virtual int initialize(const Nom &file_basename, const int format, const Nom &option_para)
virtual int finir(const int est_le_dernier_post)
virtual int modify_file_basename(const Nom file_basename, bool for_restart, const double tinit)
Modification of the post processing file name. For save/restart this might also move and rename files...
int lire_motcle_non_standard(const Motcle &, Entree &) override
Reads non-simple-type parameters of an Objet_U from an input stream.
virtual void ecrire_domaine_dual(const Domaine &domaine, const int est_le_premier_post)
virtual int completer_post(const Domaine &dom, const int axi, const Nature_du_champ &nature, const int nb_compo, const Noms &noms_compo, const Motcle &loc_post, const Nom &le_nom_champ_post)
virtual int init_ecriture(double temps_courant, double temps_post, int est_le_premier_postraitement_pour_nom_fich_, const Domaine &domaine)
virtual int ecrire_champ(const Domaine &domaine, const Noms &unite_, const Noms &noms_compo, int ncomp, double temps_, const Nom &id_du_champ, const Nom &id_du_domaine, const Nom &localisation, const Nom &nature, const DoubleTab &data)
Writing a field to the post-processing file.
virtual int initialize_by_default(const Nom &file_basename)
Initializes the file with parameters appropriate to its format (e.g. ascii format,...
virtual int ecrire_temps(const double temps)
Starts writing a time step.
virtual int ecrire_entete(const double temps_courant, const int reprise, const int est_le_premier_post)
virtual int ecrire_domaine_dis(const Domaine &domaine, const OBS_PTR(Domaine_dis_base)&domaine_dis_base, const int est_le_premier_post)
virtual int ecrire_domaine(const Domaine &domaine, const int est_le_premier_post)
Writing a mesh.
virtual int ecrire_item_int(const Nom &id_item, const Nom &id_du_domaine, const Nom &id_domaine, const Nom &localisation, const Nom &reference, const IntVect &data, const int reference_size)
Writing an integer array to the post-processing file.
virtual int preparer_post(const Nom &id_du_domaine, const int est_le_premier_post, const int reprise, const double t_init)
OBS_PTR(Domaine_dis_base) domaine_dis_
Reference to the discretized domain - used for face fields.
virtual void set_param(Param ¶m) const override=0
virtual void resetTime(double t, const std::string dirname)
virtual int finir_ecriture(double temps_courant)
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
An array of character strings (VECT(Nom)).
Base class for TRUST objects (Objet_U).
const Nom & que_suis_je() const
Returns the string identifying the class.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.
Base class for output streams.