#include <users_modules/tutorials/cor-2to5/src/PoissonOperators.hpp>
Definition at line 739 of file PoissonOperators.hpp.
◆ OpRes_g()
PoissonExample::OpRes_g::OpRes_g |
( |
FVal |
f_value, |
|
|
boost::shared_ptr< VectorDouble > & |
field_vals |
|
) |
| |
◆ iNtegrate()
Integrate local constrains vector.
Reimplemented from PoissonExample::Op_g.
- Examples
- PoissonOperators.hpp.
Definition at line 750 of file PoissonOperators.hpp.
757 const double area = getArea() *
bEta;
759 auto t_w = getFTensor0IntegrationWeight();
761 auto t_l = data.getFTensor0N();
765 auto t_coords = getFTensor1CoordsAtGaussPts();
770 double alpha = area * t_w;
774 for (
int rr = 0; rr !=
nbRows; rr++) {
776 (t_u -
fValue(t_coords(
NX), t_coords(
NY), t_coords(
NZ)));
#define MoFEMFunctionBegin
First executable line of each MoFEM function, used for error handling. Final line of MoFEM functions ...
#define MoFEMFunctionReturn(a)
Last executable line of each PETSc function used for error handling. Replaces return()
static auto getFTensor0FromVec(ublas::vector< T, A > &data)
Get tensor rank 0 (scalar) form data vector.
FTensor::Number< 2 > NZ
z-direction index
FTensor::Number< 0 > NX
x-direction index
FTensor::Number< 1 > NY
y-direction index
FVal fValue
Function pointer evaluating values of "U" at the boundary.
int nbIntegrationPts
number of integration points
◆ fieldVals
boost::shared_ptr<VectorDouble> PoissonExample::OpRes_g::fieldVals |
|
protected |
The documentation for this struct was generated from the following file: