CEPS  24.01
Cardiac ElectroPhysiology Simulator
CLMonodomainProblem::Ufunc Class Reference

Detailed Description

Simply f(u) = u with u from vector.

Definition at line 47 of file CLMonodomainProblem.hpp.

#include <CLMonodomainProblem.hpp>

Inheritance diagram for CLMonodomainProblem::Ufunc:
[legend]

Public Member Functions

 Ufunc (DHVecPtr *sol, CepsFunctionFlag loc)
 Constructor. More...
 
CepsReal eval (CepsStandardArgs args) final
 Returs f(u)=u. More...
 
- Public Member Functions inherited from SolVecSAFunc
 SolVecSAFunc (DHVecPtr *sol, CepsFunctionFlag loc)
 Default constructor. Vector is passed as pointer on pointer in order to pass a U^n, which adress can change (e.g. in multistep methods) More...
 
 SolVecSAFunc (const SolVecSAFunc &)=default
 We allow the copy from a functor to another. More...
 
SolVecSAFuncoperator= (const SolVecSAFunc &)=default
 We allow the assignement from a functor to another. More...
 
void setDataPointer (DHVecPtr *sol)
 Sets the link to data. More...
 
CepsEnum getFlags () const final
 Return the vector dependance flag + location, does not mean that the content of the vector can not change. More...
 
virtual void getLocalData () final
 Authorize access to data for solvecSAFunc, other derived classes : nothing. More...
 
virtual void releaseLocalData () final
 Authorize access to data for solvecSAFunc, other derived classes : nothing. More...
 
- Public Member Functions inherited from SAFunc< CepsReal >
 SAFunc (const SAFunc &)=default
 We allow the copy from a functor to another. More...
 
SAFuncoperator= (const SAFunc &)=default
 We allow the assignement from a functor to another. More...
 
CepsBool hasOption (CepsFunctionFlag flag)
 Tells if option is activated. More...
 

Additional Inherited Members

- Public Types inherited from SAFunc< CepsReal >
using BaseFunction = ceps::Function< CepsReal(CepsStandardArgs)>
 Typedef for the function type. More...
 
- Protected Member Functions inherited from SolVecSAFunc
void checkLocation (const CepsFunctionFlag &loc)
 Determines if flag passed in constructor is valid (cells or nodes ID) More...
 
void setArgsFromLocation (CepsStandardArgs &args) const
 Sets args.u from the location flag. More...
 
- Protected Attributes inherited from SolVecSAFunc
DHVecPtrm_sol
 Pointed data. More...
 
CepsFunctionFlag m_location
 To get the correct index in the vector. More...
 

Constructor & Destructor Documentation

◆ Ufunc()

CLMonodomainProblem::Ufunc::Ufunc ( DHVecPtr sol,
CepsFunctionFlag  loc 
)

Constructor.

Definition at line 37 of file CLMonodomainProblem.cpp.

Member Function Documentation

◆ eval()

CepsReal CLMonodomainProblem::Ufunc::eval ( CepsStandardArgs  args)
final

Returs f(u)=u.

Definition at line 43 of file CLMonodomainProblem.cpp.


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