AGRIF
Adaptive Grid Refinement In Fortran
agrif_user_update Module Reference

Module Agrif_User_Update. More...

Functions/Subroutines

subroutine agrif_set_updatetype (tabvarsindic, update, update1, update2, update3, update4, update5)
 This subroutine is used to specify the type of update we want to do. The index of the variable we want to interpolate is a profile defined with the subroutine Agrif_Declare_Variable. More...
 
subroutine agrif_update_variable (tabvarsindic, procname, locupdate, locupdate1, locupdate2, locupdate3, locupdate4)
 This subroutine is used to update variables. When the location is not specify, the update is made within the domain of the reference grid (not at boundary). The index of the variable we want to interpolate is a profile defined with the subroutine Agrif_Declare_Variable. locupdate1 : specifies the location for the first dimension. More...
 

Detailed Description

Module Agrif_User_Update.

This module contains the main procedures used to update a variable.

Function/Subroutine Documentation

subroutine agrif_user_update::agrif_set_updatetype ( integer, intent(in)  tabvarsindic,
integer, intent(in), optional  update,
integer, intent(in), optional  update1,
integer, intent(in), optional  update2,
integer, intent(in), optional  update3,
integer, intent(in), optional  update4,
integer, intent(in), optional  update5 
)

This subroutine is used to specify the type of update we want to do. The index of the variable we want to interpolate is a profile defined with the subroutine Agrif_Declare_Variable.

Parameters
[in]tabvarsindicindex of the variable in tabvars
[in]update5type of update
subroutine agrif_user_update::agrif_update_variable ( integer, intent(in)  tabvarsindic,
procedure()  procname,
integer, dimension(2), intent(in), optional  locupdate,
integer, dimension(2), intent(in), optional  locupdate1,
integer, dimension(2), intent(in), optional  locupdate2,
integer, dimension(2), intent(in), optional  locupdate3,
integer, dimension(2), intent(in), optional  locupdate4 
)

This subroutine is used to update variables. When the location is not specify, the update is made within the domain of the reference grid (not at boundary). The index of the variable we want to interpolate is a profile defined with the subroutine Agrif_Declare_Variable. locupdate1 : specifies the location for the first dimension.

Parameters
[in]tabvarsindicIndice of the variable in tabvars
procnameData recovery procedure written by users
[in]locupdatelocation to update