compute_target_flux_single Interface

interface
public module function compute_target_flux_single(self, mesh, penalisation, equi_storage, i_marker, g, dirind, mode) result(flux_out)

Arguments

Type IntentOptional Attributes Name
class(parallel_target_flux_t), intent(in) :: self

Instance of class

type(mesh_cart_t), intent(in) :: mesh

Mesh

type(penalisation_t), intent(in) :: penalisation

Penalisation

type(equilibrium_storage_t), intent(in) :: equi_storage

Equilibrium storage

integer, intent(in) :: i_marker

Index of point in fwd/bwd marker array

real(kind=GP), intent(in), dimension(mesh%get_n_points()) :: g

Parallel flux in plane

character(len=*), intent(in) :: dirind

Field direction indication, either: 'fwd' : Compute forward flux into penalisation 'bwd' : Compute backward flux into penalisation

character(len=*), intent(in), optional :: mode

Mode of flux computation, may select between: 'DEFAULT' : Fluxes are NOT weighted by local penalisation value 'WEIGHTED' : Fluxes are weighted by local penalisation value

Return Value real(kind=GP)

Resulting flux into into penalisation

Description

Compute parallel fluxes into penalisation region for a single flux point