Changeset 2197
- Timestamp:
- Mar 24, 2017 2:25:00 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_pegrid.f90
r2181 r2197 20 20 ! Current revisions: 21 21 ! ------------------ 22 ! 22 ! bugfix: do not allow odd values for nz at the coarsest grid level in case of 23 ! optimized multigrid solver 23 24 ! 24 25 ! Former revisions: … … 862 863 mg_levels_z = mg_levels_z + 1 863 864 ENDDO 865 ! 866 !-- The optimized MG-solver does not allow odd values for nz at the coarsest 867 !-- grid level 868 IF ( TRIM( psolver ) /= 'multigrid_noopt' ) THEN 869 IF ( MOD( k, 2 ) /= 0 ) mg_levels_z = mg_levels_z - 1 870 ENDIF 864 871 865 872 maximum_grid_level = MIN( mg_levels_x, mg_levels_y, mg_levels_z )
Note: See TracChangeset
for help on using the changeset viewer.