CEPS
24.01
Cardiac ElectroPhysiology Simulator
|
================================================================================================ Derivation of SAFunc for constants (no dependance in space) but dependance in time
Abstract field functor (scalar, vector, tensor) dependent of time only. Basically, a f(t) function. This intermediate classs is there just to define the getFlags method. Otherwise, the eval operator must be defined in a derived class (which may use its own attributes as parameters for eval)
Definition at line 111 of file ConstantSAFunc.hpp.
#include <ConstantSAFunc.hpp>
Public Types | |
using | ResultType = std::remove_pointer_t< _Result > |
The result is the object or the pointed object. More... | |
Public Types inherited from SAFunc< std::remove_pointer_t< _Result > > | |
using | BaseFunction = ceps::Function< std::remove_pointer_t< _Result >(CepsStandardArgs)> |
Typedef for the function type. More... | |
Public Member Functions | |
TimeOnlySAFunc ()=default | |
Constructor with pointer. Stops if no argument. More... | |
TimeOnlySAFunc (const TimeOnlySAFunc &)=default | |
We allow the copy from a functor to another. More... | |
TimeOnlySAFunc & | operator= (const TimeOnlySAFunc &)=default |
We allow the assignement from a functor to another. More... | |
CepsEnum | getFlags () const override |
Eval operator, must be defined in child classes. More... | |
Public Member Functions inherited from SAFunc< std::remove_pointer_t< _Result > > | |
SAFunc (const SAFunc &)=default | |
We allow the copy from a functor to another. More... | |
SAFunc & | operator= (const SAFunc &)=default |
We allow the assignement from a functor to another. More... | |
virtual void | getLocalData () |
Authorize access to data for solvecSAFunc, other derived classes : nothing. More... | |
virtual void | releaseLocalData () |
Authorize access to data for solvecSAFunc, other derived classes : nothing. More... | |
CepsBool | hasOption (CepsFunctionFlag flag) |
Tells if option is activated. More... | |
using TimeOnlySAFunc< _Result >::ResultType = std::remove_pointer_t<_Result> |
The result is the object or the pointed object.
Definition at line 117 of file ConstantSAFunc.hpp.
|
default |
Constructor with pointer. Stops if no argument.
|
default |
We allow the copy from a functor to another.
|
overridevirtual |
Eval operator, must be defined in child classes.
None and Time, None to tell that is does not depend on space
Implements SAFunc< std::remove_pointer_t< _Result > >.
|
default |
We allow the assignement from a functor to another.