The TELEMAC-MASCARET system  trunk
Functions/Subroutines | Variables
api_handle_var_t2d Module Reference

Functions/Subroutines

subroutine get_double_t2d_d (INST, VARNAME, VALEUR, INDEX1, INDEX2, INDEX3, IERR)
 
subroutine set_double_t2d_d (INST, VARNAME, VALEUR, INDEX1, INDEX2, INDEX3, IERR)
 
subroutine get_double_array_t2d_d (INST, VARNAME, VALEUR, DIM1, IERR, BLOCK_INDEX)
 
subroutine set_double_array_t2d_d (INST, VARNAME, VALEUR, DIM1, IERR, BLOCK_INDEX)
 
subroutine get_integer_array_t2d_d (INST, VARNAME, VALEUR, DIM1, IERR)
 
subroutine set_integer_array_t2d_d (INST, VARNAME, VALEUR, DIM1, IERR)
 
subroutine get_integer_t2d_d (INST, VARNAME, VALEUR, INDEX1, INDEX2, INDEX3, IERR)
 
subroutine set_integer_t2d_d (INST, VARNAME, VALEUR, INDEX1, INDEX2, INDEX3, IERR)
 
subroutine get_string_t2d_d (INST, VARNAME, VALEUR, VALUELEN, INDEX1, INDEX2, IERR)
 
subroutine set_string_t2d_d (INST, VARNAME, VALEUR, VALUELEN, INDEX1, INDEX2, IERR)
 
subroutine get_boolean_t2d_d (INST, VARNAME, VALEUR, INDEX1, INDEX2, INDEX3, IERR)
 
subroutine set_boolean_t2d_d (INST, VARNAME, VALEUR, INDEX1, INDEX2, INDEX3, IERR)
 
subroutine get_var_size_t2d_d (INST, VARNAME, DIM1, DIM2, DIM3, IERR)
 
subroutine get_var_type_t2d_d (VARNAME, VARTYPE, READONLY, NDIM, IENT, JENT, KENT, GETPOS, SETPOS, IERR)
 
subroutine get_var_info_t2d_d (I, VAR_LEN, INFO_LEN, VARNAME, VARINFO, IERR)
 
subroutine set_var_list_t2d_d (IERR)
 

Variables

integer, parameter t2d_var_len =40
 Size of the string containing the name of a variable. More...
 
integer, parameter t2d_type_len =12
 Size of the string containing the type of a variable. More...
 
integer, parameter t2d_info_len =200
 Size of the string containing the information about a variable. More...
 
integer, parameter nb_var_t2d =84
 The maximum number of variables. More...
 
character(len=40), dimension(:), allocatable vname_t2d
 List of variable names. More...
 
character(len=200), dimension(:), allocatable vinfo_t2d
 List of variable info. More...
 

Detailed Description

Brief:
Getter/setter of telemac2d variables

Function/Subroutine Documentation

◆ get_boolean_t2d_d()

subroutine api_handle_var_t2d::get_boolean_t2d_d ( type(instance_t2d), intent(in)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
integer, intent(out)  VALEUR,
integer, intent(in)  INDEX1,
integer, intent(in)  INDEX2,
integer, intent(in)  INDEX3,
integer, intent(out)  IERR 
)
Brief:
Get a boolean variable from telemac2d
Parameters
[in,out]INSTThe instance
[in]VARNAMEName of the variable to read
[out]VALEURContainis the read value
[in]INDEX1Index on the first dimension
[in]INDEX2Index on the second dimension
[in]INDEX3Index on the third dimension
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 950 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ get_double_array_t2d_d()

subroutine api_handle_var_t2d::get_double_array_t2d_d ( type(instance_t2d), intent(in)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
double precision, dimension(*), intent(inout)  VALEUR,
integer, intent(in)  DIM1,
integer, intent(out)  IERR,
integer, intent(in), optional  BLOCK_INDEX 
)
Brief:
Get a double array from telemac2d

Definition at line 250 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ get_double_t2d_d()

subroutine api_handle_var_t2d::get_double_t2d_d ( type(instance_t2d), intent(in)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
double precision, intent(out)  VALEUR,
integer, intent(in)  INDEX1,
integer, intent(in)  INDEX2,
integer, intent(in)  INDEX3,
integer, intent(out)  IERR 
)
Brief:
Get a double variable from telemac2d
Parameters
[in,out]INSTThe instance
[in]VARNAMEName of the variable to read
[out]VALEURContains the read value
[in]INDEX1Index on the first dimension
[in]INDEX2Index on the second dimension
[in]INDEX3Index on the third dimension
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 40 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ get_integer_array_t2d_d()

subroutine api_handle_var_t2d::get_integer_array_t2d_d ( type(instance_t2d), intent(in)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
integer, dimension(dim1), intent(out)  VALEUR,
integer, intent(in)  DIM1,
integer, intent(out)  IERR 
)
Brief:
Get an integer array from telemac2d
Parameters
[in,out]INSTThe instance
[in]VARNAMEName of the variable to read
[out]VALEURContains the read value
[in]DIM1Size of valeur
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 489 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ get_integer_t2d_d()

subroutine api_handle_var_t2d::get_integer_t2d_d ( type(instance_t2d), intent(in)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
integer, intent(out)  VALEUR,
integer, intent(in)  INDEX1,
integer, intent(in)  INDEX2,
integer, intent(in)  INDEX3,
integer, intent(out)  IERR 
)
Brief:
Get an integer variable from telemac2d
Parameters
[in,out]instthe instance
[in]varnamename of the variable to read
[out]valeurcontainis the read value
[in]index1index on the first dimension
[in]index2index on the second dimension
[in]index3index on the third dimension
[out]ierr0 if subroutine successfull, error id otherwise

Definition at line 635 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ get_string_t2d_d()

subroutine api_handle_var_t2d::get_string_t2d_d ( type(instance_t2d), intent(in)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
character, dimension(valuelen), intent(out)  VALEUR,
integer, intent(in)  VALUELEN,
integer, intent(in)  INDEX1,
integer, intent(in)  INDEX2,
integer, intent(out)  IERR 
)
Brief:
Get a string variable from telemac2d
Parameters
[in,out]INSTThe instance
[in]VARNAMEName of the variable to read
[out]VALEURContainis the read value
[in]VALUELENLength of the string
[in]INDEX1Index on the first dimension
[in]INDEX2Index on the second dimension
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 814 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ get_var_info_t2d_d()

subroutine api_handle_var_t2d::get_var_info_t2d_d ( integer, intent(in)  I,
integer, intent(in)  VAR_LEN,
integer, intent(in)  INFO_LEN,
character, dimension(var_len), intent(out)  VARNAME,
character, dimension(info_len), intent(out)  VARINFO,
integer, intent(out)  IERR 
)
Brief:
Get the description of the ith variable
Parameters
[in]INumber of the variable
[in]VAR_LENSize of varname
[in]INFO_LENSize of varinfo
[out]VARNAMEName of the variable
[out]VARINFODescription of the variable
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 1761 of file api_handle_var_t2d.f.

◆ get_var_size_t2d_d()

subroutine api_handle_var_t2d::get_var_size_t2d_d ( type(instance_t2d), intent(in)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
integer, intent(out)  DIM1,
integer, intent(out)  DIM2,
integer, intent(out)  DIM3,
integer, intent(out)  IERR 
)
Brief:
Get informations on a variable of telemac2d
Parameters
[in]INSTInstance
[in]VARNAMEName of the variable
[out]DIM1Size of the first dimension 0 if ndim=0
[out]DIM2Size of the second dimension 0 if ndim<1
[out]DIM3Size of the third dimension 0 if ndim<2
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 1026 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ get_var_type_t2d_d()

subroutine api_handle_var_t2d::get_var_type_t2d_d ( character(len=t2d_var_len), intent(in)  VARNAME,
character(len=t2d_type_len), intent(out)  VARTYPE,
logical, intent(out)  READONLY,
integer, intent(out)  NDIM,
integer, intent(out)  IENT,
integer, intent(out)  JENT,
integer, intent(out)  KENT,
integer, intent(out)  GETPOS,
integer, intent(out)  SETPOS,
integer, intent(out)  IERR 
)
Brief:
Get type information of a varaible
Parameters
[in]VARNAMEName of the variable
[out]VARTYPEType of the variable (INTEGER, STRING, DOUBLE, BOOLEAN)
[out]NDIMNumber of dimension
[out]READONLYTrue if the variable cannot be modified
[out]IENT1 if the numbering is on point
[out]JENT1 if the numbering is on point
[out]KENT1 if the numbering is on point
[out]GETPOSPostion after which the get is posible on the variable
[out]SETPOSPostion after which the set is posible on the variable
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 1187 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ set_boolean_t2d_d()

subroutine api_handle_var_t2d::set_boolean_t2d_d ( type(instance_t2d), intent(inout)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
integer, intent(in)  VALEUR,
integer, intent(in)  INDEX1,
integer, intent(in)  INDEX2,
integer, intent(in)  INDEX3,
integer, intent(out)  IERR 
)
Brief:
Defines the value of a boolean variable of telemac2d
Parameters
[in,out]INSTThe instance
[in]VARNAMEName of the variable to write
[in]VALEURThe value to write in the variable
[in]INDEX1Index on the first dimension
[in]INDEX2Index on the second dimension
[in]INDEX3Index on the third dimension
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 991 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ set_double_array_t2d_d()

subroutine api_handle_var_t2d::set_double_array_t2d_d ( type(instance_t2d), intent(inout)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
double precision, dimension(dim1), intent(in)  VALEUR,
integer, intent(in)  DIM1,
integer, intent(out)  IERR,
integer, intent(in), optional  BLOCK_INDEX 
)
Brief:
Set a double array from telemac2d

Definition at line 366 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ set_double_t2d_d()

subroutine api_handle_var_t2d::set_double_t2d_d ( type(instance_t2d), intent(inout)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
double precision, intent(in)  VALEUR,
integer, intent(in)  INDEX1,
integer, intent(in)  INDEX2,
integer, intent(in)  INDEX3,
integer, intent(out)  IERR 
)
Brief:
Defines the value of a double variable of telemac2d
Parameters
[in,out]INSTThe instance
[in]VARNAMEName of the variable to write
[in]VALEURThe value to write in the variable
[in]INDEX1Index on the first dimension
[in]INDEX2Index on the second dimension
[in]INDEX3Index on the third dimension
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 155 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ set_integer_array_t2d_d()

subroutine api_handle_var_t2d::set_integer_array_t2d_d ( type(instance_t2d), intent(inout)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
integer, dimension(dim1), intent(in)  VALEUR,
integer, intent(in)  DIM1,
integer, intent(out)  IERR 
)
Brief:
Set an integer array from telemac2d
Parameters
[in,out]INSTThe instance
[in]VARNAMEName of the variable to read
[out]VALEURContainis the read value
[in]DIM1Size of valeur
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 561 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ set_integer_t2d_d()

subroutine api_handle_var_t2d::set_integer_t2d_d ( type(instance_t2d), intent(inout)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
integer, intent(in)  VALEUR,
integer, intent(in)  INDEX1,
integer, intent(in)  INDEX2,
integer, intent(in)  INDEX3,
integer, intent(out)  IERR 
)
Brief:
Defines the value of an integer variable of telemac2d
Parameters
[in,out]INSTThe instance
[in]VARNAMEName of the variable to write
[in]VALEURThe value to write in the variable
[in]INDEX1Index on the first dimension
[in]INDEX2Index on the second dimension
[in]INDEX3Index on the third dimension
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 734 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ set_string_t2d_d()

subroutine api_handle_var_t2d::set_string_t2d_d ( type(instance_t2d), intent(inout)  INST,
character(len=t2d_var_len), intent(in)  VARNAME,
character, dimension(valuelen), intent(in)  VALEUR,
integer, intent(in)  VALUELEN,
integer, intent(in)  INDEX1,
integer, intent(in)  INDEX2,
integer, intent(out)  IERR 
)
Brief:
Defines the value of a string variable of telemac2d
Parameters
[in,out]INSTThe instance
[in]VARNAMEName of the variable to write
[in]VALEURThe value to write in the variable
[in]VALUELENLength of the string
[in]INDEX1Index on the first dimension
[in]INDEX2Index on the second dimension
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 887 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

◆ set_var_list_t2d_d()

subroutine api_handle_var_t2d::set_var_list_t2d_d ( integer, intent(out)  IERR)
Brief:
Build the description of each variable
Parameters
[out]IERR0 if subroutine successfull, error id otherwise

Definition at line 1790 of file api_handle_var_t2d.f.

+ Here is the caller graph for this function:

Variable Documentation

◆ nb_var_t2d

integer, parameter api_handle_var_t2d::nb_var_t2d =84

The maximum number of variables.

Definition at line 18 of file api_handle_var_t2d.f.

◆ t2d_info_len

integer, parameter api_handle_var_t2d::t2d_info_len =200

Size of the string containing the information about a variable.

Definition at line 16 of file api_handle_var_t2d.f.

◆ t2d_type_len

integer, parameter api_handle_var_t2d::t2d_type_len =12

Size of the string containing the type of a variable.

Definition at line 14 of file api_handle_var_t2d.f.

◆ t2d_var_len

integer, parameter api_handle_var_t2d::t2d_var_len =40

Size of the string containing the name of a variable.

Definition at line 12 of file api_handle_var_t2d.f.

◆ vinfo_t2d

character(len=200), dimension(:), allocatable api_handle_var_t2d::vinfo_t2d

List of variable info.

Definition at line 22 of file api_handle_var_t2d.f.

◆ vname_t2d

character(len=40), dimension(:), allocatable api_handle_var_t2d::vname_t2d

List of variable names.

Definition at line 20 of file api_handle_var_t2d.f.