get_drift_flux_local Function

public function get_drift_flux_local(polygon, drift_flux, ks, iseg) result(res)

Computes local flux through polygon point (area associated with polygon point) drift_flux array has to be computed previously via compute_drift_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()) :: drift_flux

Drift flux through boundary in between polygon points, obtained via compute_drift_flux routine

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