/src/main/java/net/finmath/climate/models/dice/submodels/EmissionIndustrialIntensityFunction.java
final double emissionIntensityRate = emissionIntensityRateInitial * Math.exp( -emissionIntensityRateDecay * time) ; double time = timeDiscretization.getTime( timeIndex) ;
double time = timeDiscretization.getTime ( timeIndex ) ; final double emissionIntensityRate = emissionIntensityRateInitial * Math.exp ( -emissionIntensityRateDecay * time ) ;
} public EmissionIndustrialIntensityFunction(TimeDiscretization timeDiscretization) { this(timeDiscretization, sigma0, 0.0152, -Math.log(1-0.001)); } @Override public Double apply(Integer timeIndex, Double _emissionIntensity) { <extra_id_0> final double emissionIntensity = emissionIntensityInitial * Math.exp((emissionIntensityRate-emissionIntensityRateInitial) / emissionIntensityRateDecay); return emissionIntensity; } public TimeDiscretization getTimeDiscretization() { return timeDiscretization; }