Computes total flux through polygon segment from diff_flux array, which has to be computed previously via compute_diffusive_flux.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(comm_handler_t), | intent(in) | :: | comm_handler |
Communicators |
||
| type(polygon_in_mesh_t), | intent(in) | :: | polygon |
Polygon |
||
| real(kind=GP), | intent(in), | dimension(polygon%get_np_total()) | :: | diff_flux |
Diffusive flux through boundary in between polygon points and its connected points obtained from compute_diffusive_flux |
|
| logical, | intent(in) | :: | sum_over_planes |
If true summation over planes is performed. This assumes that polygons have same structure over planes |
||
| integer, | intent(in), | optional | :: | iseg |
Segment for which flux is computed. If not present then flux summed over all segments is returned |