next up previous contents
Next: Robin Boundary Condition Up: Old interface Previous: Calling from C:   Contents

Calling from Fortran:

call BndCopyVN(ierr, cctkGH, stencil_size, variable_name_to,  
               variable_name_from)
call BndCopyVN(ierr, cctkGH, stencil_size, group_name_to,     
               group_name_from)
call BndCopyVN(ierr, cctkGH, stencil_size, variable_index_to, 
               variable_index_from)
call BndCopyVN(ierr, cctkGH, stencil_size, group_index_to,    
               group_index_from)
where

integer ierr 		 return value, operation failed when returnvalue negative

CCTK_POINTER cctkGH grid hierarchy pointer
integer stencil_size(dim) array of size dim (dimension of the grid function). To how many points
from the outer boundary to apply the boundary condition.

character*(*) variable_name_to the name of the grid function to which the boundary condition
will be applied by copying to.
character*(*) variable_name_from the name of the grid function containing the values to copy from.

character*(*) group_name_to the name of the group to which the boundary condition
will be applied by copying to.
character*(*) group_name_from the name of the group containing the the values to copy from.

integer variable_index_to the index of the grid function to which the boundary condition
will be applied by copying to.
integer variable_index_from the index of the grid function containing the the values to copy from.

integer group_index_to the index of the group to which the boundary condition
will be applied by copying to.
integer group_index_from the index of the group containing the the values to copy from.


next up previous contents
Next: Robin Boundary Condition Up: Old interface Previous: Calling from C:   Contents