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
Renvoie les valeurs au temps desire.
Class defining operators and methods for all reading operation in an input flow (file,...
const IntTab_t & les_sommets() const
Renvoie le tableau des sommets de toutes les faces.
int_t sommet(int_t, int) const
Renvoie le numero du j-ieme sommet de la i-ieme face.
int nb_som_faces() const
Renvoie le nombre de sommet par face.
virtual int nb_comp() const
const Domaine_t & domaine() const
Renvoie le domaine associe a la frontiere.
int_t nb_faces() const
Renvoie le nombre de faces de la frontiere.
const Faces_t & faces() const
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.
Classe de base des flux de sortie.
_SIZE_ dimension(int d) const
virtual void echange_espace_virtuel(IsExchangeBlocking exchange_type=IsExchangeBlocking::DefaultBlocking, const std::string kernel_name="noname")