CEPS
24.01
Cardiac ElectroPhysiology Simulator
|
Computes the integral of a quantity on the whole domain or subdomains, using a FE matrix.
The quantity to integrate is extracted from a distributed vector, which is passed at call. Attributes and unknowns can be given to the constructor to restrict the data to subdomains or given unknowns.
A matrix can be passed to calls to integrate if it has already been assembled
Definition at line 45 of file FEIntegrator.hpp.
#include <FEIntegrator.hpp>
Public Member Functions | |
~FEIntegrator () override | |
Destructor. More... | |
CepsReal | integrate (DHVecPtr u, DMatPtr mat=nullptr) |
Returns the value of the integral by computing ones dot Mu. More... | |
CepsReal | integrate (DHVecPtr u, DHVecPtr v, DMatPtr mat=nullptr) |
Returns the value of the product u dot Mv. More... | |
Protected Member Functions | |
void | addMatrixBlockContribution () override |
Adds the content of the block matrices to the integral to compute. More... | |
void | addZeroDMatBlockContribution (CepsReal value, DegreeOfFreedom *a, DegreeOfFreedom *b) override |
Adds the content of the block matrices to the integral to compute (zeroD unknowns only) More... | |
CepsReal | integrateInternal (DMatPtr mat) |
Internal routine to integrate, assemble and reduce computed value on each procs. More... | |
Protected Attributes | |
DHVecPtr | m_integralU |
Left quantity to integrate in (u,v) More... | |
DHVecPtr | m_integralV |
Right quantity to integrate in (u,v) More... | |
CepsReal | m_integralValue |
Integral value, partially computed on this proc. More... | |
|
override |
Destructor.
|
overrideprotected |
Adds the content of the block matrices to the integral to compute.
|
overrideprotected |
Adds the content of the block matrices to the integral to compute (zeroD unknowns only)
CepsReal FEIntegrator< _OriginalAssembler >::integrate | ( | DHVecPtr | u, |
DHVecPtr | v, | ||
DMatPtr | mat = nullptr |
||
) |
Returns the value of the product u dot Mv.
u | first vector |
v | second vector |
CepsReal FEIntegrator< _OriginalAssembler >::integrate | ( | DHVecPtr | u, |
DMatPtr | mat = nullptr |
||
) |
Returns the value of the integral by computing ones dot Mu.
u | quantity to integrate |
|
protected |
Internal routine to integrate, assemble and reduce computed value on each procs.
|
protected |
Left quantity to integrate in (u,v)
Definition at line 86 of file FEIntegrator.hpp.
|
protected |
Right quantity to integrate in (u,v)
Definition at line 87 of file FEIntegrator.hpp.
|
protected |
Integral value, partially computed on this proc.
Definition at line 88 of file FEIntegrator.hpp.