DOMAINS: Do not allocate data blocks in setup_domain().
The initial data block structure is fully allocated in generate_mesh() of module MESH. Signed-off-by: Grzegorz Kowal <grzegorz@amuncode.org>
This commit is contained in:
parent
156d8cf1dd
commit
e1d554aea7
@ -159,7 +159,6 @@ module domains
|
||||
! local pointers
|
||||
!
|
||||
type(block_meta), pointer :: pmeta, pnext
|
||||
type(block_data), pointer :: pdata
|
||||
|
||||
! allocatable arrays
|
||||
!
|
||||
@ -304,14 +303,6 @@ module domains
|
||||
!
|
||||
call metablock_set_level(pmeta, 1)
|
||||
|
||||
! create a new data block
|
||||
!
|
||||
call append_datablock(pdata)
|
||||
|
||||
! associate meta and data blocks
|
||||
!
|
||||
call link_blocks(pmeta, pdata)
|
||||
|
||||
! set block coordinates
|
||||
!
|
||||
call metablock_set_coord(pmeta, il, jl, kl)
|
||||
|
Loading…
x
Reference in New Issue
Block a user