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

Go to the source code of this file.

Functions/Subroutines

subroutine derive (U, V, W, DT, AT, X, Y, Z, IKLE, IFABOR, LT, IELM, IELMU, NDP, NDP2, NPOIN, NPOIN2, NELEM, NELMAX, SURDET, XFLOT, YFLOT, ZFLOT, SHPFLO, SHZFLO, TAGFLO, CLSFLO, ELTFLO, ETAFLO, NFLOT, NFLOT_MAX, MESH, ISUB, DX, DY, DZ, ELTBUF, SHPBUF, SHZBUF, SIZEBUF, STOCHA, VISC, NPLAN, ZSTAR, TRANSF, AALGAE, DALGAE, RALGAE, EALGAE, TALGAE, YALGAE, REL_ALGAE, TW1_ALGAE, TW2_ALGAE, A_ALGAE, ORBVEL, AK, EP, H)
 

Function/Subroutine Documentation

◆ derive()

subroutine derive ( double precision, dimension(*), intent(in)  U,
double precision, dimension(*), intent(in)  V,
double precision, dimension(*), intent(in)  W,
double precision, intent(in)  DT,
double precision, intent(in)  AT,
double precision, dimension(npoin), intent(in)  X,
double precision, dimension(npoin), intent(in)  Y,
double precision, dimension(npoin), intent(in)  Z,
integer, dimension(nelmax,ndp2), intent(in)  IKLE,
integer, dimension(*), intent(in)  IFABOR,
integer, intent(in)  LT,
integer, intent(in)  IELM,
integer, intent(in)  IELMU,
integer, intent(in)  NDP,
integer, intent(in)  NDP2,
integer, intent(in)  NPOIN,
integer, intent(in)  NPOIN2,
integer, intent(in)  NELEM,
integer, intent(in)  NELMAX,
double precision, dimension(nelem), intent(in)  SURDET,
double precision, dimension(nflot_max), intent(inout)  XFLOT,
double precision, dimension(nflot_max), intent(inout)  YFLOT,
double precision, dimension(nflot_max), intent(inout)  ZFLOT,
double precision, dimension(ndp,nflot_max), intent(inout)  SHPFLO,
double precision, dimension(nflot_max), intent(inout)  SHZFLO,
integer, dimension(nflot_max), intent(inout)  TAGFLO,
integer, dimension(nflot_max), intent(inout)  CLSFLO,
integer, dimension(nflot_max), intent(inout)  ELTFLO,
integer, dimension(nflot_max), intent(inout)  ETAFLO,
integer, intent(inout)  NFLOT,
integer, intent(in)  NFLOT_MAX,
type(bief_mesh), intent(inout)  MESH,
integer, dimension(nflot_max), intent(inout)  ISUB,
double precision, dimension(nflot_max), intent(inout)  DX,
double precision, dimension(nflot_max), intent(inout)  DY,
double precision, dimension(nflot_max), intent(inout)  DZ,
integer, dimension(sizebuf), intent(inout)  ELTBUF,
double precision, dimension(ndp,sizebuf), intent(inout)  SHPBUF,
double precision, dimension(sizebuf), intent(inout)  SHZBUF,
integer, intent(in)  SIZEBUF,
integer, intent(in)  STOCHA,
type(bief_obj), intent(in)  VISC,
integer, intent(in)  NPLAN,
double precision, dimension(nplan), intent(in)  ZSTAR,
integer, intent(in)  TRANSF,
logical, intent(in), optional  AALGAE,
double precision, dimension(*), intent(in), optional  DALGAE,
double precision, dimension(*), intent(in), optional  RALGAE,
double precision, dimension(*), intent(in), optional  EALGAE,
double precision, dimension(*), intent(in), optional  TALGAE,
integer, dimension(*), intent(in), optional  YALGAE,
integer, dimension(*), intent(in), optional  REL_ALGAE,
double precision, dimension(*), intent(in), optional  TW1_ALGAE,
double precision, dimension(*), intent(in), optional  TW2_ALGAE,
double precision, dimension(*), intent(in), optional  A_ALGAE,
double precision, dimension(*), intent(in), optional  ORBVEL,
double precision, dimension(*), intent(in), optional  AK,
double precision, dimension(*), intent(in), optional  EP,
double precision, dimension(npoin), intent(in), optional  H 
)
Parameters
[in]npoinA_ALGAE Rate of degradation for algae
[in]CLSFLOClass of floats
[in]DTTime step (i.e. time interval).
[in,out]DXWork array (displacements along x)
[in,out]DYWork array (displacements along y)
[in,out]DZWork array (displacements along z)
[in,out]ELTBUFWork array
[in,out]ELTFLONumbers of elements where are the floats
[in,out]ETAFLOLevels where are the floats FOR FLOATS POSITIONS.
[in]IELMType of element.
[in]IELMUType of element for velocities.
[in]IFABORElements behind the edges of another element IF IFABOR NEGATIVE OR 0, THE EDGE IS A LIQUID OR PERIODIC BOUNDARY
[in]IKLEConnectivity table.
[in,out]ISUBArrival sub-domain of particles.
[in]LTTime step number.
[in,out]MESHMesh structure.
[in]NDPNumber of points per element for ielm
[in]NDP2Number of points per element for ielmu
[in]NELEMNumber of elements
[in]NELMAXMaximum number of elements in 2d
[in,out]NFLOTNumber of floats.
[in,out]NFLOT_MAXMaximum number of floats.
[in]NPLANNumber of planes for 3d (1 for 2d)
[in]NPOINNumber of points
[in]NPOIN2Number of points in 2d mesh
[in]NSTARVertical distribution of planes
[in]ORBVELWave orbital velocity
[in]REL_ALGAEAlgae release type
[in,out]SHPBUFWork array
[in,out]SHPFLOBarycentric coordinates of floats in their ELEMENTS.
[in,out]SHZBUFWork array
[in,out]SHZFLOBarycentric coordinate on vertical
[in]SIZEBUFDilmension of some work arrays
[in]SURDET1/determinant, used in isoparametric TRANSFORMATION.
[in]TAGFLOTags of floats
[in]TALGAEDuration before algae release
[in]TRANSF3d mesh transformation
[in]TW1_ALGAEWave orbital velocity threshold for algae 1
[in]TW2_ALGAEWave orbital velocity threshold for algae 2
[in]UX-component of velocity
[in]VY-component of velocity
[in]WZ-component of velocity
[in]XAbscissae of points in the mesh
[in,out]XFLOTAbscissae of floats
[in]YOrdinates of points in the mesh
[in]YALGAEAlgae type
[in,out]YFLOTOrdinates of floats
[in]ZElevations of points in the mesh
[in,out]ZFLOTElevations of floats
[in]ltA_ALGAE Rate of degradation for algae
[in]CLSFLOClass of floats
[in]DTTime step (i.e. time interval).
[in,out]DXWork array (displacements along x)
[in,out]DYWork array (displacements along y)
[in,out]DZWork array (displacements along z)
[in,out]ELTBUFWork array
[in,out]ELTFLONumbers of elements where are the floats
[in,out]ETAFLOLevels where are the floats FOR FLOATS POSITIONS.
[in]IELMType of element.
[in]IELMUType of element for velocities.
[in]IFABORElements behind the edges of another element IF IFABOR NEGATIVE OR 0, THE EDGE IS A LIQUID OR PERIODIC BOUNDARY
[in]IKLEConnectivity table.
[in,out]ISUBArrival sub-domain of particles.
[in]LTTime step number.
[in,out]MESHMesh structure.
[in]NDPNumber of points per element for ielm
[in]NDP2Number of points per element for ielmu
[in]NELEMNumber of elements
[in]NELMAXMaximum number of elements in 2d
[in,out]NFLOTNumber of floats.
[in,out]NFLOT_MAXMaximum number of floats.
[in]NPLANNumber of planes for 3d (1 for 2d)
[in]NPOINNumber of points
[in]NPOIN2Number of points in 2d mesh
[in]NSTARVertical distribution of planes
[in]ORBVELWave orbital velocity
[in]REL_ALGAEAlgae release type
[in,out]SHPBUFWork array
[in,out]SHPFLOBarycentric coordinates of floats in their ELEMENTS.
[in,out]SHZBUFWork array
[in,out]SHZFLOBarycentric coordinate on vertical
[in]SIZEBUFDilmension of some work arrays
[in]SURDET1/determinant, used in isoparametric TRANSFORMATION.
[in]TAGFLOTags of floats
[in]TALGAEDuration before algae release
[in]TRANSF3d mesh transformation
[in]TW1_ALGAEWave orbital velocity threshold for algae 1
[in]TW2_ALGAEWave orbital velocity threshold for algae 2
[in]UX-component of velocity
[in]VY-component of velocity
[in]WZ-component of velocity
[in]XAbscissae of points in the mesh
[in,out]XFLOTAbscissae of floats
[in]YOrdinates of points in the mesh
[in]YALGAEAlgae type
[in,out]YFLOTOrdinates of floats
[in]ZElevations of points in the mesh
[in,out]ZFLOTElevations of floats
[in]ielmA_ALGAE Rate of degradation for algae
[in]CLSFLOClass of floats
[in]DTTime step (i.e. time interval).
[in,out]DXWork array (displacements along x)
[in,out]DYWork array (displacements along y)
[in,out]DZWork array (displacements along z)
[in,out]ELTBUFWork array
[in,out]ELTFLONumbers of elements where are the floats
[in,out]ETAFLOLevels where are the floats FOR FLOATS POSITIONS.
[in]IELMType of element.
[in]IELMUType of element for velocities.
[in]IFABORElements behind the edges of another element IF IFABOR NEGATIVE OR 0, THE EDGE IS A LIQUID OR PERIODIC BOUNDARY
[in]IKLEConnectivity table.
[in,out]ISUBArrival sub-domain of particles.
[in]LTTime step number.
[in,out]MESHMesh structure.
[in]NDPNumber of points per element for ielm
[in]NDP2Number of points per element for ielmu
[in]NELEMNumber of elements
[in]NELMAXMaximum number of elements in 2d
[in,out]NFLOTNumber of floats.
[in,out]NFLOT_MAXMaximum number of floats.
[in]NPLANNumber of planes for 3d (1 for 2d)
[in]NPOINNumber of points
[in]NPOIN2Number of points in 2d mesh
[in]NSTARVertical distribution of planes
[in]ORBVELWave orbital velocity
[in]REL_ALGAEAlgae release type
[in,out]SHPBUFWork array
[in,out]SHPFLOBarycentric coordinates of floats in their ELEMENTS.
[in,out]SHZBUFWork array
[in,out]SHZFLOBarycentric coordinate on vertical
[in]SIZEBUFDilmension of some work arrays
[in]SURDET1/determinant, used in isoparametric TRANSFORMATION.
[in]TAGFLOTags of floats
[in]TALGAEDuration before algae release
[in]TRANSF3d mesh transformation
[in]TW1_ALGAEWave orbital velocity threshold for algae 1
[in]TW2_ALGAEWave orbital velocity threshold for algae 2
[in]UX-component of velocity
[in]VY-component of velocity
[in]WZ-component of velocity
[in]XAbscissae of points in the mesh
[in,out]XFLOTAbscissae of floats
[in]YOrdinates of points in the mesh
[in]YALGAEAlgae type
[in,out]YFLOTOrdinates of floats
[in]ZElevations of points in the mesh
[in,out]ZFLOTElevations of floats
[in]ielmuA_ALGAE Rate of degradation for algae
[in]CLSFLOClass of floats
[in]DTTime step (i.e. time interval).
[in,out]DXWork array (displacements along x)
[in,out]DYWork array (displacements along y)
[in,out]DZWork array (displacements along z)
[in,out]ELTBUFWork array
[in,out]ELTFLONumbers of elements where are the floats
[in,out]ETAFLOLevels where are the floats FOR FLOATS POSITIONS.
[in]IELMType of element.
[in]IELMUType of element for velocities.
[in]IFABORElements behind the edges of another element IF IFABOR NEGATIVE OR 0, THE EDGE IS A LIQUID OR PERIODIC BOUNDARY
[in]IKLEConnectivity table.
[in,out]ISUBArrival sub-domain of particles.
[in]LTTime step number.
[in,out]MESHMesh structure.
[in]NDPNumber of points per element for ielm
[in]NDP2Number of points per element for ielmu
[in]NELEMNumber of elements
[in]NELMAXMaximum number of elements in 2d
[in,out]NFLOTNumber of floats.
[in,out]NFLOT_MAXMaximum number of floats.
[in]NPLANNumber of planes for 3d (1 for 2d)
[in]NPOINNumber of points
[in]NPOIN2Number of points in 2d mesh
[in]NSTARVertical distribution of planes
[in]ORBVELWave orbital velocity
[in]REL_ALGAEAlgae release type
[in,out]SHPBUFWork array
[in,out]SHPFLOBarycentric coordinates of floats in their ELEMENTS.
[in,out]SHZBUFWork array
[in,out]SHZFLOBarycentric coordinate on vertical
[in]SIZEBUFDilmension of some work arrays
[in]SURDET1/determinant, used in isoparametric TRANSFORMATION.
[in]TAGFLOTags of floats
[in]TALGAEDuration before algae release
[in]TRANSF3d mesh transformation
[in]TW1_ALGAEWave orbital velocity threshold for algae 1
[in]TW2_ALGAEWave orbital velocity threshold for algae 2
[in]UX-component of velocity
[in]VY-component of velocity
[in]WZ-component of velocity
[in]XAbscissae of points in the mesh
[in,out]XFLOTAbscissae of floats
[in]YOrdinates of points in the mesh
[in]YALGAEAlgae type
[in,out]YFLOTOrdinates of floats
[in]ZElevations of points in the mesh
[in,out]ZFLOTElevations of floats
[in]ndpA_ALGAE Rate of degradation for algae
[in]CLSFLOClass of floats
[in]DTTime step (i.e. time interval).
[in,out]DXWork array (displacements along x)
[in,out]DYWork array (displacements along y)
[in,out]DZWork array (displacements along z)
[in,out]ELTBUFWork array
[in,out]ELTFLONumbers of elements where are the floats
[in,out]ETAFLOLevels where are the floats FOR FLOATS POSITIONS.
[in]IELMType of element.
[in]IELMUType of element for velocities.
[in]IFABORElements behind the edges of another element IF IFABOR NEGATIVE OR 0, THE EDGE IS A LIQUID OR PERIODIC BOUNDARY
[in]IKLEConnectivity table.
[in,out]ISUBArrival sub-domain of particles.
[in]LTTime step number.
[in,out]MESHMesh structure.
[in]NDPNumber of points per element for ielm
[in]NDP2Number of points per element for ielmu
[in]NELEMNumber of elements
[in]NELMAXMaximum number of elements in 2d
[in,out]NFLOTNumber of floats.
[in,out]NFLOT_MAXMaximum number of floats.
[in]NPLANNumber of planes for 3d (1 for 2d)
[in]NPOINNumber of points
[in]NPOIN2Number of points in 2d mesh
[in]NSTARVertical distribution of planes
[in]ORBVELWave orbital velocity
[in]REL_ALGAEAlgae release type
[in,out]SHPBUFWork array
[in,out]SHPFLOBarycentric coordinates of floats in their ELEMENTS.
[in,out]SHZBUFWork array
[in,out]SHZFLOBarycentric coordinate on vertical
[in]SIZEBUFDilmension of some work arrays
[in]SURDET1/determinant, used in isoparametric TRANSFORMATION.
[in]TAGFLOTags of floats
[in]TALGAEDuration before algae release
[in]TRANSF3d mesh transformation
[in]TW1_ALGAEWave orbital velocity threshold for algae 1
[in]TW2_ALGAEWave orbital velocity threshold for algae 2
[in]UX-component of velocity
[in]VY-component of velocity
[in]WZ-component of velocity
[in]XAbscissae of points in the mesh
[in,out]XFLOTAbscissae of floats
[in]YOrdinates of points in the mesh
[in]YALGAEAlgae type
[in,out]YFLOTOrdinates of floats
[in]ZElevations of points in the mesh
[in,out]ZFLOTElevations of floats
[in]nelemA_ALGAE Rate of degradation for algae
[in]CLSFLOClass of floats
[in]DTTime step (i.e. time interval).
[in,out]DXWork array (displacements along x)
[in,out]DYWork array (displacements along y)
[in,out]DZWork array (displacements along z)
[in,out]ELTBUFWork array
[in,out]ELTFLONumbers of elements where are the floats
[in,out]ETAFLOLevels where are the floats FOR FLOATS POSITIONS.
[in]IELMType of element.
[in]IELMUType of element for velocities.
[in]IFABORElements behind the edges of another element IF IFABOR NEGATIVE OR 0, THE EDGE IS A LIQUID OR PERIODIC BOUNDARY
[in]IKLEConnectivity table.
[in,out]ISUBArrival sub-domain of particles.
[in]LTTime step number.
[in,out]MESHMesh structure.
[in]NDPNumber of points per element for ielm
[in]NDP2Number of points per element for ielmu
[in]NELEMNumber of elements
[in]NELMAXMaximum number of elements in 2d
[in,out]NFLOTNumber of floats.
[in,out]NFLOT_MAXMaximum number of floats.
[in]NPLANNumber of planes for 3d (1 for 2d)
[in]NPOINNumber of points
[in]NPOIN2Number of points in 2d mesh
[in]NSTARVertical distribution of planes
[in]ORBVELWave orbital velocity
[in]REL_ALGAEAlgae release type
[in,out]SHPBUFWork array
[in,out]SHPFLOBarycentric coordinates of floats in their ELEMENTS.
[in,out]SHZBUFWork array
[in,out]SHZFLOBarycentric coordinate on vertical
[in]SIZEBUFDilmension of some work arrays
[in]SURDET1/determinant, used in isoparametric TRANSFORMATION.
[in]TAGFLOTags of floats
[in]TALGAEDuration before algae release
[in]TRANSF3d mesh transformation
[in]TW1_ALGAEWave orbital velocity threshold for algae 1
[in]TW2_ALGAEWave orbital velocity threshold for algae 2
[in]UX-component of velocity
[in]VY-component of velocity
[in]WZ-component of velocity
[in]XAbscissae of points in the mesh
[in,out]XFLOTAbscissae of floats
[in]YOrdinates of points in the mesh
[in]YALGAEAlgae type
[in,out]YFLOTOrdinates of floats
[in]ZElevations of points in the mesh
[in,out]ZFLOTElevations of floats

Definition at line 16 of file derive.f.

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