Ignore:
Timestamp:
Mar 5, 2007 6:00:47 AM (17 years ago)
Author:
raasch
Message:

updating parts of Marcus changes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • palm/trunk/SOURCE/check_parameters.f90

    r39 r46  
    44! Actual revisions:
    55! -----------------
    6 !
     6! "by_user" allowed as initializing action
    77!
    88! Former revisions:
     
    292292
    293293             CASE ( 'set_constant_profiles', 'set_1d-model_profiles', &
    294                     'initialize_vortex',     'initialize_ptanom' )
     294                    'by_user', 'initialize_vortex',     'initialize_ptanom' )
    295295                action = action(position+1:)
    296296
     
    308308       IF ( myid == 0 )  PRINT*, '+++ check_parameters: initializing_actions', &
    309309          '"set_constant_profiles" and "set_1d-model_profiles" are not', &
     310          ' allowed simultaneously'
     311       CALL local_stop
     312    ENDIF
     313    IF ( INDEX( initializing_actions, 'set_constant_profiles' ) /= 0  .AND. &
     314         INDEX( initializing_actions, 'by_user' ) /= 0 )  THEN
     315       IF ( myid == 0 )  PRINT*, '+++ check_parameters: initializing_actions', &
     316          '"set_constant_profiles" and "by_user" are not', &
     317          ' allowed simultaneously'
     318       CALL local_stop
     319    ENDIF
     320    IF ( INDEX( initializing_actions, 'by_user' ) /= 0  .AND. &
     321         INDEX( initializing_actions, 'set_1d-model_profiles' ) /= 0 )  THEN
     322       IF ( myid == 0 )  PRINT*, '+++ check_parameters: initializing_actions', &
     323          '"by_user" and "set_1d-model_profiles" are not', &
    310324          ' allowed simultaneously'
    311325       CALL local_stop
Note: See TracChangeset for help on using the changeset viewer.