16#include <Option_CGNS.h>
59 Cerr << finl <<
"Error in Option_CGNS :" << finl;
60 Cerr <<
" You can not activate the option 'PARALLEL_OVER_ZONE' and/or 'SINGLE_FILE_PER_COMM_GROUP' with 'USE_LINKS' and/or 'LINKED_FILES_PER_COMM_GROUP' !!!" << finl;
61 Cerr <<
" The default CGNS post behavior is a single file for all times/fields." << finl;
62 Cerr <<
" PARALLEL_OVER_ZONE and/or SINGLE_FILE_PER_COMM_GROUP options remain in this context; ie: single file." << finl;
63 Cerr <<
" USE_LINKS and/or LINKED_FILES_PER_COMM_GROUP options require several linked files." << finl;
64 Cerr <<
" See the doc for more details or contact the TRUST support ... " << finl << finl;
68 Cerr << finl <<
"*********************************" << finl;
69 Cerr <<
"********** Option_CGNS **********" << finl;
70 Cerr <<
"*********************************" << finl << finl;
75 Cerr <<
" Data will be flushed into a single CGNS file each " <<
FLUSH_EVERY_N <<
" time post ..." << finl;
78 Cerr <<
" A single CGNS file will be closed and opened each " <<
CLOSE_EVERY_N <<
" time post ..." << finl;
81 Cerr <<
" PARALLEL_OVER_ZONE => CGNS data will be written in separate zones ..." << finl;
84 Cerr <<
" SINGLE_FILE_PER_COMM_GROUP => A single CGNS file will be written in each COMM group ... ..." << finl;
91 Cerr <<
" LINKED_FILES_PER_COMM_GROUP => Several linked CGNS files will be written in each COMM group ..." << finl;
92 Cerr <<
" This will activate also the option USE_LINKS ..." << finl;
96 Cerr <<
" USE_LINKS => CGNS data will be written in separate files (mesh, solution ...)" << finl;
99 Cerr << finl <<
"*********************************" << finl << finl;
Class defining operators and methods for all reading operation in an input flow (file,...
Classe de base des objets "interprete".
const Nom & que_suis_je() const
renvoie la chaine identifiant la classe.
virtual Entree & readOn(Entree &)
Lecture d'un Objet_U sur un flot d'entree Methode a surcharger.
virtual Sortie & printOn(Sortie &) const
Ecriture de l'objet sur un flot de sortie Methode a surcharger.
Global CGNS post-processing options.
static bool KEEP_FILES_BEFORE_RESET_TIME
Entree & interpreter(Entree &) override
static bool LINKED_FILES_PER_COMM_GROUP
static bool PARALLEL_OVER_ZONE
static bool SINGLE_FILE_PER_COMM_GROUP
Helper class to factorize the readOn method of Objet_U classes.
void ajouter_flag(const char *keyword, const bool *value)
Register a boolean flag whose mere presence switches it to true.
void ajouter(const char *keyword, const int *value, Param::Nature nat=Param::OPTIONAL)
Register an integer parameter.
int lire_avec_accolades_depuis(Entree &is)
Parse the parameter block { ... } from is.
static void exit(int exit_code=-1)
Routine de sortie de TRUST dans une region Kokkos.
Classe de base des flux de sortie.