Changeset 1521 for palm


Ignore:
Timestamp:
Jan 14, 2015 10:40:04 AM (9 years ago)
Author:
keck
Message:

added query for checking if the advection scheme in a restart run is the same as the advection scheme in the corresponding initial run

File:
1 edited

Legend:

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

    r1503 r1521  
    2020! Current revisions:
    2121! ------------------
    22 !
     22! check for the advection scheme
    2323!
    2424! Former revisions:
     
    744744
    745745    CHARACTER (LEN=10) ::  version_on_file
     746    CHARACTER (LEN=20) ::  momentum_advec_check
     747    CHARACTER (LEN=20) ::  scalar_advec_check
    746748    CHARACTER (LEN=30) ::  variable_chr
    747749    CHARACTER (LEN=1)  ::  cdum
     
    880882             DEALLOCATE( hom_sum_on_file )
    881883
     884          CASE ( 'momentum_advec' )
     885             momentum_advec_check = momentum_advec
     886             READ ( 13 )  momentum_advec
     887             IF ( TRIM( momentum_advec_check ) /= TRIM( momentum_advec ) )  THEN
     888                WRITE( message_string, * ) 'momentum_advec of the restart run',&
     889                               'differs from momentum_advec of the initial run.'
     890                CALL message( 'read_parts_of_var_list', 'PA0100', &
     891                                                                 1, 2, 0, 6, 0 )
     892             END IF                           
     893             
    882894          CASE ( 'nx' )
    883895             READ ( 13 )  nx_on_file
     
    889901             READ ( 13 )  ref_state
    890902
    891 
     903          CASE ( 'scalar_advec' )
     904             scalar_advec_check = scalar_advec
     905             READ ( 13 )  scalar_advec
     906             IF ( TRIM( scalar_advec_check ) /= TRIM( scalar_advec ) )  THEN
     907                WRITE( message_string, * ) 'scalar_advec of the restart run', &
     908                               'differs from scalar_advec of the initial run.'
     909                CALL message( 'read_parts_of_var_list', 'PA0101', &
     910                                                                 1, 2, 0, 6, 0 )
     911             END IF             
     912             
    892913          CASE DEFAULT
    893914
Note: See TracChangeset for help on using the changeset viewer.