Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Roy Fabrice
pFoF
Commits
f59e39df
Commit
f59e39df
authored
Feb 05, 2021
by
Roy Fabrice
Browse files
allocate: to be finished and tested
parent
2baa4a27
Changes
1
Show whitespace changes
Inline
Side-by-side
common/src/halos_array_m.F90
View file @
f59e39df
...
@@ -90,10 +90,15 @@ contains
...
@@ -90,10 +90,15 @@ contains
!> @param[in] last_halo_index : index of the last halo in this array
!> @param[in] last_halo_index : index of the last halo in this array
subroutine
Allocate_halos_array
(
this
,
first_halo_index
,
last_halo_index
)
subroutine
Allocate_halos_array
(
this
,
first_halo_index
,
last_halo_index
)
use
error_codes_m
,
only
:
ALLOCATE_ERROR_CODE
use
error_handling_m
,
only
:
ERR_MSG_LEN
,
Allocate_error
class
(
halos_array_t
),
intent
(
out
)
::
this
class
(
halos_array_t
),
intent
(
out
)
::
this
integer
(
INT32
),
intent
(
in
)
::
haloes_number
integer
(
INT32
),
intent
(
in
)
::
first_halo_index
integer
(
INT32
),
intent
(
in
)
::
last_halo_index
integer
::
alloc_stat
integer
::
alloc_stat
character
(
ERR_MSG_LEN
)
::
error_message
#ifdef DEBUG
#ifdef DEBUG
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment