Changeset 1179 for palm/trunk/SOURCE/init_ocean.f90
- Timestamp:
- Jun 14, 2013 5:57:58 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_ocean.f90
r1037 r1179 20 20 ! Current revisions: 21 21 ! ----------------- 22 ! 22 ! Initial density profile is stored in array hom 23 23 ! 24 24 ! Former revisions: … … 47 47 USE control_parameters 48 48 USE eqn_state_seawater_mod 49 USE pegrid50 49 USE grid_variables 51 50 USE indices 51 USE pegrid 52 USE statistics 52 53 53 54 IMPLICIT NONE … … 126 127 CALL eqn_state_seawater 127 128 129 ! 130 !-- Store initial density profile 131 hom(:,1,77,:) = SPREAD( rho_init(:), 2, statistic_regions+1 ) 132 133 ! 134 !-- Set the reference state to be used in the buoyancy terms 135 IF ( use_single_reference_value ) THEN 136 ref_state(:) = prho_reference 137 ELSE 138 ref_state(:) = rho_init(:) 139 ENDIF 140 128 141 129 142 END SUBROUTINE init_ocean
Note: See TracChangeset
for help on using the changeset viewer.