![]() |
TreeMig Code
|
Go to the source code of this file.
Functions/Subroutines | |
| subroutine | allocateareas |
| AllocateAreas. | |
| subroutine | allocatekernel (rad, vartxt) |
| AllocateKernel. | |
| subroutine | allocatespeckernel (rad, ispec) |
| AllocateSpecKernel. | |
| subroutine | allocatespectransformedkernel (ispec) |
| AllocateSpecTransformedKernel. | |
| subroutine | checkalloc (alloc_st, errormsg, txt) |
| CheckAlloc. | |
| subroutine allocateareas |
AllocateAreas.
Allocates the arrays over the simulation domain for various states and help variables, and initializes some of them to zero: the grid cells (i.e. the states), and all kind of spatial changing variables.
Definition at line 27 of file AllocateAreasAndKernels.f90.
| subroutine allocatekernel | ( | integer, intent(in) | rad, |
| character*10, intent(in) | vartxt ) |
AllocateKernel.
allocates the array for a dispersal kernel initializes it of to zero
| rad | :radius of kernel (in number of cells) |
| vartxt | : string identifying which kernel it is |
Definition at line 94 of file AllocateAreasAndKernels.f90.
| subroutine allocatespeckernel | ( | integer, intent(in) | rad, |
| integer, intent(in) | ispec ) |
AllocateSpecKernel.
USE: All_par
| rad | : radius of kernel (in number of cells) |
| ispec | : species index |
Definition at line 149 of file AllocateAreasAndKernels.f90.
| subroutine allocatespectransformedkernel | ( | integer, intent(in) | ispec | ) |
AllocateSpecTransformedKernel.
allocates the array for the fourier transformed dispersal kernel in the spec structure and initializes it of to zero
| ispec | species index |
Definition at line 181 of file AllocateAreasAndKernels.f90.
| subroutine checkalloc | ( | integer, intent(in) | alloc_st, |
| character(len=*), intent(in) | errormsg, | ||
| character(len=*), intent(in) | txt ) |
CheckAlloc.
Checks whether the allocation of an array worked, and if not logs an error and stops
| alloc_st | : index for the status of the allocation; 0 means "ok" @parame errormsg : error message coming from the allocate command |
| txt | : txt identifying the object do be allocated |
Definition at line 213 of file AllocateAreasAndKernels.f90.