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

Go to the source code of this file.

Functions/Subroutines

subroutine tvf (F, FC, H, FXMAT, FXMATPAR, VOLU2D, UNSV2D, DT, FXBOR, FXBORPAR, T7, FBOR, SMH, YASMH, FSCEXP, NSEG, NPOIN, NPTFR, GLOSEG, SIZGLO, NBOR, LIMTRA, KDIR, KDDL, OPTSOU, HLIN, IOPT2, FLBORTRA, SURNIT, MESH, RAIN, PLUIE, TRAIN, MASSOU, MASS_BALANCE)
 

Function/Subroutine Documentation

◆ tvf()

subroutine tvf ( double precision, dimension(npoin), intent(inout)  F,
double precision, dimension(npoin), intent(in)  FC,
double precision, dimension(npoin), intent(in)  H,
double precision, dimension(nseg), intent(in)  FXMAT,
double precision, dimension(nseg), intent(in)  FXMATPAR,
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,
type(bief_obj), intent(inout)  T7,
double precision, dimension(nptfr), intent(in)  FBOR,
double precision, dimension(*), intent(in)  SMH,
logical, intent(in)  YASMH,
double precision, dimension(*), intent(in)  FSCEXP,
integer, intent(in)  NSEG,
integer, intent(in)  NPOIN,
integer, intent(in)  NPTFR,
integer, dimension(sizglo,2), intent(in)  GLOSEG,
integer, intent(in)  SIZGLO,
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,
type(bief_mesh), intent(inout)  MESH,
logical, intent(in)  RAIN,
double precision, dimension(*), intent(in)  PLUIE,
double precision, intent(in)  TRAIN,
double precision, intent(inout)  MASSOU,
logical, intent(in)  MASS_BALANCE 
)
Parameters
[in]nsegDT Time-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]FSCEXPExplicit source term for f
[in]FXBORFluxes on boundaries
[in]FXBORPARFluxes on boundaries (defined on all domain AND ASSEMBLED IN PARALLEL)
[in]FXMATFluxes (non assembled in parallel)
[in]FXMATPARFluxes (assembled in parallel)
[in]GLOSEGGlobal number of the 2 points of a segment.
[in]HWater depth at time n+1 (VALUE COMPATIBLE WITH CONTINUITY)
[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_BALANCEIf yes, all terms for mass balance WILL BE COMPUTED
[in]MASSOUMass added by source term
[in]MESHMesh structure
[in]NBORGlobal number of boundary points
[in]NPOINNumber of points
[in]NPTFRNumber of boundary points
[in]NSEGNumber of segments
[in]OPTSOUType of sources 1: NORMAL 2: DIRAC
[in]PLUIERain or evaporation, in m/s
[in]RAINIf yes: rain or evaporation
[in]SIZGLOFirst dimension of gloseg
[in]SMHSource term in continuity equation
[in]SURNITSurnit=1/nit
[in,out]T7Bief_obj structure for a work array
[in]TRAINValue of tracer in rain
[in]UNSV2DInverse of integrals of test functions
[in]YASMHIf yes, smh must be taken into account
[in]npoinDT Time-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]FSCEXPExplicit source term for f
[in]FXBORFluxes on boundaries
[in]FXBORPARFluxes on boundaries (defined on all domain AND ASSEMBLED IN PARALLEL)
[in]FXMATFluxes (non assembled in parallel)
[in]FXMATPARFluxes (assembled in parallel)
[in]GLOSEGGlobal number of the 2 points of a segment.
[in]HWater depth at time n+1 (VALUE COMPATIBLE WITH CONTINUITY)
[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_BALANCEIf yes, all terms for mass balance WILL BE COMPUTED
[in]MASSOUMass added by source term
[in]MESHMesh structure
[in]NBORGlobal number of boundary points
[in]NPOINNumber of points
[in]NPTFRNumber of boundary points
[in]NSEGNumber of segments
[in]OPTSOUType of sources 1: NORMAL 2: DIRAC
[in]PLUIERain or evaporation, in m/s
[in]RAINIf yes: rain or evaporation
[in]SIZGLOFirst dimension of gloseg
[in]SMHSource term in continuity equation
[in]SURNITSurnit=1/nit
[in,out]T7Bief_obj structure for a work array
[in]TRAINValue of tracer in rain
[in]UNSV2DInverse of integrals of test functions
[in]YASMHIf yes, smh must be taken into account
[in]nptfrDT Time-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]FSCEXPExplicit source term for f
[in]FXBORFluxes on boundaries
[in]FXBORPARFluxes on boundaries (defined on all domain AND ASSEMBLED IN PARALLEL)
[in]FXMATFluxes (non assembled in parallel)
[in]FXMATPARFluxes (assembled in parallel)
[in]GLOSEGGlobal number of the 2 points of a segment.
[in]HWater depth at time n+1 (VALUE COMPATIBLE WITH CONTINUITY)
[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_BALANCEIf yes, all terms for mass balance WILL BE COMPUTED
[in]MASSOUMass added by source term
[in]MESHMesh structure
[in]NBORGlobal number of boundary points
[in]NPOINNumber of points
[in]NPTFRNumber of boundary points
[in]NSEGNumber of segments
[in]OPTSOUType of sources 1: NORMAL 2: DIRAC
[in]PLUIERain or evaporation, in m/s
[in]RAINIf yes: rain or evaporation
[in]SIZGLOFirst dimension of gloseg
[in]SMHSource term in continuity equation
[in]SURNITSurnit=1/nit
[in,out]T7Bief_obj structure for a work array
[in]TRAINValue of tracer in rain
[in]UNSV2DInverse of integrals of test functions
[in]YASMHIf yes, smh must be taken into account
[in]kdirDT Time-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]FSCEXPExplicit source term for f
[in]FXBORFluxes on boundaries
[in]FXBORPARFluxes on boundaries (defined on all domain AND ASSEMBLED IN PARALLEL)
[in]FXMATFluxes (non assembled in parallel)
[in]FXMATPARFluxes (assembled in parallel)
[in]GLOSEGGlobal number of the 2 points of a segment.
[in]HWater depth at time n+1 (VALUE COMPATIBLE WITH CONTINUITY)
[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_BALANCEIf yes, all terms for mass balance WILL BE COMPUTED
[in]MASSOUMass added by source term
[in]MESHMesh structure
[in]NBORGlobal number of boundary points
[in]NPOINNumber of points
[in]NPTFRNumber of boundary points
[in]NSEGNumber of segments
[in]OPTSOUType of sources 1: NORMAL 2: DIRAC
[in]PLUIERain or evaporation, in m/s
[in]RAINIf yes: rain or evaporation
[in]SIZGLOFirst dimension of gloseg
[in]SMHSource term in continuity equation
[in]SURNITSurnit=1/nit
[in,out]T7Bief_obj structure for a work array
[in]TRAINValue of tracer in rain
[in]UNSV2DInverse of integrals of test functions
[in]YASMHIf yes, smh must be taken into account
[in]kddlDT Time-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]FSCEXPExplicit source term for f
[in]FXBORFluxes on boundaries
[in]FXBORPARFluxes on boundaries (defined on all domain AND ASSEMBLED IN PARALLEL)
[in]FXMATFluxes (non assembled in parallel)
[in]FXMATPARFluxes (assembled in parallel)
[in]GLOSEGGlobal number of the 2 points of a segment.
[in]HWater depth at time n+1 (VALUE COMPATIBLE WITH CONTINUITY)
[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_BALANCEIf yes, all terms for mass balance WILL BE COMPUTED
[in]MASSOUMass added by source term
[in]MESHMesh structure
[in]NBORGlobal number of boundary points
[in]NPOINNumber of points
[in]NPTFRNumber of boundary points
[in]NSEGNumber of segments
[in]OPTSOUType of sources 1: NORMAL 2: DIRAC
[in]PLUIERain or evaporation, in m/s
[in]RAINIf yes: rain or evaporation
[in]SIZGLOFirst dimension of gloseg
[in]SMHSource term in continuity equation
[in]SURNITSurnit=1/nit
[in,out]T7Bief_obj structure for a work array
[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 11 of file tvf.f.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: