AMDiS 2.10
The Adaptive Multi-Dimensional Simulation Toolbox
ProblemTimeInterface Class Referenceabstract

Interface for time dependent problems. Concrete problems must override all pure virtual methods. More...

#include <ProblemTimeInterface.hpp>

Inherited by ProblemInstatBase [virtual].

Public Member Functions

virtual void initTimeInterface ()
 Called at the beginning of the adaption loop before any other call.
 
virtual void setTime (AdaptInfo &adaptInfo)=0
 Executes all needed operations when the simulation time changes. More...
 
virtual void initTimestep (AdaptInfo &adaptInfo)=0
 Called at the beginning of each timestep. More...
 
virtual void closeTimestep (AdaptInfo &adaptInfo)=0
 Called at the end of each timestep. More...
 
virtual void solveInitialProblem (AdaptInfo &adaptInfo)=0
 Solves the initial problem. More...
 
virtual void transferInitialSolution (AdaptInfo &adaptInfo)=0
 Transfer the initial problem. More...
 

Detailed Description

Interface for time dependent problems. Concrete problems must override all pure virtual methods.

Member Function Documentation

◆ closeTimestep()

virtual void closeTimestep ( AdaptInfo adaptInfo)
pure virtual

Called at the end of each timestep.

Implemented in ProblemInstat< Traits >.

Referenced by AdaptInstationary::adapt().

◆ initTimestep()

virtual void initTimestep ( AdaptInfo adaptInfo)
pure virtual

Called at the beginning of each timestep.

Implemented in ProblemInstat< Traits >.

Referenced by AdaptInstationary::adapt().

◆ setTime()

virtual void setTime ( AdaptInfo adaptInfo)
pure virtual

◆ solveInitialProblem()

virtual void solveInitialProblem ( AdaptInfo adaptInfo)
pure virtual

Solves the initial problem.

Implemented in ProblemInstatBase.

Referenced by AdaptInstationary::adapt().

◆ transferInitialSolution()

virtual void transferInitialSolution ( AdaptInfo adaptInfo)
pure virtual

Transfer the initial problem.

Implemented in ProblemInstat< Traits >.

Referenced by AdaptInstationary::adapt().


The documentation for this class was generated from the following file: