38 m_vm(problem->getTMVUnknown())
60 CepsMathTensor sigmaM = (sigmaI.inverse() + sigmaE.inverse()).inverse();
67 m_bMat[0][0] += phi*phi.transpose();
71 m_bMat[0][0] += 1.0/(Am*Cm)*gradPhi.transpose()*sigmaM*gradPhi;
@ TimeDerivative
Compute matrix of time derivatives.
@ SpatialOperator
Compute matrix of spatial operators.
Eigen::Matrix< CepsScalar, Eigen::Dynamic, 1 > CepsMathDynamic1D
Dynamic 1D array, eigen format.
Eigen::Matrix< CepsScalar, 3, 3 > CepsMathTensor
Tensor, eigen format.
float CepsReal
Need single precision floating point.
CepsArray3< CepsReal > CepsReal3D
Three real scalars, used like this for compatibility in polynomials.
Eigen::Matrix< CepsScalar, Eigen::Dynamic, Eigen::Dynamic > CepsMathDynamic2D
Dynamic 2D array, eigen format.
CepsAssemblingFlag getAssemblingFlag() const
Get part to assemble in an assembler, see values of CepsAssemblingFlag.
void setupBlocksOnElementForUnknown(FEBase *elem, Unknown *unknown)
Get all the dofs on an element related to the given unknowns. This routine MUST be called before sumB...
CepsVector< CepsVector< CepsMathDynamic2D > > m_bMat
Block submatrices. The first two vectors account for unknowns: if assembly on element if for unknowns...
Abstract class for finite elements.
Common elements of cardiac assemblers.
ScalarSAFunc * m_Cm
Shortcut to Cm coefficient.
TensorField< GeomCell > * m_sigmaE
Shortcut to conductivities.
TensorField< GeomCell > * m_sigmaI
Shortcut to conductivities.
ScalarSAFunc * m_Am
Shortcut to Am coefficient.
Assembles the heat problem matrix for a given set of finite elements. here the diffusion coefficient ...
FEMonodomainAssembler(MonodomainProblem *problem, FiniteElements *fe)
Constructor.
void computeBlocksOnElementAtQuadPoint(FEBase *element, CepsReal3D xQ, CepsReal t, const CepsMathDynamic1D &phi, const CepsMathDynamic2D &gradPhi) override
The function that is called to get the coefficients of the submatrix on a given finite element....
Unknown * m_vm
Link to transmembrane voltage unknown.
Holds all finite elements corresponding to each geometrical element.
Defines and solve the monodomain problem, see models page of user doc.
Unknown * getTMVUnknown() const
Link to the single unknown of the problem.
_GeomObject * getGeomObject() const
Get the geom object.
const CepsGlobalIndex & getGlobalIndex() const
Get the index
Structure used to pass arguments to SAFunc (see pde directory) The flags of the SAFunc allows extract...
CepsCellGlobalIndex cellId
cell index