Function opensn::ComputeLeakage(DiscreteOrdinatesProblem&, unsigned int, uint64_t)
Defined in File discrete_ordinates_compute.h
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. For a problem with an uncollided flux this is the leakage of the collided part alone, since the angular flux holds only that part; the uncollided outflow is the uncollided_outflow_rate of the balance table.