INCLUDEDEF=earth_const.def

# Scale factor for small planet experiment : real (default=1.)
scale_factor=1.

# ------------------------------- Mesh ---------------------------------

# nbp                 20  40  80 160
# T-edge length (km) 500 250 120  60

# Number of subdivision on a main triangle (nbp) : integer (default=40)
nbp=80

# sub splitting of main rhombus : integer (default=1)
nsplit_i=2
nsplit_j=2

# Number of vertical layer (llm) : integer (default=19)
llm=60

# disvert : vertical discretisation : string (default='std') : std, ncar, ncar30l
disvert=ncar

# ncar_dz : model layer thickness in meters: real (default=400) 
# used if disvert=ncar
ncar_dz=200.

# optim_it : mesh optimisation : number of iteration : integer (default=0)
optim_it=100

# ---------------------------------- Time --------------------------------

# scheme type : string ( default='runge_kutta') euler, leapfrog_matsuno, runge_kutta )
scheme = runge_kutta

# matsuno period : integer ( default=5)
matsuno_period = 5

# timestep : real (default=480s)
dt = 180.

# advection called every itau_adv time steps : integer (default 2)
# standard : umax=100m/s vs c=340m/s (ratio 1:3)
# in JW06 umax=35m/s vs c=340m/s (ratio 1:10)
itau_adv=1

# number of timestep (default 100)
itaumax = 10

# run length : real (default=dt*itaumax)
run_length=1036800

# output field period : integer (default none)
write_period=86400

# ---------------------------------- Misc --------------------------------


# number of tracer (nqtot) : integer (default 1)
nqtot=5

# etat0 : initial state : string (default=jablonowsky06) : 
# jablonowsky06, academic, dcmip[1-4]
etat0=dcmip1

# ------------------------------ Dynamics --------------------------------

# caldyn : computation type for gcm equation : string (default=gcm) : gcm, adv
caldyn=adv

# guided_type : string (default=none) : none, ncar
guided_type=dcmip1

# ------------------------------ Dissipation ---------------------------

# dissipation time graddiv : real (default=5000)
tau_graddiv = 1800

# number of iteration for graddiv : integer (default=1)
nitergdiv = 1

# dissipation time nxgradrot (default=5000)
tau_gradrot = 1800

# number of iteration for nxgradrot : integer (default=1)
nitergrot=2

# dissipation time divgrad (theta) (default=5000)
tau_divgrad=1800

# number of iteration for divgrad : integer (default=1)
niterdivgrad=2

# Rayleigh friction : string (default=none) : none, dcmip2_schaer_noshear, dcmip2_schaer_shear
rayleigh_friction_type=none

# -------------------- Parameters for NCAR test cases ------------------------

# NCAR advection test, initial tracer : string ( default='cos_bell')
# const, slotted_cyl, cos_bell, dbl_cos_bell_q1, dbl_cos_bell_q2, complement, hadley, dcmip11
dcmip1_shape=dcmip11

# NCAR advection test, wind field : string (default='deform') : solid, deform, hadley
dcmip1_wind=deform

# ncar_T0 : reference temperature for NCAR test cases : real (default=300) 
# also used by disvert if disvert=ncar
ncar_T0=300

# ncar_p0 : reference pressure for NCAR test cases : real (default=1e5) 
# also used by disvert if disvert=ncar
ncar_p0=1e5

# ncar_disvert_c : exponent for B(eta) : integer (default=1)
# used by disvert if disvert=ncar

ncar_disvert_c=1

#-----------------------------------------------------------------------
