CEPS
24.01
Cardiac ElectroPhysiology Simulator
|
Functions with result that is deduced from a coefficient and an interpolation map.
Interpolation is linear. Could be enhanced, for sure.
_Result | The result type of the stored object |
_Object | The type of stored object |
Definition at line 43 of file InterpolationSAFunc.hpp.
#include <InterpolationSAFunc.hpp>
Public Member Functions | |
CoeffInterpolatorSAFunc (const CepsMap< CepsReal, _Result > &map, ScalarSAFunc *coeff) | |
Constructor with map. Flag is the expected flag of the coefficient used to interpolate. More... | |
CoeffInterpolatorSAFunc (const CoeffInterpolatorSAFunc &)=default | |
We allow the copy from a functor to another. More... | |
CoeffInterpolatorSAFunc & | operator= (const CoeffInterpolatorSAFunc &)=default |
We allow the assignement from a functor to another. More... | |
_Result | eval (CepsStandardArgs args) final |
Call operator to evaluate functor. More... | |
CepsEnum | getFlags () const final |
flag is Attribute only More... | |
void | setCoeff (ScalarSAFunc *coeff) |
Sets the selector function for standard args. More... | |
Public Member Functions inherited from SAFunc< _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... | |
Protected Attributes | |
CepsMap< CepsReal, _Result > | m_map |
The mapping between regions and values. More... | |
ScalarSAFunc * | m_coeff |
Scalar function used to interpolate. More... | |
Additional Inherited Members | |
Public Types inherited from SAFunc< _Result > | |
using | BaseFunction = ceps::Function< _Result(CepsStandardArgs)> |
Typedef for the function type. More... | |
|
explicit |
Constructor with map. Flag is the expected flag of the coefficient used to interpolate.
|
default |
We allow the copy from a functor to another.
|
final |
Call operator to evaluate functor.
|
finalvirtual |
flag is Attribute only
Implements SAFunc< _Result >.
|
default |
We allow the assignement from a functor to another.
void CoeffInterpolatorSAFunc< _Result >::setCoeff | ( | ScalarSAFunc * | coeff | ) |
Sets the selector function for standard args.
|
protected |
Scalar function used to interpolate.
Definition at line 78 of file InterpolationSAFunc.hpp.
|
protected |
The mapping between regions and values.
Definition at line 75 of file InterpolationSAFunc.hpp.