%  Relevant files

InitCondFile      snap.dat
OutputDir         snap

EnergyFile        energy.txt
SystemFile        system.txt
InfoFile          info.txt
TimingsFile       timings.txt
CpuFile           cpu.txt
SfrFile           sfr.txt
PhaseFile         phase.txt
%AccretionFile     accretion.txt
%BubbleFile        bubble.txt

RestartFile       restart
SnapshotFileBase  snapshot

OutputListFilename outputs_lcdm.txt

% CPU-time limit

TimeLimitCPU      360000000000
ResubmitOn        0
ResubmitCommand   xyz


% Code options

ICFormat                 1
SnapFormat               1
ComovingIntegrationOn    0

TypeOfTimestepCriterion  0
OutputListOn             0
PeriodicBoundariesOn     0


%  Caracteristics of run	(WMAPIII)

TimeBegin          0
TimeMax            1

Omega0	              0
OmegaLambda           0
OmegaBaryon           0
HubbleParam           0
BoxSize               0


% Output frequency

TimeBetSnapshot        1
TimeOfFirstSnapshot    0

CpuTimeBetRestartFile     360000000000.0    ; here in seconds
TimeBetStatistics         1

NumFilesPerSnapshot       1
NumFilesWrittenInParallel 1


% Accuracy of time integration

ErrTolIntAccuracy      0.025
CourantFac             0.15
MaxSizeTimestep       0.9
MinSizeTimestep       0.0




% Tree algorithm, force accuracy, domain update frequency

ErrTolTheta            0.8
TypeOfOpeningCriterion 0
ErrTolForceAcc         0.005



TreeDomainUpdateFrequency    0.1
MaxRMSDisplacementFac  0.25


%  Further parameters of SPH

DesNumNgb              32
MaxNumNgbDeviation     2
ArtBulkViscConst       0.8
InitGasTemp            1000	% 10000
MinGasTemp             5.0


% cooling parameters
CoolingType	   0			  % 0=Sutherland 1=+heating
CoolingFile	   cooling_with_metals.dat
CutofCoolingTemperature        10	   % in K
MetalicityIndex 	   5		   % 0 = primordial, 5 = solar

% heating parameters
HeatingPeElectronFraction     1e-4	 % in cgs
HeatingPeSolarEnergyDensity   5.4e-14	 % in cgs   (erg/cm^3)
HeatingPeLMRatioGas	      0.0 	 % in cgs   (3.8e33erg/s/Msol=Lsol)
HeatingPeLMRatioHalo	      0.0 	 % in cgs   (3.8e33erg/s/Msol=Lsol)
HeatingPeLMRatioDisk	      3.16e32	 % in cgs   (3.8e33erg/s/Msol=Lsol)
HeatingPeLMRatioBulge	      3.16e32	 % in cgs   (3.8e33erg/s/Msol=Lsol)
HeatingPeLMRatioStars	      3.16e32	 % in cgs   (3.8e33erg/s/Msol=Lsol)
HeatingPeLMRatioBndry	      0.0 	 % in cgs   (3.8e33erg/s/Msol=Lsol)

% external uv flux		       
ExternalFLuxEnergyDensity     2e-18      % in       (erg/cm^3)	(quasar = 2e-18)

% multiphase parameters
CriticalTemperature		       1e10
CriticalNonCollisionalTemperature      10
StickyTime			       1000	     % cooling time in Myr
StickyDensity			       1e-24	     % sticky density parameter (unused)
StickyRsphFact  		       1.0	     % 1 or less

% cold gas cyclying
ColdGasCycleTransitionTime	       1000.0	     % in Myr
ColdGasCycleTransitionParameter	       0.5	     % no unit
ColdGasCycleMaxX		       10	     % no unit	(obsolete)



% star formation parameters
StarFormationType	    1		   % 0=Rasera 1=Springel
StarFormationTime	    190.0 	   % in Gyr   (3:rasera,2.1:springel)
StarFormationDensity	    1.6e-26	   % in g/cm3 (5.7e-27:rasera)
StarFormationTemperature    1e10	   % in Kelvin (not used when sticky)
NStarsFromGas		    1

% feedback parameters
SupernovaEgySpecPerMassUnit    5e13	    % in cgs : (erg/g) (5e14=1e48erg/Msol)
SupernovaFractionInEgyKin      1.0
SupernovaTime		       0.0      % in Myr
SupernovaWindParameter         0.25     (eta)

% bubbles
%BubblesInitFile              bubbles.dat
%BubblesDelta         0.5
%BubblesAlpha         1.0
%BubblesRadiusFactor   0.25


% agn_feedback
%TimeBetAccretion      2
%AccretionRadius          10              % in code unit
%AGNFactor        0.00015
%MinMTotInRa      0.08            % in code unit


% outer potential

% NFW
%HaloMass               1e15            % M200 (gas+dm) in Msolar
%HaloConcentration      5.
%GasMassFraction        0.15

% Pseudo-isothermal potential
%Rho0                           6.2e-05         % in user unit (with gas)
%Rc                     40              % in user unit
%GasMassFraction         0.15


% Memory allocation

PartAllocFactor         4
TreeAllocFactor         4
BufferSize              30              % in MByte


% System of units

UnitLength_in_cm				3.085e+21
UnitMass_in_g					4.475475e+42
UnitVelocity_in_cm_per_s 			1e7

GravityConstantInternal  0


% Softening lengths

MinGasHsmlFractional 0.1

SofteningGas       0.25
SofteningHalo      0.25
SofteningDisk      0.25
SofteningBulge     0.25
SofteningStars     0.25
SofteningBndry     0.25

SofteningGasMaxPhys       0.25
SofteningHaloMaxPhys      0.25
SofteningDiskMaxPhys      0.25
SofteningBulgeMaxPhys     0.25
SofteningStarsMaxPhys     0.25
SofteningBndryMaxPhys     0.25
