44 static constexpr
const char*
vm1 =
"Transmembrane voltage layer 1 (mV)";
46 static constexpr
const char*
vm2 =
"Transmembrane voltage layer 2 (mV)";
std::basic_string< CepsChar > CepsString
C++ format string.
std::set< _Type, _Compare, _Alloc > CepsSet
C++ set.
std::vector< _Type, _Alloc > CepsVector
C++ vector.
float CepsReal
Need single precision floating point.
TensorField< GeomCell > * m_sigmaI2
Intracellular conductivity, defined on cells.
TensorField< GeomCell > * getSigmaE2() const
Link to extracellular conductivity.
BilayerMonodomainProblem(Geometry *g, InputParameters *=nullptr)
Constructor with input strings and geometry.
CepsBool m_couplingAttrNeg
true if given attribute is for UNcoupled elements
CepsVector< Unknown * > getTMVUnknowns() const override
Returns a vector containing all unknowns that are a TMV (especially useful for bilayer)
CepsString m_sigmaEOptions2
Extracellular conductivity parameters string for layer 2.
Unknown * getTMVUnknown1() const
Link to the single unknown of the problem.
CepsReal getCouplingStrength() const
coefficient that forces u1=u2 on coupled elements
void setupWithParameters(InputParameters *p) override
Initializes the problem from text input file.
CepsReal m_couplingStr
adds s*(u1-u2) on coupled elements
CepsString m_fibersOptions2
Text input description.
TensorField< GeomCell > * m_sigmaE2
Extracellulat conductivity, defined on cells.
TensorField< GeomCell > * getSigmaI2() const
Link to intracellular conductivity.
Unknown * getTMVUnknown2() const
Link to the single unknown of the problem.
CepsVector< Unknown * > getCardiacUnknowns() const override
Returns a vector containing all unknowns that are cardiac unknowns (eg. vm, ui or ue)
CepsSet< CepsAttribute > getCouplingAttributes() const
where to apply coupling
void defineUnknowns() override
A single unknown for transmembrane voltage.
CepsSet< CepsAttribute > m_couplingAttrs
where to apply coupling
CepsString m_sigmaIOptions2
Intracellular conductivity parameters string for layer 2.
void run() override
Run the simulation.
~BilayerMonodomainProblem()=default
Destructor.
void initializeConductivities() override
Sets the myocardium with physical properties for both layers.
CepsBool getCouplingAttrNeg() const
true if given attribute if for UNcoupled elements
A abstract class that regroups common parameters of cardiac problems.
A Field is an object wrapped around a SAFunc functor, defined on at least one domain.
Encapsulates all the geometrical data.
A class used to defined an unknown of a PDE problem The unknown can be defined on a specific region,...
name of unknowns in a struct
static constexpr const char * vm1
Transmembrane voltage layer 1.
static constexpr const char * vm2
Transmembrane voltage layer 2.