Definition at line 91 of file radiation.cpp.
◆ OpRadiationRhs()
Example::OpRadiationRhs::OpRadiationRhs |
( |
boost::shared_ptr< VectorDouble > & |
approx_vals | ) |
|
Definition at line 97 of file radiation.cpp.
OpBaseImpl< PETSC, EdgeEleOp > OpBase
boost::shared_ptr< VectorDouble > approxVals
◆ iNtegrate()
[Radiation Lhs]
[Radiation Lhs]
Reimplemented from MoFEM::OpBaseImpl< A, EleOp >.
Definition at line 407 of file radiation.cpp.
410 const double vol = getMeasure();
412 auto t_w = getFTensor0IntegrationWeight();
418 auto t_coords = getFTensor1CoordsAtGaussPts();
424 const double r_cylinder = t_coords(0);
427 const double alpha = t_w * vol *
Beta * (2 * M_PI * r_cylinder);
429 for (
int rr = 0; rr !=
nbRows; ++rr) {
430 if (std::abs(t_coords(0)) > std::numeric_limits<double>::epsilon()) {
#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.
constexpr double T_ambient
FTensor::Tensor0< FTensor::PackPtr< double *, 1 > > getFTensor0N(const FieldApproximationBase base)
Get base function as Tensor0.
VectorDouble locF
local entity vector
int nbRows
number of dofs on rows
int nbIntegrationPts
number of integration points
◆ approxVals
boost::shared_ptr<VectorDouble> Example::OpRadiationRhs::approxVals |
|
private |
The documentation for this struct was generated from the following file: