(git:c5411e0)
Loading...
Searching...
No Matches
dbt_allocate_wrap::allocate_any Interface Reference

Public Member Functions

subroutine allocate_1d (array, shape_spec, source, order)
 Allocate array according to shape_spec. Possibly assign array from source.
 
subroutine allocate_2d (array, shape_spec, source, order)
 Allocate array according to shape_spec. Possibly assign array from source.
 
subroutine allocate_3d (array, shape_spec, source, order)
 Allocate array according to shape_spec. Possibly assign array from source.
 
subroutine allocate_4d (array, shape_spec, source, order)
 Allocate array according to shape_spec. Possibly assign array from source.
 
subroutine allocate_5d (array, shape_spec, source, order)
 Allocate array according to shape_spec. Possibly assign array from source.
 
subroutine allocate_6d (array, shape_spec, source, order)
 Allocate array according to shape_spec. Possibly assign array from source.
 
subroutine allocate_7d (array, shape_spec, source, order)
 Allocate array according to shape_spec. Possibly assign array from source.
 

Detailed Description

Definition at line 26 of file dbt_allocate_wrap.F.

Member Function/Subroutine Documentation

◆ allocate_1d()

subroutine dbt_allocate_wrap::allocate_any::allocate_1d ( real(dp), dimension(:), intent(out), allocatable  array,
integer, dimension(1), intent(in), optional  shape_spec,
real(dp), dimension(:), intent(in), optional  source,
integer, dimension(1), intent(in), optional  order 
)

Allocate array according to shape_spec. Possibly assign array from source.

Note
this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank
Parameters
arraytarget array.
shape_specshape of array to be allocated. If not specified, it is derived from source.
sourcesource array to be copied to target array, must have same rank as target array.
orderin which order to copy source to array (same convention as RESHAPE intrinsic).
Author
Patrick Seewald

Definition at line 48 of file dbt_allocate_wrap.F.

◆ allocate_2d()

subroutine dbt_allocate_wrap::allocate_any::allocate_2d ( real(dp), dimension(:,:), intent(out), allocatable  array,
integer, dimension(2), intent(in), optional  shape_spec,
real(dp), dimension(:,:), intent(in), optional  source,
integer, dimension(2), intent(in), optional  order 
)

Allocate array according to shape_spec. Possibly assign array from source.

Note
this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank
Parameters
arraytarget array.
shape_specshape of array to be allocated. If not specified, it is derived from source.
sourcesource array to be copied to target array, must have same rank as target array.
orderin which order to copy source to array (same convention as RESHAPE intrinsic).
Author
Patrick Seewald

Definition at line 93 of file dbt_allocate_wrap.F.

◆ allocate_3d()

subroutine dbt_allocate_wrap::allocate_any::allocate_3d ( real(dp), dimension(:,:,:), intent(out), allocatable  array,
integer, dimension(3), intent(in), optional  shape_spec,
real(dp), dimension(:,:,:), intent(in), optional  source,
integer, dimension(3), intent(in), optional  order 
)

Allocate array according to shape_spec. Possibly assign array from source.

Note
this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank
Parameters
arraytarget array.
shape_specshape of array to be allocated. If not specified, it is derived from source.
sourcesource array to be copied to target array, must have same rank as target array.
orderin which order to copy source to array (same convention as RESHAPE intrinsic).
Author
Patrick Seewald

Definition at line 138 of file dbt_allocate_wrap.F.

◆ allocate_4d()

subroutine dbt_allocate_wrap::allocate_any::allocate_4d ( real(dp), dimension(:,:,:,:), intent(out), allocatable  array,
integer, dimension(4), intent(in), optional  shape_spec,
real(dp), dimension(:,:,:,:), intent(in), optional  source,
integer, dimension(4), intent(in), optional  order 
)

Allocate array according to shape_spec. Possibly assign array from source.

Note
this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank
Parameters
arraytarget array.
shape_specshape of array to be allocated. If not specified, it is derived from source.
sourcesource array to be copied to target array, must have same rank as target array.
orderin which order to copy source to array (same convention as RESHAPE intrinsic).
Author
Patrick Seewald

Definition at line 183 of file dbt_allocate_wrap.F.

◆ allocate_5d()

subroutine dbt_allocate_wrap::allocate_any::allocate_5d ( real(dp), dimension(:,:,:,:,:), intent(out), allocatable  array,
integer, dimension(5), intent(in), optional  shape_spec,
real(dp), dimension(:,:,:,:,:), intent(in), optional  source,
integer, dimension(5), intent(in), optional  order 
)

Allocate array according to shape_spec. Possibly assign array from source.

Note
this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank
Parameters
arraytarget array.
shape_specshape of array to be allocated. If not specified, it is derived from source.
sourcesource array to be copied to target array, must have same rank as target array.
orderin which order to copy source to array (same convention as RESHAPE intrinsic).
Author
Patrick Seewald

Definition at line 228 of file dbt_allocate_wrap.F.

◆ allocate_6d()

subroutine dbt_allocate_wrap::allocate_any::allocate_6d ( real(dp), dimension(:,:,:,:,:,:), intent(out), allocatable  array,
integer, dimension(6), intent(in), optional  shape_spec,
real(dp), dimension(:,:,:,:,:,:), intent(in), optional  source,
integer, dimension(6), intent(in), optional  order 
)

Allocate array according to shape_spec. Possibly assign array from source.

Note
this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank
Parameters
arraytarget array.
shape_specshape of array to be allocated. If not specified, it is derived from source.
sourcesource array to be copied to target array, must have same rank as target array.
orderin which order to copy source to array (same convention as RESHAPE intrinsic).
Author
Patrick Seewald

Definition at line 273 of file dbt_allocate_wrap.F.

◆ allocate_7d()

subroutine dbt_allocate_wrap::allocate_any::allocate_7d ( real(dp), dimension(:,:,:,:,:,:,:), intent(out), allocatable  array,
integer, dimension(7), intent(in), optional  shape_spec,
real(dp), dimension(:,:,:,:,:,:,:), intent(in), optional  source,
integer, dimension(7), intent(in), optional  order 
)

Allocate array according to shape_spec. Possibly assign array from source.

Note
this does not fully replace Fortran RESHAPE intrinsic since source and target array must have same rank
Parameters
arraytarget array.
shape_specshape of array to be allocated. If not specified, it is derived from source.
sourcesource array to be copied to target array, must have same rank as target array.
orderin which order to copy source to array (same convention as RESHAPE intrinsic).
Author
Patrick Seewald

Definition at line 318 of file dbt_allocate_wrap.F.


The documentation for this interface was generated from the following file: