ICoCo::ProblemTrio#

#include <ProblemTrio.h>
Brief description

class ProblemTrio

How to reference this class#

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ICoCo::ProblemTrio <class-icoco-problemtrio>`
[ICoCo::ProblemTrio](#class-icoco-problemtrio)

Detailed description#

This class defines the API a problem has to implement in order to be coupled. For precise specifications and possible use of this API, See NT SSTH/LMDL_2006_001 Implements IterativeUnsteadyProblem and FieldIO

Inherits from#

  • public : Problem

List of Public Methods#

Complete Member Function Documentation#

abortTimeStep#

Definition
void ProblemTrio::abortTimeStep() override
Brief description

Aborts the resolution of the current time step.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::abortTimeStep() override <icoco-problemtrio-public-void-problemtrio-aborttimestep-override>`
[void ProblemTrio::abortTimeStep() override](#icoco-problemtrio-public-void-problemtrio-aborttimestep-override)

computeTimeStep#

Definition
double ProblemTrio::computeTimeStep(bool &stop) const override
Brief description

Compute the value the Problem would like for the next time step.

Detailed description

This value will not necessarily be used at the call of initTimeStep, but it is a hint. This method may use all the internal state of the Problem.

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double ProblemTrio::computeTimeStep(bool &stop) const override <icoco-problemtrio-public-double-problemtrio-computetimestep-bool-ref-stop-const-override>`
[double ProblemTrio::computeTimeStep(bool &stop) const override](#icoco-problemtrio-public-double-problemtrio-computetimestep-bool-ref-stop-const-override)

getDirectAccessToUnknown#

Definition
ICoCo::MEDDoubleField ProblemTrio::getDirectAccessToUnknown(const std::string &unk_name, bool isFuture)
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ICoCo::MEDDoubleField ProblemTrio::getDirectAccessToUnknown(const std::string &unk_name, bool isFuture) <icoco-problemtrio-public-icoco-meddoublefield-problemtrio-getdirectaccesstounknown-const-std-string-ref-unk-name-bool-isfuture>`
[ICoCo::MEDDoubleField ProblemTrio::getDirectAccessToUnknown(const std::string &unk_name, bool isFuture)](#icoco-problemtrio-public-icoco-meddoublefield-problemtrio-getdirectaccesstounknown-const-std-string-ref-unk-name-bool-isfuture)

getFieldType#

Definition
ICoCo::ValueType ProblemTrio::getFieldType(const std::string &name) const override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ICoCo::ValueType ProblemTrio::getFieldType(const std::string &name) const override <icoco-problemtrio-public-icoco-valuetype-problemtrio-getfieldtype-const-std-string-ref-name-const-override>`
[ICoCo::ValueType ProblemTrio::getFieldType(const std::string &name) const override](#icoco-problemtrio-public-icoco-valuetype-problemtrio-getfieldtype-const-std-string-ref-name-const-override)

getInputFieldsNames#

Definition
vector<string> ProblemTrio::getInputFieldsNames() const override
Brief description

This method is used to find the names of input fields understood by the Problem.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`vector<string> ProblemTrio::getInputFieldsNames() const override <icoco-problemtrio-public-vector-string-problemtrio-getinputfieldsnames-const-override>`
[vector<string> ProblemTrio::getInputFieldsNames() const override](#icoco-problemtrio-public-vector-string-problemtrio-getinputfieldsnames-const-override)

getInputFieldTemplate#

Definition
void ProblemTrio::getInputFieldTemplate(const std::string &name, TrioField &afield) const override
Brief description

This method is used to get a template of a field expected for the given name.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::getInputFieldTemplate(const std::string &name, TrioField &afield) const override <icoco-problemtrio-public-void-problemtrio-getinputfieldtemplate-const-std-string-ref-name-triofield-ref-afield-const-override>`
[void ProblemTrio::getInputFieldTemplate(const std::string &name, TrioField &afield) const override](#icoco-problemtrio-public-void-problemtrio-getinputfieldtemplate-const-std-string-ref-name-triofield-ref-afield-const-override)

getInputMEDDoubleFieldTemplate#

Definition
void ProblemTrio::getInputMEDDoubleFieldTemplate(const std::string &name, MEDDoubleField &afield) const override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::getInputMEDDoubleFieldTemplate(const std::string &name, MEDDoubleField &afield) const override <icoco-problemtrio-public-void-problemtrio-getinputmeddoublefieldtemplate-const-std-string-ref-name-meddoublefield-ref-afield-const-override>`
[void ProblemTrio::getInputMEDDoubleFieldTemplate(const std::string &name, MEDDoubleField &afield) const override](#icoco-problemtrio-public-void-problemtrio-getinputmeddoublefieldtemplate-const-std-string-ref-name-meddoublefield-ref-afield-const-override)

getMEDCouplingMajorVersion#

Definition
int ProblemTrio::getMEDCouplingMajorVersion() const override
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int ProblemTrio::getMEDCouplingMajorVersion() const override <icoco-problemtrio-public-int-problemtrio-getmedcouplingmajorversion-const-override>`
[int ProblemTrio::getMEDCouplingMajorVersion() const override](#icoco-problemtrio-public-int-problemtrio-getmedcouplingmajorversion-const-override)

getOutputDoubleValue#

Definition
double ProblemTrio::getOutputDoubleValue(const std::string &name) const override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double ProblemTrio::getOutputDoubleValue(const std::string &name) const override <icoco-problemtrio-public-double-problemtrio-getoutputdoublevalue-const-std-string-ref-name-const-override>`
[double ProblemTrio::getOutputDoubleValue(const std::string &name) const override](#icoco-problemtrio-public-double-problemtrio-getoutputdoublevalue-const-std-string-ref-name-const-override)

getOutputField#

Definition
void ProblemTrio::getOutputField(const std::string &name, TrioField &afield) const override
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::getOutputField(const std::string &name, TrioField &afield) const override <icoco-problemtrio-public-void-problemtrio-getoutputfield-const-std-string-ref-name-triofield-ref-afield-const-override>`
[void ProblemTrio::getOutputField(const std::string &name, TrioField &afield) const override](#icoco-problemtrio-public-void-problemtrio-getoutputfield-const-std-string-ref-name-triofield-ref-afield-const-override)

getOutputFieldsNames#

Definition
vector<string> ProblemTrio::getOutputFieldsNames() const override
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`vector<string> ProblemTrio::getOutputFieldsNames() const override <icoco-problemtrio-public-vector-string-problemtrio-getoutputfieldsnames-const-override>`
[vector<string> ProblemTrio::getOutputFieldsNames() const override](#icoco-problemtrio-public-vector-string-problemtrio-getoutputfieldsnames-const-override)

getOutputIntValue#

Definition
int ProblemTrio::getOutputIntValue(const std::string &name) const override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`int ProblemTrio::getOutputIntValue(const std::string &name) const override <icoco-problemtrio-public-int-problemtrio-getoutputintvalue-const-std-string-ref-name-const-override>`
[int ProblemTrio::getOutputIntValue(const std::string &name) const override](#icoco-problemtrio-public-int-problemtrio-getoutputintvalue-const-std-string-ref-name-const-override)

getOutputMEDDoubleField#

Definition
void ProblemTrio::getOutputMEDDoubleField(const std::string &name, MEDDoubleField &afield) const override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::getOutputMEDDoubleField(const std::string &name, MEDDoubleField &afield) const override <icoco-problemtrio-public-void-problemtrio-getoutputmeddoublefield-const-std-string-ref-name-meddoublefield-ref-afield-const-override>`
[void ProblemTrio::getOutputMEDDoubleField(const std::string &name, MEDDoubleField &afield) const override](#icoco-problemtrio-public-void-problemtrio-getoutputmeddoublefield-const-std-string-ref-name-meddoublefield-ref-afield-const-override)

getOutputStringValue#

Definition
std::string ProblemTrio::getOutputStringValue(const std::string &name) const override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`std::string ProblemTrio::getOutputStringValue(const std::string &name) const override <icoco-problemtrio-public-std-string-problemtrio-getoutputstringvalue-const-std-string-ref-name-const-override>`
[std::string ProblemTrio::getOutputStringValue(const std::string &name) const override](#icoco-problemtrio-public-std-string-problemtrio-getoutputstringvalue-const-std-string-ref-name-const-override)

getStationaryMode#

Definition
bool ProblemTrio::getStationaryMode() const override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool ProblemTrio::getStationaryMode() const override <icoco-problemtrio-public-bool-problemtrio-getstationarymode-const-override>`
[bool ProblemTrio::getStationaryMode() const override](#icoco-problemtrio-public-bool-problemtrio-getstationarymode-const-override)

initialize#

Definition
bool ProblemTrio::initialize() override
Brief description

This method is called once at the beginning, before any other one of the interface Problem.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool ProblemTrio::initialize() override <icoco-problemtrio-public-bool-problemtrio-initialize-override>`
[bool ProblemTrio::initialize() override](#icoco-problemtrio-public-bool-problemtrio-initialize-override)

initialize_pb#

Definition
bool ProblemTrio::initialize_pb(Probleme_U &pb)
Brief description
Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool ProblemTrio::initialize_pb(Probleme_U &pb) <icoco-problemtrio-public-bool-problemtrio-initialize-pb-probleme-u-ref-pb>`
[bool ProblemTrio::initialize_pb(Probleme_U &pb)](#icoco-problemtrio-public-bool-problemtrio-initialize-pb-probleme-u-ref-pb)

initTimeStep#

Definition
bool ProblemTrio::initTimeStep(double dt) override
Brief description

This method allocates and initializes the unknown and given fields for the future time step.

Detailed description

The value of the interval is imposed through the parameter dt. In case of error, returns false.

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool ProblemTrio::initTimeStep(double dt) override <icoco-problemtrio-public-bool-problemtrio-inittimestep-double-dt-override>`
[bool ProblemTrio::initTimeStep(double dt) override](#icoco-problemtrio-public-bool-problemtrio-inittimestep-double-dt-override)

isMEDCoupling64Bits#

Definition
bool ProblemTrio::isMEDCoupling64Bits() const override
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool ProblemTrio::isMEDCoupling64Bits() const override <icoco-problemtrio-public-bool-problemtrio-ismedcoupling64bits-const-override>`
[bool ProblemTrio::isMEDCoupling64Bits() const override](#icoco-problemtrio-public-bool-problemtrio-ismedcoupling64bits-const-override)

isStationary#

Definition
bool ProblemTrio::isStationary() const override
Brief description

Tells if the Problem unknowns have changed during the last time step.

Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool ProblemTrio::isStationary() const override <icoco-problemtrio-public-bool-problemtrio-isstationary-const-override>`
[bool ProblemTrio::isStationary() const override](#icoco-problemtrio-public-bool-problemtrio-isstationary-const-override)

iterateTimeStep#

Definition
bool ProblemTrio::iterateTimeStep(bool &converged) override
Brief description

In the case solveTimeStep uses an iterative process, this method executes a single iteration.

Detailed description

It is thus possible to modify the given fields between iterations. converged is set to true if the process has converged, ie if the unknown fields are solution to the problem on the next time step. Otherwise converged is set to false. The return value indicates if the convergence process behaves normally. If false, the ProblemTrio wishes to abort the time step resolution.

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool ProblemTrio::iterateTimeStep(bool &converged) override <icoco-problemtrio-public-bool-problemtrio-iteratetimestep-bool-ref-converged-override>`
[bool ProblemTrio::iterateTimeStep(bool &converged) override](#icoco-problemtrio-public-bool-problemtrio-iteratetimestep-bool-ref-converged-override)

presentTime#

Definition
double ProblemTrio::presentTime() const override
Brief description

Returns the present time.

Detailed description

This value may change only at the call of validateTimeStep. A surcharger

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`double ProblemTrio::presentTime() const override <icoco-problemtrio-public-double-problemtrio-presenttime-const-override>`
[double ProblemTrio::presentTime() const override](#icoco-problemtrio-public-double-problemtrio-presenttime-const-override)

ProblemTrio#

Definition
ProblemTrio::ProblemTrio()
Brief description

As initialize doesn’t have any arguments, they can be passed to the Problem at the time of instantiation.

Detailed description

They can include data file name, MPI communicator,.. In this implementation (for use outside TRUST), only the name of an underlying Probleme_U needs to be provided.

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ProblemTrio::ProblemTrio() <icoco-problemtrio-public-problemtrio-problemtrio>`
[ProblemTrio::ProblemTrio()](#icoco-problemtrio-public-problemtrio-problemtrio)

resetTime#

Definition
void ProblemTrio::resetTime(double time) override
Brief description

Reset the current time of the Problem to a given value.

Detailed description

New in version 2 of ICoCo . Particularly useful for the initialization of complex transients: the starting point of the transient of interest is computed first, the time is reset to 0, and then the actual transient of interest starts with proper initial conditions, and global time 0. Can be called outside the TIME_STEP_DEFINED context (see Problem documentation).

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::resetTime(double time) override <icoco-problemtrio-public-void-problemtrio-resettime-double-time-override>`
[void ProblemTrio::resetTime(double time) override](#icoco-problemtrio-public-void-problemtrio-resettime-double-time-override)

setDataFile#

Definition
void ProblemTrio::setDataFile(const std::string &datafile) override
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::setDataFile(const std::string &datafile) override <icoco-problemtrio-public-void-problemtrio-setdatafile-const-std-string-ref-datafile-override>`
[void ProblemTrio::setDataFile(const std::string &datafile) override](#icoco-problemtrio-public-void-problemtrio-setdatafile-const-std-string-ref-datafile-override)

setInputDoubleValue#

Definition
void ProblemTrio::setInputDoubleValue(const std::string &name, const double &val) override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::setInputDoubleValue(const std::string &name, const double &val) override <icoco-problemtrio-public-void-problemtrio-setinputdoublevalue-const-std-string-ref-name-const-double-ref-val-override>`
[void ProblemTrio::setInputDoubleValue(const std::string &name, const double &val) override](#icoco-problemtrio-public-void-problemtrio-setinputdoublevalue-const-std-string-ref-name-const-double-ref-val-override)

setInputField#

Definition
void ProblemTrio::setInputField(const std::string &name, const TrioField &afield) override
Brief description

This method is used to provide the Problem with an input field.

Detailed description
References
Referenced By
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::setInputField(const std::string &name, const TrioField &afield) override <icoco-problemtrio-public-void-problemtrio-setinputfield-const-std-string-ref-name-const-triofield-ref-afield-override>`
[void ProblemTrio::setInputField(const std::string &name, const TrioField &afield) override](#icoco-problemtrio-public-void-problemtrio-setinputfield-const-std-string-ref-name-const-triofield-ref-afield-override)

setInputIntValue#

Definition
void ProblemTrio::setInputIntValue(const std::string &name, const int &val) override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::setInputIntValue(const std::string &name, const int &val) override <icoco-problemtrio-public-void-problemtrio-setinputintvalue-const-std-string-ref-name-const-int-ref-val-override>`
[void ProblemTrio::setInputIntValue(const std::string &name, const int &val) override](#icoco-problemtrio-public-void-problemtrio-setinputintvalue-const-std-string-ref-name-const-int-ref-val-override)

setInputMEDDoubleField#

Definition
void ProblemTrio::setInputMEDDoubleField(const std::string &name, const MEDDoubleField &afield) override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::setInputMEDDoubleField(const std::string &name, const MEDDoubleField &afield) override <icoco-problemtrio-public-void-problemtrio-setinputmeddoublefield-const-std-string-ref-name-const-meddoublefield-ref-afield-override>`
[void ProblemTrio::setInputMEDDoubleField(const std::string &name, const MEDDoubleField &afield) override](#icoco-problemtrio-public-void-problemtrio-setinputmeddoublefield-const-std-string-ref-name-const-meddoublefield-ref-afield-override)

setInputStringValue#

Definition
void ProblemTrio::setInputStringValue(const std::string &name, const std::string &val) override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::setInputStringValue(const std::string &name, const std::string &val) override <icoco-problemtrio-public-void-problemtrio-setinputstringvalue-const-std-string-ref-name-const-std-string-ref-val-override>`
[void ProblemTrio::setInputStringValue(const std::string &name, const std::string &val) override](#icoco-problemtrio-public-void-problemtrio-setinputstringvalue-const-std-string-ref-name-const-std-string-ref-val-override)

setMPIComm#

Definition
void ProblemTrio::setMPIComm(void *) override
Brief description
Detailed description
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::setMPIComm(void *) override <icoco-problemtrio-public-void-problemtrio-setmpicomm-void-ptr-override>`
[void ProblemTrio::setMPIComm(void *) override](#icoco-problemtrio-public-void-problemtrio-setmpicomm-void-ptr-override)

setStationaryMode#

Definition
void ProblemTrio::setStationaryMode(bool stationary) override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::setStationaryMode(bool stationary) override <icoco-problemtrio-public-void-problemtrio-setstationarymode-bool-stationary-override>`
[void ProblemTrio::setStationaryMode(bool stationary) override](#icoco-problemtrio-public-void-problemtrio-setstationarymode-bool-stationary-override)

solveTimeStep#

Definition
bool ProblemTrio::solveTimeStep() override
Brief description

Calculates the unknown fields for the next time step.

Detailed description

The default implementation uses iterations.

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`bool ProblemTrio::solveTimeStep() override <icoco-problemtrio-public-bool-problemtrio-solvetimestep-override>`
[bool ProblemTrio::solveTimeStep() override](#icoco-problemtrio-public-bool-problemtrio-solvetimestep-override)

terminate#

Definition
void ProblemTrio::terminate() override
Brief description

This method is called once at the end, after any other one.

Detailed description

It frees the memory and saves anything that needs to be saved.

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::terminate() override <icoco-problemtrio-public-void-problemtrio-terminate-override>`
[void ProblemTrio::terminate() override](#icoco-problemtrio-public-void-problemtrio-terminate-override)

updateOutputField#

Definition
void ProblemTrio::updateOutputField(const std::string &name, TrioField &afield) const override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::updateOutputField(const std::string &name, TrioField &afield) const override <icoco-problemtrio-public-void-problemtrio-updateoutputfield-const-std-string-ref-name-triofield-ref-afield-const-override>`
[void ProblemTrio::updateOutputField(const std::string &name, TrioField &afield) const override](#icoco-problemtrio-public-void-problemtrio-updateoutputfield-const-std-string-ref-name-triofield-ref-afield-const-override)

updateOutputMEDDoubleField#

Definition
void ProblemTrio::updateOutputMEDDoubleField(const std::string &name, MEDDoubleField &afield) const override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::updateOutputMEDDoubleField(const std::string &name, MEDDoubleField &afield) const override <icoco-problemtrio-public-void-problemtrio-updateoutputmeddoublefield-const-std-string-ref-name-meddoublefield-ref-afield-const-override>`
[void ProblemTrio::updateOutputMEDDoubleField(const std::string &name, MEDDoubleField &afield) const override](#icoco-problemtrio-public-void-problemtrio-updateoutputmeddoublefield-const-std-string-ref-name-meddoublefield-ref-afield-const-override)

validateTimeStep#

Definition
void ProblemTrio::validateTimeStep() override
Brief description

Validates the calculated unknown by moving the present time at the end of the time step.

Detailed description

This method is allowed to free past values of the unknown and given fields.

References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`void ProblemTrio::validateTimeStep() override <icoco-problemtrio-public-void-problemtrio-validatetimestep-override>`
[void ProblemTrio::validateTimeStep() override](#icoco-problemtrio-public-void-problemtrio-validatetimestep-override)

~ProblemTrio#

Definition
ProblemTrio::~ProblemTrio() override
Brief description
Detailed description
References
How to reference this method:

Copy the following pieces of RST/Markdown code to cite this element in other parts of the sphinx documentation (there is a copy button on the top-right when hovering the code block):

:ref:`ProblemTrio::~ProblemTrio() override <icoco-problemtrio-public-problemtrio-dtor-problemtrio-override>`
[ProblemTrio::~ProblemTrio() override](#icoco-problemtrio-public-problemtrio-dtor-problemtrio-override)

Attributes Documentation#

my_params (protected)
Init_Params* ICoCo::ProblemTrio::my_params
p (protected)
mon_main* ICoCo::ProblemTrio::p
pb (protected)
Probleme_U* ICoCo::ProblemTrio::pb