v0.14.0 |
Evaluate error. More...
#include <users_modules/tutorials/cor-2to5/src/PoissonOperators.hpp>
Public Types | |
typedef boost::function< double(const double, const double, const double)> | UVal |
typedef boost::function< FTensor::Tensor1< double, 3 > const double, const double, const double)> | GVal |
Public Member Functions | |
OpError (UVal u_value, GVal g_value, boost::shared_ptr< VectorDouble > &field_vals, boost::shared_ptr< MatrixDouble > &grad_vals, Vec global_error) | |
MoFEMErrorCode | doWork (int row_side, EntityType row_type, EntitiesFieldData::EntData &row_data) |
Public Member Functions inherited from PoissonExample::OpBaseRhs< VolumeElementForcesAndSourcesCore::UserDataOperator > | |
OpBaseRhs (const std::string field_name) | |
MoFEMErrorCode | doWork (int row_side, EntityType row_type, EntitiesFieldData::EntData &row_data) |
This function is called by finite element. More... | |
Private Member Functions | |
MoFEMErrorCode | iNtegrate (EntitiesFieldData::EntData &data) |
Integrate error. More... | |
MoFEMErrorCode | aSsemble (EntitiesFieldData::EntData &data) |
Assemble error. More... | |
Private Attributes | |
Vec | globalError |
ghost vector with global (integrated over volume) error More... | |
FTensor::Number< 0 > | NX |
FTensor::Number< 1 > | NY |
FTensor::Number< 2 > | NZ |
FTensor::Index< 'i', 3 > | i |
UVal | uValue |
function with exact solution More... | |
GVal | gValue |
function with exact solution for gradient More... | |
boost::shared_ptr< VectorDouble > | fieldVals |
boost::shared_ptr< MatrixDouble > | gradVals |
Additional Inherited Members | |
Protected Attributes inherited from PoissonExample::OpBaseRhs< VolumeElementForcesAndSourcesCore::UserDataOperator > | |
int | nbRows |
< error code More... | |
int | nbIntegrationPts |
number of integration points More... | |
Evaluate error.
Definition at line 491 of file PoissonOperators.hpp.
typedef boost::function<FTensor::Tensor1<double, 3> const double, const double, const double)> PoissonExample::OpError::GVal |
Definition at line 498 of file PoissonOperators.hpp.
typedef boost::function<double(const double, const double, const double)> PoissonExample::OpError::UVal |
Definition at line 495 of file PoissonOperators.hpp.
|
inline |
|
inlineprivatevirtual |
Assemble error.
Implements PoissonExample::OpBaseRhs< VolumeElementForcesAndSourcesCore::UserDataOperator >.
Definition at line 575 of file PoissonOperators.hpp.
|
inline |
|
inlineprivatevirtual |
Integrate error.
Implements PoissonExample::OpBaseRhs< VolumeElementForcesAndSourcesCore::UserDataOperator >.
Definition at line 535 of file PoissonOperators.hpp.
|
private |
Definition at line 529 of file PoissonOperators.hpp.
|
private |
ghost vector with global (integrated over volume) error
Definition at line 520 of file PoissonOperators.hpp.
|
private |
Definition at line 530 of file PoissonOperators.hpp.
|
private |
function with exact solution for gradient
Definition at line 527 of file PoissonOperators.hpp.
|
private |
Definition at line 525 of file PoissonOperators.hpp.
|
private |
Definition at line 522 of file PoissonOperators.hpp.
|
private |
Definition at line 523 of file PoissonOperators.hpp.
|
private |
Definition at line 524 of file PoissonOperators.hpp.
|
private |
function with exact solution
Definition at line 526 of file PoissonOperators.hpp.