Changes between Version 2 and Version 3 of 2011WP/2011Stream2/DynamicMemory_improvments
- Timestamp:
- 2011-03-04T12:20:18+01:00 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
2011WP/2011Stream2/DynamicMemory_improvments
v2 v3 39 39 when a huge number of tracer is used (jptra> jpk) the model simply stop. This should be problematic with BFM for example... 40 40 Another solution should be found... 41 At this stage we first use allocatable array within the routine. For example in zpshde.F90 42 {{ 43 REAL(wp), ALLOCATABLE, DIMENSION(:,:,:) :: zti, ztj ! interpolated value of tracer 44 45 46 ! Allocate workspaces whose dimension is > jpk 47 ALLOCATE( zti(jpi,jpj,kjpt) ) 48 ALLOCATE( ztj(jpi,jpj,kjpt) ) 49 50 -----bla, bla, bla----- 51 52 DEALLOCATE( zti ) 53 DEALLOCATE( ztj ) 54 }} 55 41 56 42 57 ----