|
MOM6
|
Allocate a 2-d or 3-d allocatable array.
Definition at line 18 of file MOM_safe_alloc.F90.
Private functions | |
| subroutine | safe_alloc_allocatable_3d (ptr, is, ie, js, je, nk) |
| Allocate a 3-d allocatable array based on its index starting and ending values and k-index size. More... | |
| subroutine | safe_alloc_allocatable_2d (ptr, is, ie, js, je) |
| Allocate a 2-d allocatable array based on its index starting and ending values. More... | |
| subroutine | safe_alloc_allocatable_3d_6arg (ptr, is, ie, js, je, ks, ke) |
| Allocate a 3-d allocatable array based on its 6 index starting and ending values. More... | |
Allocate a 2-d or 3-d allocatable array.
Definition at line 18 of file MOM_safe_alloc.F90.
|
private |
Allocate a 2-d allocatable array based on its index starting and ending values.
| ptr | An allocatable array to allocate | |
| [in] | is | The start index to allocate for the 1st dimension |
| [in] | ie | The end index to allocate for the 1st dimension |
| [in] | js | The start index to allocate for the 2nd dimension |
| [in] | je | The end index to allocate for the 2nd dimension |
Definition at line 116 of file MOM_safe_alloc.F90.
|
private |
Allocate a 3-d allocatable array based on its index starting and ending values and k-index size.
| ptr | An allocatable array to allocate | |
| [in] | is | The start index to allocate for the 1st dimension |
| [in] | ie | The end index to allocate for the 1st dimension |
| [in] | js | The start index to allocate for the 2nd dimension |
| [in] | je | The end index to allocate for the 2nd dimension |
| [in] | nk | The size to allocate for the 3rd dimension |
Definition at line 130 of file MOM_safe_alloc.F90.
|
private |
Allocate a 3-d allocatable array based on its 6 index starting and ending values.
| ptr | An allocatable array to allocate | |
| [in] | is | The start index to allocate for the 1st dimension |
| [in] | ie | The end index to allocate for the 1st dimension |
| [in] | js | The start index to allocate for the 2nd dimension |
| [in] | je | The end index to allocate for the 2nd dimension |
| [in] | ks | The start index to allocate for the 3rd dimension |
| [in] | ke | The end index to allocate for the 3rd dimension |
Definition at line 144 of file MOM_safe_alloc.F90.