Ignore:
Timestamp:
May 11, 2014, 2:37:58 PM (11 years ago)
Author:
aslmd
Message:

LMDZ.MARS. Made number of scatterers a free dimension not in need to be prescribe at compiling time. Instead it must be set in callphys.def. See README for further information about this commit.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/makegcm_pgf

    r1085 r1246  
    1313set grille=reg
    1414set dyntype="dyn"
    15 set scatterers="1"
    1615set full=""
    1716########################################################################
     
    293292             $LMDGCM/libf/grid/dimension/makdim
    294293
    295 -s nscat   Number of radiatively active scatterers
    296 
    297294-p PHYS    Selects the set of physical parameterizations
    298295           you want to compile the model with.
     
    353350     case -p
    354351        set physique="$2" ; set phys="PHYS=$physique" ; shift ; shift ; goto top
    355 
    356      case -s
    357         set scatterers="$2" ; shift ; goto top
    358352
    359353     case -g
     
    472466# build final name of libraries directory:
    473467if ( "$dyntype" == "olddyn" ) then
    474   set nomlib=${nomlib}_${dim_}_t${ntrac}_s${scatterers}_${grille}_olddyn
     468  set nomlib=${nomlib}_${dim_}_t${ntrac}_${grille}_olddyn
    475469else
    476   set nomlib=${nomlib}_${dim_}_t${ntrac}_s${scatterers}_${grille}
     470  set nomlib=${nomlib}_${dim_}_t${ntrac}_${grille}
    477471endif
    478472
     
    529523    #remove old dimensions.h file
    530524    \rm -f $libf/grid/dimensions.h
    531     #remove old scatterers.h file
    532     \rm -f $libf/phy$physique/scatterers.h
    533525  else
    534526    exit
     
    541533# echo contents of dimensions.h to standard output
    542534cat $libf/grid/dimensions.h
    543 
    544 cd $libf/phy$physique/scatterers
    545 # Build the appropriate 'scatterers.h' file
    546 ./make_scatterers $scatterers
    547 # echo contents of scatterers.h to standard output
    548 cat $libf/phy$physique/scatterers.h
    549535
    550536cd $LMDGCM
     
    827813PROG=$code
    828814
    829 # cleanup, remove dimensions.h and scatterers.h
     815# cleanup, remove dimensions.h
    830816\rm -f $libf/grid/dimensions.h
    831 \rm -f $libf/phy$physique/scatterers.h
Note: See TracChangeset for help on using the changeset viewer.