47 static constexpr
const char*
u =
"Potential field (mV)";
49 static constexpr
const char*
UCathode =
"Cathode potential (mV)";
51 static constexpr
const char*
UAnode =
"Anode potential (mV)";
53 static constexpr
const char*
VCets =
"CETS voltage (mV)";
55 static constexpr
const char*
VCts =
"CTS voltage (mV)";
std::set< _Type, _Compare, _Alloc > CepsSet
C++ set.
float CepsReal
Need single precision floating point.
std::shared_ptr< DistributedHaloVector > DHVecPtr
Typedef for pointer on Distributed Halo CepsVector.
Common elements of problems with a pacemaker.
Encapsulates all the geometrical data.
Heat PDE, single unknown, constant diffusion coeff 1, homogeneous Neumann (no BC defined)
PowerSupply(PacemakerPoissonProblem *problem)
constructor
CepsReal eval(CepsStandardArgs args) final
Evaluation function.
~PowerSupply() override=default
destructor
Bidomain equation with extracardiac medium and connected to a pacemaker main class.
Unknown * getVCtsUnknown() const override
Link to the VCts unknown of the problem.
Unknown * getUFieldUnknown() const
Link to the u unknown of the problem.
Unknown * getVCetsUnknown() const override
Link to the VCets unknown of the problem.
void run() override
Run the simulation.
Unknown * getUCathodeUnknown() const override
Link to the Um unknown of the problem.
void getInitialCondition(DHVecPtr v0) const override
Zero and fill with initial conditions for vm and ue, and put QCets to Cets*AmpStim.
void defineSourceTerms() override
Define the source terms.
CepsSet< CepsAttribute > getAnodeAttributes() const
Get cathode attributes if set.
void defineBoundaryConditions() override
Define the boundary conditions.
void defineUnknowns() override
Transmembrane voltage (mV), Extracellular potential (mV) and both potential of the pacemaker.
CepsSet< CepsAttribute > getCathodeAttributes() const
Get cathode attributes if set.
virtual ~PacemakerPoissonProblem()=default
Destructor.
void setupWithParameters(InputParameters *params) override
Sets options from the parameters.
PacemakerPoissonProblem(Geometry *g, InputParameters *=nullptr)
Constructor from geometry and possibly parameters.
Unknown * getUAnodeUnknown() const override
Link to the Up unknown of the problem.
A class used to defined an unknown of a PDE problem The unknown can be defined on a specific region,...
Structure used to pass arguments to SAFunc (see pde directory) The flags of the SAFunc allows extract...
Struct for all names of unknowns.
static constexpr const char * UAnode
Potential of anode (device side)
static constexpr const char * VCts
Voltage on reserve capacitor.
static constexpr const char * u
Potential in computational domain.
static constexpr const char * UCathode
Potential of cathode (device side)
static constexpr const char * VCets
Voltage on tank capacitor.