MaMiCo 1.2
|
#include <PintableMacroSolver.h>
Public Types | |
using | State = PintableMacroSolverState |
Public Member Functions | |
virtual std::unique_ptr< State > | clone () const =0 |
virtual int | getSizeBytes () const =0 |
virtual std::unique_ptr< State > | operator+ (const State &)=0 |
virtual std::unique_ptr< State > | operator- (const State &)=0 |
virtual bool | operator== (const State &) const =0 |
virtual double * | getData ()=0 |
virtual const double * | getData () const =0 |
virtual void | print (std::ostream &os) const =0 |
Friends | |
std::ostream & | operator<< (std::ostream &os, const coupling::interface::PintableMacroSolverState &s) |
Interface for state instances
|
pure virtual |
For MPI communication, raw pointer of the underlying data is needed
Implemented in coupling::solvers::LBCouetteSolverState.
|
pure virtual |
For MPI communication, raw pointer of the underlying data is needed
Implemented in coupling::solvers::LBCouetteSolverState.
|
pure virtual |
For MPI communication, size of a State object must be known
Implemented in coupling::solvers::LBCouetteSolverState.
|
pure virtual |
For Parareal algorithm, it must be possible to add states. This is expected to operate element-wise
Implemented in coupling::solvers::LBCouetteSolverState.
|
pure virtual |
For Parareal algorithm, it must be possible to substract states. This is expected to operate element-wise
Implemented in coupling::solvers::LBCouetteSolverState.
|
pure virtual |
For tests, it must be possible to compare states. This is expected to operate element-wise
Implemented in coupling::solvers::LBCouetteSolverState.
|
pure virtual |
this is expected to print information about the type of this state object to os
Implemented in coupling::solvers::LBCouetteSolverState.