get_diffusive_flux_local Function

public function get_diffusive_flux_local(polygon, diff_flux, ks, iseg) result(res)

Computes local flux through polygon point (area associated with polygon point) diff_flux array has to be computed previously via compute_diffusive_flux

Arguments

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

integer, intent(in) :: ks

Index on polygon segment If index does not exist on segment, zero flux is returned

integer, intent(in), optional :: iseg

Segment for which flux is computed, default = 1

Return Value real(kind=GP)


Contents