changed pointer attribute to allocatable in tState. since the pointers are only used for allocation, allocatables should do the same job more efficiently
This commit is contained in:
parent
28f3ba6841
commit
baaf104238
|
@ -65,8 +65,8 @@ module prec
|
|||
type, public :: tState
|
||||
integer(pInt) :: sizeState,sizeDotState
|
||||
logical :: nonlocal
|
||||
real(pReal), pointer, dimension(:) :: atolState
|
||||
real(pReal), pointer, dimension(:,:) :: state, & ! material points, state size
|
||||
real(pReal), allocatable, dimension(:) :: atolState
|
||||
real(pReal), allocatable, dimension(:,:) :: state, & ! material points, state size
|
||||
dotState, &
|
||||
state0, &
|
||||
partionedState0, &
|
||||
|
@ -77,7 +77,7 @@ module prec
|
|||
previousDotState2, &
|
||||
dotState_backup, &
|
||||
RK4dotState
|
||||
real(pReal), pointer, dimension(:,:,:) :: RKCK45dotState
|
||||
real(pReal), allocatable, dimension(:,:,:) :: RKCK45dotState
|
||||
end type
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue