16#include <Champ_Front_MUSIG.h>
31 Motcle motlu, acc_ouv(
"{"), acc_fer(
"}");
37 Cerr <<
"Error in the readOn of Champ_Front_MUSIG ! We expected a { and not " << motlu <<
" ! Call Maximus Decimus !" << finl;
41 for (is >> motlu; motlu != acc_fer; is >> motlu)
43 if (motlu !=
"NBPHASES")
45 Cerr <<
"Error in the readOn of Champ_Front_MUSIG ! You need yo specify the number of subphases with NBPHASES !" << finl;
52 for(
int j=0; j<nbSubPhases; j++)
61 for (
int i = 1; i <
dim_ ; i++)
64 Cerr <<
"Champ_Front_MUSIG should define the same field types !" << finl;
69 const int ncompo =
z_fld_[0]->nb_comp() *
dim_, nnodes =
z_fld_[0]->valeurs().dimension_tot(0);
std::vector< OWN_PTR(Champ_front_base)> z_fld_
void fill_valeurs_composite()
Class defining operators and methods for all reading operation in an input flow (file,...
virtual void fixer_nb_comp(int i)
Sets the number of components of the field.
void nommer(const Nom &) override
Gives a name to the field.
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.