Changeset 3890
- Timestamp:
- Apr 12, 2019 3:59:20 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
palm/trunk/SOURCE/init_pegrid.f90
r3885 r3890 25 25 ! ----------------- 26 26 ! $Id$ 27 ! Check if grid coarsening is possible on subdomain, in order to avoid that 28 ! multigrid approach effectively reduces to a Gauss-Seidel scheme. 29 ! 30 ! 3885 2019-04-11 11:29:34Z kanani 27 31 ! Changes related to global restructuring of location messages and introduction 28 32 ! of additional debug messages … … 947 951 948 952 maximum_grid_level = MIN( mg_levels_x, mg_levels_y, mg_levels_z ) 953 ! 954 !-- Check if subdomain sizes prevents any coarsening. 955 !-- This case, the maximum number of grid levels is 1, i.e. effectively 956 !-- a Gauss-Seidel scheme is applied rather than a multigrid approach. 957 IF ( maximum_grid_level == 1 ) THEN 958 message_string = 'grid coarsening on subdomain level cannot be ' // & 959 'performed' 960 CALL message( 'poismg', 'PA0236', 1, 2, 0, 6, 0 ) 961 ENDIF 949 962 950 963 ! … … 1085 1098 nyn_l = nyn_l / 2 1086 1099 nzt_l = nzt_l / 2 1087 1100 1088 1101 ENDDO 1089 1102
Note: See TracChangeset
for help on using the changeset viewer.