get_diffusive_flux_total Function

public function get_diffusive_flux_total(comm_handler, polygon, diff_flux, sum_over_planes, iseg) result(res)

Computes total flux through polygon segment from diff_flux array, which has to be computed previously via compute_diffusive_flux.

Arguments

Type IntentOptional 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

Return Value real(kind=GP)


Contents