## Orbit / general options
## ~~~~~~~~~~~~~~~~~~~~~~~
# Run with or without tracer transport ?
tracer    = .true.
# Diurnal cycle ?  if diurnal=false, diurnally averaged solar heating
diurnal   = .false.
# Seasonal cycle ? if season=false, Ls stays constant, to value set in "start"
season    = .false. 
# Tidally resonant orbit ? must have diurnal=false, correct rotation rate in newstart
tlocked   = .true.
# Tidal resonance ratio ? ratio T_orbit to T_rotation
nres      = 1.
# Write some more output on the screen ?
lwrite    = .true.
# Save statistics in file "stats.nc" ?
callstats = .false.
# Test energy conservation of model physics ?
enertest  = .true.
# check if cpp and mugaz from start.nc are consistent with values computed by comp_cpp_mugaz with gases.def
check_cpp_match = .false.

## Directory where external input files are
## ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
#datadir     = /planeto/mturbet/planeto2-mturbet/Maxence/SIMUS_Proxima_b
#datadir     = /home/leconte/datagcm
datadir     = ./datagcm

## Radiative transfer options
## ~~~~~~~~~~~~~~~~~~~~~~~~~~
# call radiative transfer?
callrad    = .true.
# the rad. transfer is computed every "iradia" physical timestep
iradia     = 1000
# Use blackbody for stellar spectrum ?
stelbbody    = .false.
# Stellar blackbody temperature ?
stelTbb      = 3050.000
# call multilayer correlated-k radiative transfer ?
corrk      = .true.
# folder in which correlated-k data is stored ?
 corrkdir    = Earth_110-710K
# corrkdir   = megaCO2
# corrkdir   = null_highT
# call visible gaseous absorption in radiative transfer ?
callgasvis = .true.
# call continuum in radiative transfer ?
continuum = .true.
# Include Rayleigh scattering in the visible ?
rayleigh   = .true.
# Uniform absorption coefficient in radiative transfer?
graybody     = .false.
# Constant absorption coefficient in visible 
#      (in m^2/kg; only if graybody=true):
#      tau_surf= kappa*P/g
kappa_VI = 1.e-4
# Constant absorption coefficient in IR
#      (in m^2/kg; only if graybody=true):
kappa_IR = 1.e-4 
# Use Newtonian cooling in place of radiative transfer ?
newtonian    = .false.
# Radiative timescale for Newtonian cooling ? [only if newtonian = T]
tau_relax    = 30.00000
# Test physics timescale in 1D ?
testradtimes = .false.
# Characteristic planetary equilibrium (black body) temperature
# This is used only in the aerosol radiative transfer setup. (see aerave.F)
tplanet    = 215.
# Output spectral OLR in 1D/3D?
specOLR    = .false.
# Output global radiative balance in file 'rad_bal.out' - slow for 1D!!
meanOLR    = .false.
# Variable gas species: Radiatively active ?
varactive  = .true.
# Variable gas species: Fixed vertical distribution ?
#   (not to be used in time integration mode)
varfixed   = .false.
# Variable gas species: Saturation percentage value at ground ?
satval     = 1.
# Use fixed vertical profile, 1 step, no iteration ?
kastprof     = .false.
# Remove lower boundary (e.g. for gas giant sims)
nosurf    = .false. 
intheat   = 0.

## Star type
## ~~~~~~~~~
startype = 1
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# The choices are:
#
#	startype = 1		Sol        (G2V-class main sequence)
#	startype = 2		Ad Leo     (M-class, synthetic)
#       startype = 3            GJ644
#       startype = 4            HD128167
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
# Stellar flux at 1 AU. Examples:
# 1366.0 W m-2		Sol today
# 1024.5 W m-2		Sol today x 0.75 = weak early Sun
# 18.462 W m-2		The feeble Gl581
# 19.960 W m-2		Gl581 with e=0.38 orbital average
# 1.58e6 W m-2	        at Kepler 7 b distance 
Fat1AU = 1300.7
#Fat1AU = 1400.0
##Fat1AU = 2000.0

## Tracer and aerosol options 
## ~~~~~~~~~~~~~~~~~~~~~~~~~~
# Gravitational sedimentation of tracers (just H2O ice for now) ?
sedimentation = .true.

## Other physics options
## ~~~~~~~~~~~~~~~~~~~~~
# call turbulent vertical diffusion ?
calldifv = .true.
# use turbdiff instead of vdifc ?
UseTurbDiff = .true.
# call convective adjustment ?
calladj  = .false.
# call thermal conduction in the soil ?
callsoil = .true.

#########################################################################
## extra non-standard definitions for Earth
#########################################################################
 
## Tracer and aerosol options 
## ~~~~~~~~~~~~~~~~~~~~~~~~~~
# Varying H2O cloud fraction?
CLFvarying    = .false.
# H2O cloud fraction?
CLFfixval     = 1.
# number mixing ratio of CO2 ice particles
Nmix_co2      = 1.e5
# basic dust opacity
dusttau       = 0.0
# water cloud pressure level (norm. by psurf)
cloudlvl      = 0.0
# atm mass update due to tracer evaporation/condensation?
mass_redistrib =  .true.
# Radiatively active CO2 aerosol?
aeroco2       = .false.
# Fixed CO2 aerosol distribution?
aerofixco2    = .false.
# Radiatively active water aerosol?
aeroh2o       = .true.
# Fixed water aerosol distribution?
aerofixh2o  = .false.
# Radiatively active sulfur aersol?
aeroh2so4     = .false.
# Radiatively active generic aerosol?
aerogen       = .false.
# Fixed water aerosol distribution?
aerofixgen    = .false.
# fixed radii for h2o cloud particles?
radfixed=.false.
# number mixing ratio of water particles (for rafixed=.false.)
Nmix_h2o      = 1.e7
# number mixing ratio of water ice particles (for rafixed=.false.)
Nmix_h2o_ice      = 1.e4
# radius of H2O water particles (for rafixed=.true.):
rad_h2o=12.e-6
# radius of H2O ice particles (for rafixed=.true.):
rad_h2o_ice=35.e-6

## Water options 
## ~~~~~~~~~~~~~
# Model water cycle
water         = .true.
# Model water cloud formation
watercond     = .true.
# Model water precipitation (including coagulation etc.)
waterrain     = .true.
# Use simple precipitation scheme?
precip_scheme=4
# multiplicative constant in Boucher 95 precip scheme
Cboucher=2.
# rain threshold.
rainthreshold = 1e-3
# re-evaporate precipitations?
evap_prec     = .true.
# ratqs ?
ratqs = 1.0
# Include hydrology ?
hydrology     = .true.
# H2O snow (and ice) albedo ?
albedosnow    = 0.70
albedo_spectral_mode = .true.
# Maximum sea ice thickness ?
maxicethick   = 1.
# Freezing point of seawater (degrees C) ?
Tsaldiff      = 0.0
# Evolve surface water sources ?
sourceevol    = .false.

## CO2 options 
## ~~~~~~~~~~~
# call CO2 condensation ?
co2cond       = .false.
# Set initial temperature profile to 1 K above CO2 condensation everywhere?
nearco2cond   = .false.

## generic tracer options 
## ~~~~~~~~~~~
# call generic condensation ?
generic_cond=.false. 
# Generic condensate specific latent heat divided by R
latR_gencond= 4.4473d4 
# Generic condensate reference pressure
Pref_gencond= 1.d5 
# Generic condensate reference temperature
Tref_gencond= 3134.d0 
# Generic condensate mean molecular weight
mu_gencond= 55.8d0
# Generic condensate density
rho_gencond=1.d4 
# Generic condensate mean radius
rad_gencond=5.d-6 
