- Timestamp:
- Nov 24, 2022, 10:32:03 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/Replay/replay_equip.sh
r4347 r4353 276 276 extract_subroutine $param $paramfile # -> input file 277 277 varin0=`grep inten.*.in input | sed -e 's/\!.*$//' | cut -d: -f3 | sed -e 's/,/ /g'` 278 varinout0=`grep inten.*.inout input | sed -e ' /\!.*$/d' | cut -d: -f3 | sed -e 's/,/ /g'`278 varinout0=`grep inten.*.inout input | sed -e 's/\!.*$//' | cut -d: -f3 | sed -e 's/,/ /g'` 279 279 varin=`echo $varin0 | sed -e 's/ /,/g' -e "s/,,,/,/g" -e "s/,,/,/g"` 280 280 output=full # Attention, l'option full ne marche pas a cause de tableaux locaux undef … … 316 316 grep 'intent.*::' input | sed -e 's/ //g' -e 's/,intent(.*[nt])//'>> call_param_replay.F90 317 317 # duplicating declaration for inout variables 318 318 319 for var in $varinout0 ; do 319 320 sed -e 's/::/ :: /' -e 's/,/ , /g' -e 's/$/ /' input | grep 'intent.*inout.*::.* '$var' ' | sed -e 's/ //g' -e 's/,intent(.*[nt])//' | sed -e 's/::.*$/, allocatable, save :: '$var'_Replay0/' | sed -e 's/'$klon'/:/' -e 's/'$klev'/:/' >> call_param_replay.F90
Note: See TracChangeset
for help on using the changeset viewer.