Function opensn::ComputeLeakage(DiscreteOrdinatesProblem&, unsigned int, uint64_t)

Function Documentation

std::vector<double> opensn::ComputeLeakage(DiscreteOrdinatesProblem &do_problem, unsigned int groupset_id, uint64_t boundary_id)

Computes the angular flux based leakage from boundary surfaces.

Parameters:
  • do_problem – The discrete ordinates problem supplying the current angular flux state.

  • groupset_id – The groupset for which to compute the leakage.

  • boundary_id – The boundary id for which to perform the integration.

Returns:

The leakage as a value.