Changeset 2250 for LMDZ5/trunk/makelmdz_fcm
- Timestamp:
- Mar 26, 2015, 4:28:42 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/makelmdz_fcm
r2242 r2250 226 226 fi 227 227 228 phys_root=$physique 229 if [[ "${physique:0:3}" == "lmd" ]] ; then phys_root=lmd ; fi 230 if [[ "${physique:0:4}" == "mars" ]] ; then phys_root=mars ; fi 231 if [[ "${physique:0:3}" == "std" ]] ; then phys_root=std ; fi 232 if [[ "${physique:0:5}" == "venus" ]] ; then phys_root=venus ; fi 233 if [[ "${physique:0:5}" == "titan" ]] ; then phys_root=titan ; fi 234 if [[ "${physique:0:3}" == "mar" ]] ; then phys_root=mar ; fi 235 if [[ "${physique:0:3}" == "dev" ]] ; then phys_root=dev ; fi 236 228 237 if [[ "$physique" != "nophys" ]] 229 238 then 230 239 #We'll use some physics 231 240 CPP_KEY="$CPP_KEY CPP_PHYS" 232 if [[ "${phys ique:0:3}" == "lmd" ]]241 if [[ "${phys_root}" == "lmd" ]] 233 242 then 234 243 #For lmd physics, default planet type is Earth … … 237 246 # set the dyn/phys interface path 238 247 DYN_PHYS_PATH="${LIBFGCM}/dynlonlat_phylonlat" 239 DYN_PHYS_SUB_PATH="${LIBFGCM}/dynlonlat_phylonlat/phy${phys ique}"248 DYN_PHYS_SUB_PATH="${LIBFGCM}/dynlonlat_phylonlat/phy${phys_root}" 240 249 fi 241 250
Note: See TracChangeset
for help on using the changeset viewer.