![]() |
v0.13.2 |
Calculate the grad-grad operator and assemble matrix. More...
#include <users_modules/tutorials/cor-2to5/src/PoissonOperators.hpp>
Public Member Functions | |
OpK (bool symm=true) | |
MoFEMErrorCode | doWork (int row_side, int col_side, EntityType row_type, EntityType col_type, EntitiesFieldData::EntData &row_data, EntitiesFieldData::EntData &col_data) |
Do calculations for give operator. More... | |
Protected Member Functions | |
virtual MoFEMErrorCode | iNtegrate (EntitiesFieldData::EntData &row_data, EntitiesFieldData::EntData &col_data) |
Integrate grad-grad operator. More... | |
virtual MoFEMErrorCode | aSsemble (EntitiesFieldData::EntData &row_data, EntitiesFieldData::EntData &col_data) |
Assemble local entity block matrix. More... | |
Protected Attributes | |
int | nbRows |
< error code More... | |
int | nbCols |
number if dof on column More... | |
int | nbIntegrationPts |
number of integration points More... | |
bool | isDiag |
true if this block is on diagonal More... | |
FTensor::Index< 'i', 3 > | i |
summit Index More... | |
MatrixDouble | locMat |
local entity block matrix More... | |
Calculate the grad-grad operator and assemble matrix.
Calculate
\[ \mathbf{K}=\int_\Omega \nabla \boldsymbol\phi \cdot \nabla \boldsymbol\phi \textrm{d}\Omega \]
and assemble to global matrix.
This operator is executed on element for each unique combination of entities.
Definition at line 25 of file PoissonOperators.hpp.
|
inline |
Definition at line 27 of file PoissonOperators.hpp.
|
inlineprotectedvirtual |
Assemble local entity block matrix.
row_data | row data (consist base functions on row entity) |
col_data | column data (consist base functions on column entity) |
Definition at line 134 of file PoissonOperators.hpp.
|
inline |
Do calculations for give operator.
row_side | row side number (local number) of entity on element |
col_side | column side number (local number) of entity on element |
row_type | type of row entity MBVERTEX, MBEDGE, MBTRI or MBTET |
col_type | type of column entity MBVERTEX, MBEDGE, MBTRI or MBTET |
row_data | data for row |
col_data | data for column |
Definition at line 41 of file PoissonOperators.hpp.
|
inlineprotectedvirtual |
Integrate grad-grad operator.
row_data | row data (consist base functions on row entity) |
col_data | column data (consist base functions on column entity) |
Reimplemented in PoissonExample::OpKt.
Definition at line 88 of file PoissonOperators.hpp.
|
protected |
|
protected |
true if this block is on diagonal
Definition at line 77 of file PoissonOperators.hpp.
|
protected |
local entity block matrix
Definition at line 80 of file PoissonOperators.hpp.
|
protected |
number if dof on column
Definition at line 75 of file PoissonOperators.hpp.
|
protected |
number of integration points
Definition at line 76 of file PoissonOperators.hpp.
|
protected |
< error code
number of dofs on rows
Definition at line 74 of file PoissonOperators.hpp.