AGRIF
Adaptive Grid Refinement In Fortran
|
Module Agrif_User_Variables. More...
Functions/Subroutines | |
subroutine | agrif_declare_variable (posvar, firstpoint, raf, lb, ub, varid, torestore) |
This subroutine is used to declare a profile (new variable) which will be used for interpolation/update. More... | |
Module Agrif_User_Variables.
This module contains a procedure which will help to define a new variable which will be used for interpolation/update.
subroutine agrif_user_variables::agrif_declare_variable | ( | integer, dimension(:), intent(in) | posvar, |
integer, dimension(:), intent(in) | firstpoint, | ||
character(1), dimension(:), intent(in) | raf, | ||
integer, dimension(:), intent(in) | lb, | ||
integer, dimension(:), intent(in) | ub, | ||
integer, intent(out) | varid, | ||
logical, intent(in), optional | torestore | ||
) |
This subroutine is used to declare a profile (new variable) which will be used for interpolation/update.
[in] | posvar | position of the variable on the cell (1 for the border of the edge, 2 for the center) |
[in] | firstpoint | index of the first point in the real domain |
[in] | raf | Array indicating the type of dimension (space or not) for each of them |
[in] | lb | Lower bounds of the array |
[in] | ub | Upper bounds of the array |
[out] | varid | Id number of the newly created variable |
[in] | torestore | Indicates if the array restore is used |