16#include <CGNS_2_Lata.h>
17#include <LataFilter.h>
18#include <CGNSReader.h>
32 Cerr <<
"Syntax CGNS_to_lata nom_cgns||NOM_DU_CAS nom_fichier_sortie_lata||NOM_DU_CAS " << finl;
33 Nom nom_lml, nom_lata;
34 is >> nom_lml >> nom_lata;
36 if (
Motcle(nom_lml) ==
"NOM_DU_CAS")
39 if (
Motcle(nom_lata) ==
"NOM_DU_CAS")
42 if (!
Motcle(nom_lml).finit_par(
".cgns"))
43 nom_lml +=
Nom(
".cgns");
45 if (!
Motcle(nom_lata).finit_par(
".lata"))
46 nom_lata +=
Nom(
".lata");
50 cgns_to_lata(nom_lml, nom_lata, 0 , 1 , 0 , 1 );
52 Cerr <<
"ATTENTION : The interpret CGNS_2_Lata does nothing when running in a parallel mode. Use it only in a serial run ... " << finl;
Entree & interpreter(Entree &is) override
Class defining operators and methods for all reading operation in an input flow (file,...
Base class for "interpreter" objects.
A character string (Nom) in uppercase.
class Nom: a character string for naming TRUST objects.
virtual Entree & readOn(Entree &)
Reads an Objet_U from an input stream. Virtual method to override.
static const Nom & nom_du_cas()
Returns a constant reference to the case name. This method is static.
virtual Sortie & printOn(Sortie &) const
Writes the object to an output stream. Virtual method to override.
static bool is_sequential()
Base class for output streams.