16#include <Ch_front_input_ALE.h>
17#include <Probleme_base.h>
18#include <Schema_Temps_base.h>
19#include <Interprete.h>
21#include <Frontiere_dis_base.h>
22#include <communications.h>
23#include <Convert_ICoCoTrioField.h>
24#include <MD_Vector_tools.h>
55 for(
int i=0; i<NrOfNodesIn_les_valeurs_som; i++)
57 for(
int j=0; j<afield._nb_field_components; j++)
59 les_valeurs_som[1].valeurs()(i,j)=afield._field[afield._nb_field_components*i+j];
67 Cout <<
"initialiser Ch_front_input_ALE" << finl ;
82 Cerr <<
"Champ_front_input_ALE ::mettre_a_jour" << finl;
84 const Frontiere& front=la_frontiere_dis->frontiere();
86 const Faces& faces=front.
faces();
94 for( i=0; i<nb_faces; i++)
98 for( k=0; k<nbsf; k++)
110 Cout<<
"Champ_front_input_ALE::remplir_vit_som_bord_ALE"<<finl;
112 const Frontiere& front=la_frontiere_dis->frontiere();
114 const Domaine& domaine=front.
domaine();
115 const Faces& faces=front.
faces();
118 int nb_som_tot=domaine.nb_som_tot();
130 double InitialTimeValue=mon_pb->schema_temps().temps_init();
134 ArrOfInt liste_sommets(nb_som_tot);
135 ArrOfInt marqueur(domaine.les_sommets().dimension(0));
138 for (
int f=0; f<ffaces.
dimension(0); f++)
140 for (
int s=0; s<ffaces.
dimension(1); s++)
143 if (som >= 0 && marqueur[som]==-1)
147 liste_sommets[nn]=som ;
159 if(tps==InitialTimeValue)
DoubleTab & valeurs_au_temps(double temps) override
Returns the values at the desired time.
Class defining operators and methods for all reading operation in an input flow (file,...
const IntTab_t & les_sommets() const
Returns the array of vertices of all faces.
int_t sommet(int_t, int) const
Returns the number of the j-th vertex of the i-th face.
int nb_som_faces() const
Returns the number of vertices per face.
virtual int nb_comp() const
const Domaine_t & domaine() const
Returns the domain associated with the boundary (const version).
int_t nb_faces() const
Returns the number of faces of the boundary.
const Faces_t & faces() const
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.
Base class for output streams.
_SIZE_ dimension(int d) const
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")