16#ifndef Probleme_Couple_included
17#define Probleme_Couple_included
19#include <TRUSTTabs_forward.h>
20#include <Schema_Temps_base.h>
21#include <Couplage_U.h>
87 void sauver()
const override;
103 Cerr<<
"The method Probleme_Couple::mettre_a_jour_modele_rayo does nothing"<<finl;
104 Cerr<<
"We should not pass through here"<<finl;
class Champ_base This class is the base of the fields hierarchy.
class Discretisation_base This class represents a spatial discretization scheme, which
Objet_U()
Default constructor: assigns a unique identifier to the object (object_id_) and registers the object ...
bool solveTimeStep() override
For possible re-implementation and unified call from python.
Probleme_Couple This is the historical coupling class of TRUST.
virtual void discretiser(Discretisation_base &)
Associates a discretization with all problems of the coupled problem.
VECT(OWN_PTR(Schema_Temps_base)) sch_clones
void sauver() const override
Save the problem state to disk.
bool initTimeStep(double dt) override
This method allocates and initializes the unknown and given fields for the future time step.
void initialize() override
This method is called once at the beginning, before any other one of the interface Problem.
double computeTimeStep(bool &stop) const override
Compute the value the Problem would like for the next time step.
virtual void associer_sch_tps_base(Schema_Temps_base &)
Associates a copy of the time scheme with each problem of the coupled problem.
int associer_(Objet_U &) override
Overrides Objet_U::associer_(Objet_U&): associates an object with the coupled problem,...
bool updateGivenFields() override
WARNING:
bool solveTimeStep() override
For possible re-implementation and unified call from python.
virtual void mettre_a_jour_modele_rayo(double temps)
virtual const Schema_Temps_base & schema_temps() const
Returns the time scheme associated with the coupled problems (const version).
void ajouter(Probleme_base &)
Adds a problem to the list of coupled problems.
bool iterateTimeStep(bool &converged) override
In the case solveTimeStep uses an iterative process, this method executes a single iteration.
class Probleme_base It is a Probleme_U that is not a coupling.
static void exit(int exit_code=-1)
Exit routine for TRUST within a Kokkos region.