1 #ifndef MOJA_MODULES_CBM_VOLUMETOBIOMASSCARBONGROWTH_H_
2 #define MOJA_MODULES_CBM_VOLUMETOBIOMASSCARBONGROWTH_H_
4 #include "moja/modules/cbm/_modules.cbm_exports.h"
5 #include "moja/flint/modulebase.h"
14 #include <Poco/LRUCache.h>
23 getConverter().setSmoothing(smootherEnabled);
32 std::unordered_map<std::string, double> getBiomassCarbonIncrements(flint::ILandUnitDataWrapper* landUnitData, Int64 growthCurveID, Int64 spuID);
35 std::vector<double> getAboveGroundCarbonCurve(Int64 growthCurveID, Int64 spuID);
38 std::vector<double> getFoliageCarbonCurve(Int64 growthCurveID, Int64 spuID);
41 bool isBiomassCarbonCurveAvailable(Int64 growthCurveID, Int64 spuID);
43 void setSmoothing(
bool enabled) { getConverter().setSmoothing(enabled); }
45 Poco::SharedPtr<StandBiomassCarbonCurve> getBiomassCarbonCurve(Int64 growthCurveID, Int64 spuID);