Definition at line 114 of file photon_diffusion.cpp.
◆ OpCameraInteg()
PhotonDiffusion::OpCameraInteg::OpCameraInteg |
( |
boost::shared_ptr< CommonData > |
common_data_ptr | ) |
|
|
inline |
Definition at line 116 of file photon_diffusion.cpp.
119 std::fill(&doEntities[MBVERTEX], &doEntities[MBMAXTYPE],
false);
120 doEntities[MBTRI] = doEntities[MBQUAD] =
true;
◆ doWork()
- Examples
- photon_diffusion.cpp.
Definition at line 630 of file photon_diffusion.cpp.
633 const int nb_integration_pts = getGaussPts().size2();
634 const double area = getMeasure();
635 auto t_w = getFTensor0IntegrationWeight();
638 double values_integ = 0;
640 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
641 const double alpha = t_w * area;
643 values_integ += alpha * t_val;
650 std::array<double, 1> values;
651 values[0] = values_integ;
◆ commonDataPtr
boost::shared_ptr<CommonData> PhotonDiffusion::OpCameraInteg::commonDataPtr |
The documentation for this struct was generated from the following file: