![]() |
v0.15.0 |
Calculate the grad-grad operator and assemble matrix. More...
#include "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. | |
Protected Member Functions | |
virtual MoFEMErrorCode | iNtegrate (EntitiesFieldData::EntData &row_data, EntitiesFieldData::EntData &col_data) |
Integrate grad-grad operator. | |
virtual MoFEMErrorCode | aSsemble (EntitiesFieldData::EntData &row_data, EntitiesFieldData::EntData &col_data) |
Assemble local entity block matrix. | |
Protected Attributes | |
int | nbRows |
< error code | |
int | nbCols |
number if dof on column | |
int | nbIntegrationPts |
number of integration points | |
bool | isDiag |
true if this block is on diagonal | |
FTensor::Index< 'i', 3 > | i |
summit Index | |
MatrixDouble | locMat |
local entity block matrix | |
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 28 of file PoissonOperators.hpp.
|
inline |
Definition at line 30 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 137 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 44 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 91 of file PoissonOperators.hpp.
|
protected |
|
protected |
true if this block is on diagonal
Definition at line 80 of file PoissonOperators.hpp.
|
protected |
local entity block matrix
Definition at line 83 of file PoissonOperators.hpp.
|
protected |
number if dof on column
Definition at line 78 of file PoissonOperators.hpp.
|
protected |
number of integration points
Definition at line 79 of file PoissonOperators.hpp.
|
protected |
< error code
number of dofs on rows
Definition at line 77 of file PoissonOperators.hpp.