CEPS
24.01
Cardiac ElectroPhysiology Simulator
|
An abstract class for objects (problems) that have an anode and a cathode The template argument must be or derive from ElectrodeBase.
Definition at line 42 of file HoldsElectrodes.hpp.
#include <HoldsElectrodes.hpp>
Public Member Functions | |
HoldsAnodeCathode () | |
Default constructor. More... | |
HoldsAnodeCathode (InputParameters *params, Geometry *geom=nullptr) | |
Constructor with parameters, pass geometry to compute measures. More... | |
HoldsAnodeCathode (const CepsSet< CepsAttribute > &anodeAttrs, const CepsSet< CepsAttribute > &cathodeAttrs, Geometry *geom=nullptr) | |
Constructor with sets of attributes, pass geometry to compute measures. More... | |
virtual | ~HoldsAnodeCathode () |
Destructor. More... | |
CepsSet< CepsAttribute > & | getAnodeAttributes () const |
Anode attributes. More... | |
CepsSet< CepsAttribute > & | getCathodeAttributes () const |
Cathode attributes. More... | |
void | setElectrodesAttributes (const CepsSet< CepsAttribute > &anodeAttrs, const CepsSet< CepsAttribute > &cathodeAttrs, Geometry *geom=nullptr) |
Sets the attributes. More... | |
Electrode_t * | getAnode () const |
Ptr to anode object. More... | |
Electrode_t * | getCathode () const |
Ptr to cathode object. More... | |
Protected Member Functions | |
void | checkCommonAttributes () |
Check that anode and cathode do not share attributes. More... | |
Protected Attributes | |
Electrode_t * | m_anode |
Electrode object. More... | |
Electrode_t * | m_cathode |
Electrode object. More... | |
HoldsAnodeCathode< Electrode_t >::HoldsAnodeCathode |
Default constructor.
Definition at line 36 of file HoldsElectrodes.cpp.
HoldsAnodeCathode< Electrode_t >::HoldsAnodeCathode | ( | InputParameters * | params, |
Geometry * | geom = nullptr |
||
) |
Constructor with parameters, pass geometry to compute measures.
Definition at line 43 of file HoldsElectrodes.cpp.
HoldsAnodeCathode< Electrode_t >::HoldsAnodeCathode | ( | const CepsSet< CepsAttribute > & | anodeAttrs, |
const CepsSet< CepsAttribute > & | cathodeAttrs, | ||
Geometry * | geom = nullptr |
||
) |
Constructor with sets of attributes, pass geometry to compute measures.
Definition at line 52 of file HoldsElectrodes.cpp.
|
virtual |
Destructor.
Definition at line 65 of file HoldsElectrodes.cpp.
|
protected |
Check that anode and cathode do not share attributes.
Definition at line 118 of file HoldsElectrodes.cpp.
Electrode_t * HoldsAnodeCathode< Electrode_t >::getAnode |
Ptr to anode object.
Definition at line 104 of file HoldsElectrodes.cpp.
CepsSet< CepsAttribute > & HoldsAnodeCathode< Electrode_t >::getAnodeAttributes |
Anode attributes.
Definition at line 73 of file HoldsElectrodes.cpp.
Electrode_t * HoldsAnodeCathode< Electrode_t >::getCathode |
Ptr to cathode object.
Definition at line 111 of file HoldsElectrodes.cpp.
CepsSet< CepsAttribute > & HoldsAnodeCathode< Electrode_t >::getCathodeAttributes |
Cathode attributes.
Definition at line 80 of file HoldsElectrodes.cpp.
void HoldsAnodeCathode< Electrode_t >::setElectrodesAttributes | ( | const CepsSet< CepsAttribute > & | anodeAttrs, |
const CepsSet< CepsAttribute > & | cathodeAttrs, | ||
Geometry * | geom = nullptr |
||
) |
Sets the attributes.
Definition at line 87 of file HoldsElectrodes.cpp.
|
protected |
Electrode object.
Definition at line 95 of file HoldsElectrodes.hpp.
|
protected |
Electrode object.
Definition at line 96 of file HoldsElectrodes.hpp.