/src/main/java/net/finmath/climate/models/dice/submodels/ForcingFunction.java
return forcingPerCarbonDoubling * Math.log( forcingExternal.getExpectedCarbonConcentrationInAtmosphere( ) / carbonConcentrationBase ) / Math.log( 2) + carbonConcentration;
return forcingPerCarbonDoubling * Math.log ( carbonConcentration.getExpectedCarbonConcentrationInAtmosphere ( ) / carbonConcentrationBase ) / Math.log ( 2 ) + forcingExternal;
import java.util.function.BiFunction; public class ForcingFunction implements BiFunction<CarbonConcentration3DScalar, Double, Double> { private final double carbonConcentrationBase = 588; private final double forcingPerCarbonDoubling = 3.6813; @Override public Double apply(CarbonConcentration3DScalar carbonConcentration, Double forcingExternal) { <extra_id_0> } }