16#ifndef Couplage_U_included
17#define Couplage_U_included
19#include <Probleme_U.h>
20#include <TRUST_List.h>
71 int limpr()
const override ;
72 int lsauv()
const override;
73 void sauver()
const override;
119 return problems.size();
class Champ_Generique_base
void validateTimeStep() override
Validates the calculated unknown by moving the present time at the end of the time step.
double presentTime() const override
Returns the present time.
int postraiter(int force=1) override
Asks the problem to post-process its fields, probes, etc.
const Probleme_U & probleme(int i) const
void initialize() override
This method is called once at the beginning, before any other one of the interface Problem.
OBS_PTR(Field_base) findInputField(const Nom &name) const override
bool iterateTimeStep(bool &converged) override
In the case solveTimeStep uses an iterative process, this method executes a single iteration.
void sauver() const override
Save the problem state to disk.
int lsauv() const override
Should we save the problem state to disk now?
void resetTime(double t) override
Reset the current time of the Problem to a given value.
bool initTimeStep(double dt) override
This method allocates and initializes the unknown and given fields for the future time step.
void setStationary(bool) override
Tells to the Problem that stationary is reached or not.
void abortTimeStep() override
Aborts the resolution of the current time step.
int limpr() const override
Should we print the execution statistics now?
void suppProblem(Probleme_U &)
bool updateGivenFields() override
WARNING:
void terminate() override
This method is called once at the end, after any other one.
void addProblem(Probleme_U &)
int indice_probleme(const Nom &nom_pb) const
void getOutputFieldsNames(Noms &noms) const override
double futureTime() const override
Returns the future time (end of current computing interval) This value is valid between initTimeStep ...
std::string newCompute() override
bool isStationary() const override
Tells if the Problem unknowns have changed during the last time step.
void getInputFieldsNames(Noms &noms) const override
This method is used to find the names of input fields understood by the Problem.
OBS_PTR(Champ_Generique_base) findOutputField(const Nom &name) const override
class Nom: a character string for naming TRUST objects.
An array of character strings (VECT(Nom)).