Definition at line 114 of file radiation.cpp.
◆ OpCalcSurfaceAverageTemperature()
Example::OpCalcSurfaceAverageTemperature::OpCalcSurfaceAverageTemperature |
( |
boost::shared_ptr< VectorDouble > & |
approx_vals, |
|
|
double & |
sum_temp, |
|
|
double & |
surf |
|
) |
| |
Definition at line 123 of file radiation.cpp.
EdgeEle::UserDataOperator EdgeEleOp
boost::shared_ptr< VectorDouble > approxVals
◆ doWork()
[Flux Rhs]
[Ave Temp]
Definition at line 487 of file radiation.cpp.
491 if (
type == MBVERTEX) {
493 const double vol = getMeasure();
495 auto t_w = getFTensor0IntegrationWeight();
499 auto t_coords = getFTensor1CoordsAtGaussPts();
501 size_t nb_integration_pts = getGaussPts().size2();
504 for (
auto gg = 0; gg != nb_integration_pts; ++gg) {
507 const double r_cylinder = t_coords(0);
510 const double alpha = t_w * vol * (2 * M_PI * r_cylinder);
#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.
◆ approxVals
boost::shared_ptr<VectorDouble> Example::OpCalcSurfaceAverageTemperature::approxVals |
|
private |
◆ sumTemperature
double& Example::OpCalcSurfaceAverageTemperature::sumTemperature |
|
private |
◆ surfaceArea
double& Example::OpCalcSurfaceAverageTemperature::surfaceArea |
|
private |
The documentation for this struct was generated from the following file: