The TELEMAC-MASCARET system  trunk
Functions/Subroutines
tvf_2.f File Reference

Go to the source code of this file.

Functions/Subroutines

subroutine tvf_2 (F, FSTAR, FC, VOLU2D, UNSV2D, DT, FXBOR, FXBORPAR, FBOR, SMH, YASMH, FSCEXP, NPOIN, NPTFR, NBOR, LIMTRA, KDIR, KDDL, OPTSOU, HLIN, IOPT2, FLBORTRA, SURNIT, RAIN, PLUIE, TRAIN, PHI_I, TETAFCOR, MASS_BAL, MASSOU)
 

Function/Subroutine Documentation

◆ tvf_2()

subroutine tvf_2 ( double precision, dimension(npoin), intent(inout)  F,
double precision, dimension(npoin), intent(in)  FSTAR,
double precision, dimension(npoin), intent(in)  FC,
double precision, dimension(npoin), intent(in)  VOLU2D,
double precision, dimension(npoin), intent(in)  UNSV2D,
double precision, intent(in)  DT,
double precision, dimension(nptfr), intent(in)  FXBOR,
double precision, dimension(npoin), intent(in)  FXBORPAR,
double precision, dimension(nptfr), intent(in)  FBOR,
double precision, dimension(npoin), intent(in)  SMH,
logical, intent(in)  YASMH,
double precision, dimension(npoin), intent(in)  FSCEXP,
integer, intent(in)  NPOIN,
integer, intent(in)  NPTFR,
integer, dimension(nptfr), intent(in)  NBOR,
integer, dimension(nptfr), intent(in)  LIMTRA,
integer, intent(in)  KDIR,
integer, intent(in)  KDDL,
integer, intent(in)  OPTSOU,
double precision, dimension(npoin), intent(in)  HLIN,
integer, intent(in)  IOPT2,
double precision, dimension(nptfr), intent(inout)  FLBORTRA,
double precision, intent(in)  SURNIT,
logical, intent(in)  RAIN,
double precision, dimension(*), intent(in)  PLUIE,
double precision, intent(in)  TRAIN,
double precision, dimension(npoin), intent(in)  PHI_I,
double precision, intent(in)  TETAFCOR,
logical, intent(in)  MASS_BAL,
double precision, intent(inout)  MASSOU 
)
Parameters
[in]npoinMASS_BAL If yes, flbortra will be updated for the MASS BALANCE.
[in]DTTime-step
[out]FValues of f at time n+1 of sub-iteration
[in]FBORValues of f at the prescribed boundaries
[in]FCValues of f at time n of sub-iteration
[in,out]FLBORTRAFlux of tracer at the boundaries
[in]FSTARValue of the predictor
[in]FSCEXPExplicit source term for f
[in]FXBORFluxes on boundaries
[in]FXBORPARFluxes on boundaries (defined on all domain AND ASSEMBLED IN PARALLEL)
[in]HLINWater depth at time n+1 (WITH LINEAR INTERPOLATION IN TIME BETWEEN HN AND H)
[in]IOPT20: conservative advection field 1: NON CONSERVATIVE ADVECTION FIELD
[in]KDDLConvention for degree of freedom
[in]KDIRConvention for dirichlet point
[in]LIMTRATechnical boundary conditions for tracers
[in]MASS_BALIf yes, all terms for mass balance WILL BE COMPUTED
[in,out]MASSOUAdded mass by source terms
[in]NBORGlobal number of boundary points
[in]NPOINNumber of points
[in]NPTFRNumber of boundary points
[in]OPTSOUType of sources 1: NORMAL 2: DIRAC
[in]PHI_IContributions per point
[in]PLUIERain or evaporation, in m/s
[in]RAINIf yes: rain or evaporation
[in]SMHSource term in continuity equation
[in]SURNITSurnit=1/nit
[in]TETAFCORSemi_implicitation coefficient (CASE OF PREDICTOR CORRECTOR)
[in]TRAINValue of tracer in rain
[in]UNSV2DInverse of integrals of test functions
[in]YASMHIf yes, smh must be taken into account
[in]nptfrMASS_BAL If yes, flbortra will be updated for the MASS BALANCE.
[in]DTTime-step
[out]FValues of f at time n+1 of sub-iteration
[in]FBORValues of f at the prescribed boundaries
[in]FCValues of f at time n of sub-iteration
[in,out]FLBORTRAFlux of tracer at the boundaries
[in]FSTARValue of the predictor
[in]FSCEXPExplicit source term for f
[in]FXBORFluxes on boundaries
[in]FXBORPARFluxes on boundaries (defined on all domain AND ASSEMBLED IN PARALLEL)
[in]HLINWater depth at time n+1 (WITH LINEAR INTERPOLATION IN TIME BETWEEN HN AND H)
[in]IOPT20: conservative advection field 1: NON CONSERVATIVE ADVECTION FIELD
[in]KDDLConvention for degree of freedom
[in]KDIRConvention for dirichlet point
[in]LIMTRATechnical boundary conditions for tracers
[in]MASS_BALIf yes, all terms for mass balance WILL BE COMPUTED
[in,out]MASSOUAdded mass by source terms
[in]NBORGlobal number of boundary points
[in]NPOINNumber of points
[in]NPTFRNumber of boundary points
[in]OPTSOUType of sources 1: NORMAL 2: DIRAC
[in]PHI_IContributions per point
[in]PLUIERain or evaporation, in m/s
[in]RAINIf yes: rain or evaporation
[in]SMHSource term in continuity equation
[in]SURNITSurnit=1/nit
[in]TETAFCORSemi_implicitation coefficient (CASE OF PREDICTOR CORRECTOR)
[in]TRAINValue of tracer in rain
[in]UNSV2DInverse of integrals of test functions
[in]YASMHIf yes, smh must be taken into account
[in]kdirMASS_BAL If yes, flbortra will be updated for the MASS BALANCE.
[in]DTTime-step
[out]FValues of f at time n+1 of sub-iteration
[in]FBORValues of f at the prescribed boundaries
[in]FCValues of f at time n of sub-iteration
[in,out]FLBORTRAFlux of tracer at the boundaries
[in]FSTARValue of the predictor
[in]FSCEXPExplicit source term for f
[in]FXBORFluxes on boundaries
[in]FXBORPARFluxes on boundaries (defined on all domain AND ASSEMBLED IN PARALLEL)
[in]HLINWater depth at time n+1 (WITH LINEAR INTERPOLATION IN TIME BETWEEN HN AND H)
[in]IOPT20: conservative advection field 1: NON CONSERVATIVE ADVECTION FIELD
[in]KDDLConvention for degree of freedom
[in]KDIRConvention for dirichlet point
[in]LIMTRATechnical boundary conditions for tracers
[in]MASS_BALIf yes, all terms for mass balance WILL BE COMPUTED
[in,out]MASSOUAdded mass by source terms
[in]NBORGlobal number of boundary points
[in]NPOINNumber of points
[in]NPTFRNumber of boundary points
[in]OPTSOUType of sources 1: NORMAL 2: DIRAC
[in]PHI_IContributions per point
[in]PLUIERain or evaporation, in m/s
[in]RAINIf yes: rain or evaporation
[in]SMHSource term in continuity equation
[in]SURNITSurnit=1/nit
[in]TETAFCORSemi_implicitation coefficient (CASE OF PREDICTOR CORRECTOR)
[in]TRAINValue of tracer in rain
[in]UNSV2DInverse of integrals of test functions
[in]YASMHIf yes, smh must be taken into account
[in]kddlMASS_BAL If yes, flbortra will be updated for the MASS BALANCE.
[in]DTTime-step
[out]FValues of f at time n+1 of sub-iteration
[in]FBORValues of f at the prescribed boundaries
[in]FCValues of f at time n of sub-iteration
[in,out]FLBORTRAFlux of tracer at the boundaries
[in]FSTARValue of the predictor
[in]FSCEXPExplicit source term for f
[in]FXBORFluxes on boundaries
[in]FXBORPARFluxes on boundaries (defined on all domain AND ASSEMBLED IN PARALLEL)
[in]HLINWater depth at time n+1 (WITH LINEAR INTERPOLATION IN TIME BETWEEN HN AND H)
[in]IOPT20: conservative advection field 1: NON CONSERVATIVE ADVECTION FIELD
[in]KDDLConvention for degree of freedom
[in]KDIRConvention for dirichlet point
[in]LIMTRATechnical boundary conditions for tracers
[in]MASS_BALIf yes, all terms for mass balance WILL BE COMPUTED
[in,out]MASSOUAdded mass by source terms
[in]NBORGlobal number of boundary points
[in]NPOINNumber of points
[in]NPTFRNumber of boundary points
[in]OPTSOUType of sources 1: NORMAL 2: DIRAC
[in]PHI_IContributions per point
[in]PLUIERain or evaporation, in m/s
[in]RAINIf yes: rain or evaporation
[in]SMHSource term in continuity equation
[in]SURNITSurnit=1/nit
[in]TETAFCORSemi_implicitation coefficient (CASE OF PREDICTOR CORRECTOR)
[in]TRAINValue of tracer in rain
[in]UNSV2DInverse of integrals of test functions
[in]YASMHIf yes, smh must be taken into account

Definition at line 10 of file tvf_2.f.

+ Here is the caller graph for this function: