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 631 of file photon_diffusion.cpp.
634 const int nb_integration_pts = getGaussPts().size2();
635 const double area = getMeasure();
636 auto t_w = getFTensor0IntegrationWeight();
639 double values_integ = 0;
641 for (
int gg = 0; gg != nb_integration_pts; ++gg) {
642 const double alpha = t_w * area;
644 values_integ += alpha * t_val;
651 std::array<double, 1> values;
652 values[0] = values_integ;
◆ commonDataPtr
boost::shared_ptr<CommonData> PhotonDiffusion::OpCameraInteg::commonDataPtr |
The documentation for this struct was generated from the following file: