diff --git a/CMakeLists.txt b/CMakeLists.txt index 0416f8f..b636cb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,11 +16,12 @@ PROJECT(behave) INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/src/behave) # optional test executable -OPTION(TEST_BEHAVE "Enable Testing" ON) -OPTION(TEST_MORTALITY "Enable Mortality Testing" ON) +OPTION(TEST_BEHAVE "Enable Testing" OFF) +OPTION(TEST_MORTALITY "Enable Mortality Testing" OFF) # optional stand-alone executables -OPTION(EXAMPLE_APP "Example client application" ON) +OPTION(EXAMPLE_APP "Example client application" OFF) +OPTION(LIBRARY "DLL with wrapper for C#" ON) OPTION(RAWS_BATCH "Enable Behave RAWS Data Batch Reader" OFF) OPTION(COMPUTE_SPOT_PILE "Build pile spot fire distance calculator" OFF) OPTION(COMPUTE_SPOT_SURFACE "Build surface spot fire distance calculator" OFF) @@ -200,3 +201,12 @@ IF(COMPUTE_SPOT_TORCHING_TREES) src/spotDistanceTorchingTrees/computeTorchingTreesSpottingDistance.cpp ${HEADERS}) ENDIF() + +IF(LIBRARY) + ADD_LIBRARY(Behave + SHARED + ${SOURCE} + swig/behave_csharp_wrap.cxx + ${HEADERS}) + TARGET_LINK_LIBRARIES(Behave) +ENDIF() \ No newline at end of file diff --git a/docs/classCrown-members.html b/docs/classCrown-members.html index cf61f10..88fc27b 100644 --- a/docs/classCrown-members.html +++ b/docs/classCrown-members.html @@ -138,10 +138,12 @@ getCrownFlameLength(LengthUnits::LengthUnitsEnum flameLengthUnits) const (defined in Crown)Crown getCrownFractionBurned() const (defined in Crown)Crown getCrownRatio(FractionUnits::FractionUnitsEnum crownRatioUnits) const (defined in Crown)Crown - getFinalFirelineIntesity(FirelineIntensityUnits::FirelineIntensityUnitsEnum firelineIntensityUnits) const (defined in Crown)Crown - getFinalFlameLength(LengthUnits::LengthUnitsEnum flameLengthUnits) const (defined in Crown)Crown - getFinalHeatPerUnitArea(HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum heatPerUnitAreaUnits) const (defined in Crown)Crown - getFinalSpreadRate(SpeedUnits::SpeedUnitsEnum spreadRateUnits) const (defined in Crown)Crown + getDirectionOfMaxSpread() (defined in Crown)Crowninline + getFinalFirelineIntesity(FirelineIntensityUnits::FirelineIntensityUnitsEnum firelineIntensityUnits) const (defined in Crown)Crown + getFinalFlameLength(LengthUnits::LengthUnitsEnum flameLengthUnits) const (defined in Crown)Crown + getFinalHeatPerUnitArea(HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum heatPerUnitAreaUnits) const (defined in Crown)Crown + getFinalSpreadRate(SpeedUnits::SpeedUnitsEnum spreadRateUnits) const (defined in Crown)Crown + getFireEccentricity() (defined in Crown)Crowninline getFireType() const (defined in Crown)Crown getFuelbedDepth(int fuelModelNumber, LengthUnits::LengthUnitsEnum lengthUnits) const (defined in Crown)Crown getFuelCode(int fuelModelNumber) const (defined in Crown)Crown diff --git a/docs/classCrown.html b/docs/classCrown.html index 9d356e8..831f47e 100644 --- a/docs/classCrown.html +++ b/docs/classCrown.html @@ -302,6 +302,12 @@ void setWindAdjustmentFactorCalculationMethod (WindAdjustmentFactorCalculationMethod::WindAdjustmentFactorCalculationMethodEnum windAdjustmentFactorCalculationMethod)   + +double getDirectionOfMaxSpread () +  + +double getFireEccentricity () +  int getFuelModelNumber () const   diff --git a/docs/crown_8h_source.html b/docs/crown_8h_source.html index b2c6453..aa32c95 100644 --- a/docs/crown_8h_source.html +++ b/docs/crown_8h_source.html @@ -242,129 +242,131 @@
156 void setWindAdjustmentFactorCalculationMethod(WindAdjustmentFactorCalculationMethod::WindAdjustmentFactorCalculationMethodEnum windAdjustmentFactorCalculationMethod);
157
158 // SurfaceInputs getters
-
159 int getFuelModelNumber() const;
-
160 double getMoistureOneHour(FractionUnits::FractionUnitsEnum moistureUnits) const;
-
161 double getMoistureTenHour(FractionUnits::FractionUnitsEnum moistureUnits) const;
-
162 double getMoistureHundredHour(FractionUnits::FractionUnitsEnum moistureUnits) const;
-
163 double getMoistureLiveHerbaceous(FractionUnits::FractionUnitsEnum moistureUnits) const;
-
164 double getMoistureLiveWoody(FractionUnits::FractionUnitsEnum moistureUnits) const;
-
165 int getNumberOfMoistureScenarios();
-
166 int getMoistureScenarioIndexByName(std::string name);
-
167 bool getIsMoistureScenarioDefinedByName(std::string name);
-
168 std::string getMoistureScenarioDescriptionByName(std::string name);
-
169 double getMoistureScenarioOneHourByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
-
170 double getMoistureScenarioTenHourByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
-
171 double getMoistureScenarioHundredHourByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
-
172 double getMoistureScenarioLiveHerbaceousByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
-
173 double getMoistureScenarioLiveWoodyByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
-
174 bool getIsMoistureScenarioDefinedByIndex(int index);
-
175 std::string getMoistureScenarioNameByIndex(int index);
-
176 std::string getMoistureScenarioDescriptionByIndex(int index);
-
177 double getMoistureScenarioOneHourByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
-
178 double getMoistureScenarioTenHourByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
-
179 double getMoistureScenarioHundredHourByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
-
180 double getMoistureScenarioLiveHerbaceousByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
-
181 double getMoistureScenarioLiveWoodyByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
-
182 double getWindSpeed(SpeedUnits::SpeedUnitsEnum windSpeedUnits, WindHeightInputMode::WindHeightInputModeEnum windHeightInputMode) const;
-
183 double getWindDirection() const;
-
184 double getSlope(SlopeUnits::SlopeUnitsEnum slopeUnits) const;
-
185 double getAspect() const;
-
186 double getCanopyCover(FractionUnits::FractionUnitsEnum canopyCoverUnits) const;
-
187 double getCanopyHeight(LengthUnits::LengthUnitsEnum canopyHeighUnits) const;
-
188 double getCrownRatio(FractionUnits::FractionUnitsEnum crownRatioUnits) const;
-
189
-
190protected:
-
-
191 struct CrownModelType
-
192 {
-
193 enum CrownModelTypeEnum
-
194 {
-
195 rothermel,
-
196 scott_and_reinhardt
-
197 };
-
198 };
+
159 double getDirectionOfMaxSpread(){ return surfaceFuel_.getDirectionOfMaxSpread(); }
+
160 double getFireEccentricity() { return surfaceFuel_.getFireEccentricity(); }
+
161 int getFuelModelNumber() const;
+
162 double getMoistureOneHour(FractionUnits::FractionUnitsEnum moistureUnits) const;
+
163 double getMoistureTenHour(FractionUnits::FractionUnitsEnum moistureUnits) const;
+
164 double getMoistureHundredHour(FractionUnits::FractionUnitsEnum moistureUnits) const;
+
165 double getMoistureLiveHerbaceous(FractionUnits::FractionUnitsEnum moistureUnits) const;
+
166 double getMoistureLiveWoody(FractionUnits::FractionUnitsEnum moistureUnits) const;
+
167 int getNumberOfMoistureScenarios();
+
168 int getMoistureScenarioIndexByName(std::string name);
+
169 bool getIsMoistureScenarioDefinedByName(std::string name);
+
170 std::string getMoistureScenarioDescriptionByName(std::string name);
+
171 double getMoistureScenarioOneHourByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
+
172 double getMoistureScenarioTenHourByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
+
173 double getMoistureScenarioHundredHourByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
+
174 double getMoistureScenarioLiveHerbaceousByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
+
175 double getMoistureScenarioLiveWoodyByName(std::string name, FractionUnits::FractionUnitsEnum moistureUnits);
+
176 bool getIsMoistureScenarioDefinedByIndex(int index);
+
177 std::string getMoistureScenarioNameByIndex(int index);
+
178 std::string getMoistureScenarioDescriptionByIndex(int index);
+
179 double getMoistureScenarioOneHourByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
+
180 double getMoistureScenarioTenHourByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
+
181 double getMoistureScenarioHundredHourByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
+
182 double getMoistureScenarioLiveHerbaceousByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
+
183 double getMoistureScenarioLiveWoodyByIndex(int index, FractionUnits::FractionUnitsEnum moistureUnits);
+
184 double getWindSpeed(SpeedUnits::SpeedUnitsEnum windSpeedUnits, WindHeightInputMode::WindHeightInputModeEnum windHeightInputMode) const;
+
185 double getWindDirection() const;
+
186 double getSlope(SlopeUnits::SlopeUnitsEnum slopeUnits) const;
+
187 double getAspect() const;
+
188 double getCanopyCover(FractionUnits::FractionUnitsEnum canopyCoverUnits) const;
+
189 double getCanopyHeight(LengthUnits::LengthUnitsEnum canopyHeighUnits) const;
+
190 double getCrownRatio(FractionUnits::FractionUnitsEnum crownRatioUnits) const;
+
191
+
192protected:
+
+ +
194 {
+
195 enum CrownModelTypeEnum
+
196 {
+
197 rothermel,
+
198 scott_and_reinhardt
+
199 };
+
200 };
-
199 FuelModels* fuelModels_;
-
200 CrownInputs crownInputs_;
-
201
-
202 // SURFACE module components
-
203 Surface surfaceFuel_;
-
204 Surface crownFuel_;
-
205
-
206 // SIZE
-
207 FireSize crownFireSize_;
-
208
-
209 // Private methods
-
210 void memberwiseCopyAssignment(const Crown& rhs);
-
211 void calculateCrownFireActiveWindSpeed();
-
212 void calculateCanopyHeatPerUnitArea();
-
213 void calculateCrownFireHeatPerUnitArea();
-
214 void calculateCrownFuelLoad();
-
215 void calculateCrownFirelineIntensity();
-
216 void calculateCrownFlameLength();
-
217 void calculatePassiveCrownFlameLength();
-
218 void calculateSurfaceFireCriticalSpreadRateScottAndReinhardt();
-
219 void calculateCrownCriticalFireSpreadRate();
-
220 void calculateCrownCriticalSurfaceFireIntensity();
-
221 void calculateCrownCriticalSurfaceFlameLength();
-
222 void calculateCrownFireTransitionRatio();
-
223 void calculateCrownFireActiveRatio();
-
224 void calculateFireTypeRothermel();
-
225 void calculateFireTypeScottAndReinhardt();
-
226 void calculateWindSpeedAtTwentyFeet();
-
227 void calculateCrowningSurfaceFireRateOfSpread();
-
228 void calculateCrownFractionBurned();
-
229 void assignFinalFireBehaviorBasedOnFireType(CrownModelType::CrownModelTypeEnum);
-
230
-
231 // Member variables
-
232 FireType::FireTypeEnum fireType_; // Classification based on corwn fire active and transition ratios
-
233 double surfaceFireHeatPerUnitArea_; // Surface fire hpua used for parallel surface runs (Btu/ft^2)
-
234 double surfaceFirelineIntensity_; // Surface fireline intensity used for parallel surface runs
-
235 double surfaceFireSpreadRate_;
-
236 double surfaceFireFlameLength_;
-
237 double surfaceFireCriticalSpreadRate_;
-
238 double crownFuelLoad_; // Crown fire fuel load (lb / ft^2)
-
239 double canopyHeatPerUnitArea_; // Canopy heat per unit area (Btu/ft^2)
-
240 double crownFireHeatPerUnitArea_; // Crown fire heat per unit area (Btu/ft^2)
-
241 double crownFirelineIntensity_; // Crown fire fireline intensity (Btu / ft / s)
-
242 double crownFlameLength_; // Crown fire flame length (ft)
-
243 double crownFireSpreadRate_;
-
244 double crownCriticalSurfaceFirelineIntensity_; // Crown fire's critical surface fire intensity (Btu / ft / s)
-
245 double crownCriticalFireSpreadRate_; // Crown fire's critical crown fire spread rate (ft / min)
-
246 double crownCriticalSurfaceFlameLength_; // Crown fire's critical surface fire flame length (ft)
-
247 double crownFireActiveRatio_; // Crown fire active ratio
-
248 double crownFireTransitionRatio_; // Crown fire transition ratio
-
249 double crownFireLengthToWidthRatio_; // Crown fire length-to-width ratio
-
250 double crownFireActiveWindSpeed_; // 20 ft windspeed at which active crowning is possible (ft/min)
-
251 double crownFractionBurned_;
-
252 double crowningSurfaceFireRos_; // Surface fire spread rate at which the active crown fire spread rate is fully achieved (ft/min)
-
253 double windSpeedAtTwentyFeet_;
-
254
-
255 double finalSpreadRate_; // "Actual" spread rate of the fire, depends on fire type
-
256 double finalHeatPerUnitArea_; // "Actual" fire heat per unit area, depends on fire type
-
257 double finalFirelineIntesity_; // "Actual" fireline intensity, depends on fire type
-
258 double finalFlameLength_; // "Actual" flame length, depends on fire type
-
259
-
260 double passiveCrownFireSpreadRate_;
-
261 double passiveCrownFireHeatPerUnitArea_;
-
262 double passiveCrownFireLineIntensity_;
-
263 double passiveCrownFireFlameLength_;
-
264
-
265 bool isSurfaceFire_;
-
266 bool isPassiveCrownFire_;
-
267 bool isActiveCrownFire_;
-
268 bool isCrownFire_;
-
269};
+
201 FuelModels* fuelModels_;
+
202 CrownInputs crownInputs_;
+
203
+
204 // SURFACE module components
+
205 Surface surfaceFuel_;
+
206 Surface crownFuel_;
+
207
+
208 // SIZE
+
209 FireSize crownFireSize_;
+
210
+
211 // Private methods
+
212 void memberwiseCopyAssignment(const Crown& rhs);
+
213 void calculateCrownFireActiveWindSpeed();
+
214 void calculateCanopyHeatPerUnitArea();
+
215 void calculateCrownFireHeatPerUnitArea();
+
216 void calculateCrownFuelLoad();
+
217 void calculateCrownFirelineIntensity();
+
218 void calculateCrownFlameLength();
+
219 void calculatePassiveCrownFlameLength();
+
220 void calculateSurfaceFireCriticalSpreadRateScottAndReinhardt();
+
221 void calculateCrownCriticalFireSpreadRate();
+
222 void calculateCrownCriticalSurfaceFireIntensity();
+
223 void calculateCrownCriticalSurfaceFlameLength();
+
224 void calculateCrownFireTransitionRatio();
+
225 void calculateCrownFireActiveRatio();
+
226 void calculateFireTypeRothermel();
+
227 void calculateFireTypeScottAndReinhardt();
+
228 void calculateWindSpeedAtTwentyFeet();
+
229 void calculateCrowningSurfaceFireRateOfSpread();
+
230 void calculateCrownFractionBurned();
+
231 void assignFinalFireBehaviorBasedOnFireType(CrownModelType::CrownModelTypeEnum);
+
232
+
233 // Member variables
+
234 FireType::FireTypeEnum fireType_; // Classification based on corwn fire active and transition ratios
+
235 double surfaceFireHeatPerUnitArea_; // Surface fire hpua used for parallel surface runs (Btu/ft^2)
+
236 double surfaceFirelineIntensity_; // Surface fireline intensity used for parallel surface runs
+
237 double surfaceFireSpreadRate_;
+
238 double surfaceFireFlameLength_;
+
239 double surfaceFireCriticalSpreadRate_;
+
240 double crownFuelLoad_; // Crown fire fuel load (lb / ft^2)
+
241 double canopyHeatPerUnitArea_; // Canopy heat per unit area (Btu/ft^2)
+
242 double crownFireHeatPerUnitArea_; // Crown fire heat per unit area (Btu/ft^2)
+
243 double crownFirelineIntensity_; // Crown fire fireline intensity (Btu / ft / s)
+
244 double crownFlameLength_; // Crown fire flame length (ft)
+
245 double crownFireSpreadRate_;
+
246 double crownCriticalSurfaceFirelineIntensity_; // Crown fire's critical surface fire intensity (Btu / ft / s)
+
247 double crownCriticalFireSpreadRate_; // Crown fire's critical crown fire spread rate (ft / min)
+
248 double crownCriticalSurfaceFlameLength_; // Crown fire's critical surface fire flame length (ft)
+
249 double crownFireActiveRatio_; // Crown fire active ratio
+
250 double crownFireTransitionRatio_; // Crown fire transition ratio
+
251 double crownFireLengthToWidthRatio_; // Crown fire length-to-width ratio
+
252 double crownFireActiveWindSpeed_; // 20 ft windspeed at which active crowning is possible (ft/min)
+
253 double crownFractionBurned_;
+
254 double crowningSurfaceFireRos_; // Surface fire spread rate at which the active crown fire spread rate is fully achieved (ft/min)
+
255 double windSpeedAtTwentyFeet_;
+
256
+
257 double finalSpreadRate_; // "Actual" spread rate of the fire, depends on fire type
+
258 double finalHeatPerUnitArea_; // "Actual" fire heat per unit area, depends on fire type
+
259 double finalFirelineIntesity_; // "Actual" fireline intensity, depends on fire type
+
260 double finalFlameLength_; // "Actual" flame length, depends on fire type
+
261
+
262 double passiveCrownFireSpreadRate_;
+
263 double passiveCrownFireHeatPerUnitArea_;
+
264 double passiveCrownFireLineIntensity_;
+
265 double passiveCrownFireFlameLength_;
+
266
+
267 bool isSurfaceFire_;
+
268 bool isPassiveCrownFire_;
+
269 bool isActiveCrownFire_;
+
270 bool isCrownFire_;
+
271};
-
270
-
271#endif // CROWN_H
+
272
+
273#endif // CROWN_H
CrownInputs
Definition crownInputs.h:34
Crown
Definition crown.h:56
FireSize
Definition fireSize.h:34
FuelModels
Definition fuelModels.h:40
MoistureScenarios
Definition moistureScenarios.h:37
Surface
Definition surface.h:42
-
Crown::CrownModelType
Definition crown.h:192
+
Crown::CrownModelType
Definition crown.h:194
FireType
Definition crown.h:45
diff --git a/docs/search/all_4.js b/docs/search/all_4.js index e7febc3..f8660cc 100644 --- a/docs/search/all_4.js +++ b/docs/search/all_4.js @@ -2,7 +2,7 @@ var searchData= [ ['equationrequiredfieldtable_0',['EquationRequiredFieldTable',['../classEquationRequiredFieldTable.html',1,'']]], ['equationrequiredfieldtablerecord_1',['EquationRequiredFieldTableRecord',['../classEquationRequiredFieldTableRecord.html',1,'']]], - ['exhausted_2',['exhausted',['../classSem_1_1ContainForce.html#a92dc7a1a3694435a8ea119b862a612b5',1,'Sem::ContainForce::exhausted()'],['../classSem_1_1Contain.html#a8fc4448d3d42ce02477799cb938b5d0baf0a1f2e0773208e27ff87fd5c20cbfb8',1,'Sem::Contain::Exhausted'],['../structContainAdapterEnums_1_1ContainStatus.html#a2f5a9705abd8b39547487bb19cd26c11ac9ad57ccd7d18f1de14337a50bc89318',1,'ContainAdapterEnums::ContainStatus::Exhausted']]], + ['exhausted_2',['exhausted',['../classSem_1_1Contain.html#a8fc4448d3d42ce02477799cb938b5d0baf0a1f2e0773208e27ff87fd5c20cbfb8',1,'Sem::Contain::Exhausted'],['../structContainAdapterEnums_1_1ContainStatus.html#a2f5a9705abd8b39547487bb19cd26c11ac9ad57ccd7d18f1de14337a50bc89318',1,'ContainAdapterEnums::ContainStatus::Exhausted'],['../classSem_1_1ContainForce.html#a92dc7a1a3694435a8ea119b862a612b5',1,'Sem::ContainForce::exhausted()']]], ['exhaustedtime_3',['exhaustedTime',['../classSem_1_1Contain.html#a3914136eceb50a23eb9d999be355f599',1,'Sem::Contain']]], ['extension_4',['extension',['../classExtension.html',1,'Extension'],['../classExtension.html#abfb3dd4206d823e1dba92b7a43f1f015',1,'Extension::Extension()']]] ]; diff --git a/src/behave/crown.h b/src/behave/crown.h index 2d4dd64..783b779 100644 --- a/src/behave/crown.h +++ b/src/behave/crown.h @@ -156,6 +156,8 @@ class Crown void setWindAdjustmentFactorCalculationMethod(WindAdjustmentFactorCalculationMethod::WindAdjustmentFactorCalculationMethodEnum windAdjustmentFactorCalculationMethod); // SurfaceInputs getters + double getDirectionOfMaxSpread(){ return surfaceFuel_.getDirectionOfMaxSpread(); } + double getFireEccentricity() { return surfaceFuel_.getFireEccentricity(); } int getFuelModelNumber() const; double getMoistureOneHour(FractionUnits::FractionUnitsEnum moistureUnits) const; double getMoistureTenHour(FractionUnits::FractionUnitsEnum moistureUnits) const; diff --git a/src/behave/safeSeparationDistanceCalculator.cpp b/src/behave/safeSeparationDistanceCalculator.cpp index 38f1cad..f7d5cfc 100644 --- a/src/behave/safeSeparationDistanceCalculator.cpp +++ b/src/behave/safeSeparationDistanceCalculator.cpp @@ -1,4 +1,6 @@ #include "safeSeparationDistanceCalculator.h" +#define _USE_MATH_DEFINES +#include const std::unordered_map, double, TupleHash> SafeSeparationDistanceCalculator::deltaLookup = { {{SpeedClass::Light, BurningCondition::Low, SlopeClass::Flat}, 1.0}, diff --git a/swig/AreaUnits.cs b/swig/AreaUnits.cs new file mode 100644 index 0000000..e1540ae --- /dev/null +++ b/swig/AreaUnits.cs @@ -0,0 +1,84 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class AreaUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal AreaUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AreaUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(AreaUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~AreaUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_AreaUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, AreaUnits.AreaUnitsEnum units) { + double ret = BehavePINVOKE.AreaUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, AreaUnits.AreaUnitsEnum units) { + double ret = BehavePINVOKE.AreaUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public AreaUnits() : this(BehavePINVOKE.new_AreaUnits(), true) { + } + + public enum AreaUnitsEnum { + SquareFeet, + Acres, + Hectares, + SquareMeters, + SquareMiles, + SquareKilometers + } + +} + +} diff --git a/swig/AspenFireSeverity.cs b/swig/AspenFireSeverity.cs new file mode 100644 index 0000000..c7e606e --- /dev/null +++ b/swig/AspenFireSeverity.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class AspenFireSeverity : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal AspenFireSeverity(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(AspenFireSeverity obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(AspenFireSeverity obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~AspenFireSeverity() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_AspenFireSeverity(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public AspenFireSeverity() : this(BehavePINVOKE.new_AspenFireSeverity(), true) { + } + + public enum AspenFireSeverityEnum { + Low = 0, + Moderate = 1 + } + +} + +} diff --git a/swig/BasalAreaUnits.cs b/swig/BasalAreaUnits.cs new file mode 100644 index 0000000..b7c41c0 --- /dev/null +++ b/swig/BasalAreaUnits.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class BasalAreaUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal BasalAreaUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(BasalAreaUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(BasalAreaUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~BasalAreaUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_BasalAreaUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, BasalAreaUnits.BasalAreaUnitsEnum units) { + double ret = BehavePINVOKE.BasalAreaUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, BasalAreaUnits.BasalAreaUnitsEnum units) { + double ret = BehavePINVOKE.BasalAreaUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public BasalAreaUnits() : this(BehavePINVOKE.new_BasalAreaUnits(), true) { + } + + public enum BasalAreaUnitsEnum { + SquareFeetPerAcre, + SquareMetersPerHectare + } + +} + +} diff --git a/swig/Behave.cs b/swig/Behave.cs new file mode 100644 index 0000000..f0f8602 --- /dev/null +++ b/swig/Behave.cs @@ -0,0 +1,16 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class Behave { +} + +} diff --git a/swig/BehavePINVOKE.cs b/swig/BehavePINVOKE.cs new file mode 100644 index 0000000..bae5e2c --- /dev/null +++ b/swig/BehavePINVOKE.cs @@ -0,0 +1,1543 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +class BehavePINVOKE { + + protected class SWIGExceptionHelper { + + public delegate void ExceptionDelegate(string message); + public delegate void ExceptionArgumentDelegate(string message, string paramName); + + static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException); + static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException); + static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException); + static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException); + static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException); + static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException); + static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException); + static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException); + static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException); + static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException); + static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException); + + static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException); + static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); + static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="SWIGRegisterExceptionCallbacks_Behave")] + public static extern void SWIGRegisterExceptionCallbacks_Behave( + ExceptionDelegate applicationDelegate, + ExceptionDelegate arithmeticDelegate, + ExceptionDelegate divideByZeroDelegate, + ExceptionDelegate indexOutOfRangeDelegate, + ExceptionDelegate invalidCastDelegate, + ExceptionDelegate invalidOperationDelegate, + ExceptionDelegate ioDelegate, + ExceptionDelegate nullReferenceDelegate, + ExceptionDelegate outOfMemoryDelegate, + ExceptionDelegate overflowDelegate, + ExceptionDelegate systemExceptionDelegate); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_Behave")] + public static extern void SWIGRegisterExceptionCallbacksArgument_Behave( + ExceptionArgumentDelegate argumentDelegate, + ExceptionArgumentDelegate argumentNullDelegate, + ExceptionArgumentDelegate argumentOutOfRangeDelegate); + + static void SetPendingApplicationException(string message) { + SWIGPendingException.Set(new global::System.ApplicationException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingArithmeticException(string message) { + SWIGPendingException.Set(new global::System.ArithmeticException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingDivideByZeroException(string message) { + SWIGPendingException.Set(new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingIndexOutOfRangeException(string message) { + SWIGPendingException.Set(new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingInvalidCastException(string message) { + SWIGPendingException.Set(new global::System.InvalidCastException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingInvalidOperationException(string message) { + SWIGPendingException.Set(new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingIOException(string message) { + SWIGPendingException.Set(new global::System.IO.IOException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingNullReferenceException(string message) { + SWIGPendingException.Set(new global::System.NullReferenceException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingOutOfMemoryException(string message) { + SWIGPendingException.Set(new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingOverflowException(string message) { + SWIGPendingException.Set(new global::System.OverflowException(message, SWIGPendingException.Retrieve())); + } + static void SetPendingSystemException(string message) { + SWIGPendingException.Set(new global::System.SystemException(message, SWIGPendingException.Retrieve())); + } + + static void SetPendingArgumentException(string message, string paramName) { + SWIGPendingException.Set(new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); + } + static void SetPendingArgumentNullException(string message, string paramName) { + global::System.Exception e = SWIGPendingException.Retrieve(); + if (e != null) message = message + " Inner Exception: " + e.Message; + SWIGPendingException.Set(new global::System.ArgumentNullException(paramName, message)); + } + static void SetPendingArgumentOutOfRangeException(string message, string paramName) { + global::System.Exception e = SWIGPendingException.Retrieve(); + if (e != null) message = message + " Inner Exception: " + e.Message; + SWIGPendingException.Set(new global::System.ArgumentOutOfRangeException(paramName, message)); + } + + static SWIGExceptionHelper() { + SWIGRegisterExceptionCallbacks_Behave( + applicationDelegate, + arithmeticDelegate, + divideByZeroDelegate, + indexOutOfRangeDelegate, + invalidCastDelegate, + invalidOperationDelegate, + ioDelegate, + nullReferenceDelegate, + outOfMemoryDelegate, + overflowDelegate, + systemDelegate); + + SWIGRegisterExceptionCallbacksArgument_Behave( + argumentDelegate, + argumentNullDelegate, + argumentOutOfRangeDelegate); + } + } + + protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); + + public class SWIGPendingException { + [global::System.ThreadStatic] + private static global::System.Exception pendingException = null; + private static int numExceptionsPending = 0; + private static global::System.Object exceptionsLock = null; + + public static bool Pending { + get { + bool pending = false; + if (numExceptionsPending > 0) + if (pendingException != null) + pending = true; + return pending; + } + } + + public static void Set(global::System.Exception e) { + if (pendingException != null) + throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); + pendingException = e; + lock(exceptionsLock) { + numExceptionsPending++; + } + } + + public static global::System.Exception Retrieve() { + global::System.Exception e = null; + if (numExceptionsPending > 0) { + if (pendingException != null) { + e = pendingException; + pendingException = null; + lock(exceptionsLock) { + numExceptionsPending--; + } + } + } + return e; + } + + static SWIGPendingException() { + exceptionsLock = new global::System.Object(); + } + } + + + protected class SWIGStringHelper { + + public delegate string SWIGStringDelegate(string message); + static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="SWIGRegisterStringCallback_Behave")] + public static extern void SWIGRegisterStringCallback_Behave(SWIGStringDelegate stringDelegate); + + static string CreateString(string cString) { + return cString; + } + + static SWIGStringHelper() { + SWIGRegisterStringCallback_Behave(stringDelegate); + } + } + + static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); + + + public class SWIGStringWithLengthHelper { + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="SWIG_csharp_string_to_c")] + private static extern global::System.IntPtr SWIG_csharp_string_to_c0(int size, int len, [global::System.Runtime.InteropServices.In,global::System.Runtime.InteropServices.MarshalAs(global::System.Runtime.InteropServices.UnmanagedType.LPStr, SizeParamIndex=0)] string str); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="SWIG_csharp_string_size")] + private static extern int SWIG_csharp_string_size(global::System.IntPtr str); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="SWIG_csharp_string_str")] + private static extern global::System.IntPtr SWIG_csharp_string_str(global::System.IntPtr str); + + public static global::System.IntPtr SWIG_csharp_string_to_c(string str) { + if (str == null) + return global::System.IntPtr.Zero; + global::System.Text.Encoding utf8 = global::System.Text.Encoding.UTF8; + return SWIG_csharp_string_to_c0(utf8.GetByteCount(str), str.Length, str); + } + + public static string SWIG_c_to_csharp_string(global::System.IntPtr str) { + int size = SWIG_csharp_string_size(str); + if (size > 0) { + global::System.IntPtr s = SWIG_csharp_string_str(str); + byte[] b = new byte[size]; + global::System.Runtime.InteropServices.Marshal.Copy(s, b, 0, size); + global::System.Text.Encoding utf8 = global::System.Text.Encoding.UTF8; + return utf8.GetString(b); + } + return null; + } + } + + + static BehavePINVOKE() { + } + + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_Surface__SWIG_0")] + public static extern global::System.IntPtr new_Surface__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_Surface__SWIG_1")] + public static extern global::System.IntPtr new_Surface__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_isAllFuelLoadZero__SWIG_0")] + public static extern bool Surface_isAllFuelLoadZero__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_doSurfaceRunInDirectionOfMaxSpread")] + public static extern void Surface_doSurfaceRunInDirectionOfMaxSpread(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_doSurfaceRunInDirectionOfInterest")] + public static extern void Surface_doSurfaceRunInDirectionOfInterest(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_calculateFlameLength")] + public static extern double Surface_calculateFlameLength(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setFuelModels")] + public static extern void Surface_setFuelModels(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_initializeMembers")] + public static extern void Surface_initializeMembers(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getSpreadRate")] + public static extern double Surface_getSpreadRate(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getSpreadRateInDirectionOfInterest")] + public static extern double Surface_getSpreadRateInDirectionOfInterest(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getBackingSpreadRate")] + public static extern double Surface_getBackingSpreadRate(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFlankingSpreadRate")] + public static extern double Surface_getFlankingSpreadRate(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getSpreadDistance")] + public static extern double Surface_getSpreadDistance(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getSpreadDistanceInDirectionOfInterest")] + public static extern double Surface_getSpreadDistanceInDirectionOfInterest(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getBackingSpreadDistance")] + public static extern double Surface_getBackingSpreadDistance(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFlankingSpreadDistance")] + public static extern double Surface_getFlankingSpreadDistance(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getDirectionOfMaxSpread")] + public static extern double Surface_getDirectionOfMaxSpread(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFlameLength")] + public static extern double Surface_getFlameLength(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getBackingFlameLength")] + public static extern double Surface_getBackingFlameLength(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFlankingFlameLength")] + public static extern double Surface_getFlankingFlameLength(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFlameLengthInDirectionOfInterest")] + public static extern double Surface_getFlameLengthInDirectionOfInterest(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFireLengthToWidthRatio")] + public static extern double Surface_getFireLengthToWidthRatio(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFireEccentricity")] + public static extern double Surface_getFireEccentricity(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getHeadingToBackingRatio")] + public static extern double Surface_getHeadingToBackingRatio(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFirelineIntensity")] + public static extern double Surface_getFirelineIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getBackingFirelineIntensity")] + public static extern double Surface_getBackingFirelineIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFlankingFirelineIntensity")] + public static extern double Surface_getFlankingFirelineIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFirelineIntensityInDirectionOfInterest")] + public static extern double Surface_getFirelineIntensityInDirectionOfInterest(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getHeatPerUnitArea")] + public static extern double Surface_getHeatPerUnitArea(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMidflameWindspeed")] + public static extern double Surface_getMidflameWindspeed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getResidenceTime")] + public static extern double Surface_getResidenceTime(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getReactionIntensity")] + public static extern double Surface_getReactionIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getSurfaceFireReactionIntensityForLifeState")] + public static extern double Surface_getSurfaceFireReactionIntensityForLifeState(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getEllipticalA")] + public static extern double Surface_getEllipticalA(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getEllipticalB")] + public static extern double Surface_getEllipticalB(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getEllipticalC")] + public static extern double Surface_getEllipticalC(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFireLength")] + public static extern double Surface_getFireLength(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMaxFireWidth")] + public static extern double Surface_getMaxFireWidth(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getSlopeFactor")] + public static extern double Surface_getSlopeFactor(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getBulkDensity")] + public static extern double Surface_getBulkDensity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getHeatSink")] + public static extern double Surface_getHeatSink(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getHeatSource")] + public static extern double Surface_getHeatSource(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFirePerimeter")] + public static extern double Surface_getFirePerimeter(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFireArea")] + public static extern double Surface_getFireArea(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getCharacteristicMoistureByLifeState")] + public static extern double Surface_getCharacteristicMoistureByLifeState(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getLiveFuelMoistureOfExtinction")] + public static extern double Surface_getLiveFuelMoistureOfExtinction(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getCharacteristicSAVR")] + public static extern double Surface_getCharacteristicSAVR(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getRelativePackingRatio")] + public static extern double Surface_getRelativePackingRatio(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPackingRatio")] + public static extern double Surface_getPackingRatio(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getTotalLiveFuelLoad")] + public static extern double Surface_getTotalLiveFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getTotalDeadFuelLoad")] + public static extern double Surface_getTotalDeadFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getTotalDeadHerbaceousFuelLoad")] + public static extern double Surface_getTotalDeadHerbaceousFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setCanopyHeight")] + public static extern void Surface_setCanopyHeight(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setCanopyCover")] + public static extern void Surface_setCanopyCover(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setCrownRatio")] + public static extern void Surface_setCrownRatio(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setElapsedTime")] + public static extern void Surface_setElapsedTime(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setFuelModelNumber")] + public static extern void Surface_setFuelModelNumber(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setMoistureOneHour")] + public static extern void Surface_setMoistureOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setMoistureTenHour")] + public static extern void Surface_setMoistureTenHour(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setMoistureHundredHour")] + public static extern void Surface_setMoistureHundredHour(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setMoistureDeadAggregate")] + public static extern void Surface_setMoistureDeadAggregate(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setMoistureLiveHerbaceous")] + public static extern void Surface_setMoistureLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setMoistureLiveWoody")] + public static extern void Surface_setMoistureLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setMoistureLiveAggregate")] + public static extern void Surface_setMoistureLiveAggregate(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setMoistureScenarios")] + public static extern void Surface_setMoistureScenarios(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setCurrentMoistureScenarioByName")] + public static extern bool Surface_setCurrentMoistureScenarioByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setCurrentMoistureScenarioByIndex")] + public static extern bool Surface_setCurrentMoistureScenarioByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setMoistureInputMode")] + public static extern void Surface_setMoistureInputMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setSlope")] + public static extern void Surface_setSlope(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setAspect")] + public static extern void Surface_setAspect(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setWindSpeed")] + public static extern void Surface_setWindSpeed(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setUserProvidedWindAdjustmentFactor")] + public static extern void Surface_setUserProvidedWindAdjustmentFactor(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setWindDirection")] + public static extern void Surface_setWindDirection(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setWindAndSpreadOrientationMode")] + public static extern void Surface_setWindAndSpreadOrientationMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setWindHeightInputMode")] + public static extern void Surface_setWindHeightInputMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setFirstFuelModelNumber")] + public static extern void Surface_setFirstFuelModelNumber(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setSecondFuelModelNumber")] + public static extern void Surface_setSecondFuelModelNumber(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setTwoFuelModelsMethod")] + public static extern void Surface_setTwoFuelModelsMethod(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setTwoFuelModelsFirstFuelModelCoverage")] + public static extern void Surface_setTwoFuelModelsFirstFuelModelCoverage(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setWindAdjustmentFactorCalculationMethod")] + public static extern void Surface_setWindAdjustmentFactorCalculationMethod(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_updateSurfaceInputs")] + public static extern void Surface_updateSurfaceInputs(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, int jarg8, double jarg9, int jarg10, int jarg11, double jarg12, int jarg13, double jarg14, int jarg15, double jarg16, double jarg17, int jarg18, double jarg19, int jarg20, double jarg21, int jarg22); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_updateSurfaceInputsForTwoFuelModels")] + public static extern void Surface_updateSurfaceInputsForTwoFuelModels(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8, int jarg9, double jarg10, int jarg11, int jarg12, double jarg13, int jarg14, double jarg15, int jarg16, int jarg17, double jarg18, int jarg19, double jarg20, double jarg21, int jarg22, double jarg23, int jarg24, double jarg25, int jarg26); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_updateSurfaceInputsForPalmettoGallbery")] + public static extern void Surface_updateSurfaceInputsForPalmettoGallbery(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, int jarg7, double jarg8, int jarg9, int jarg10, double jarg11, int jarg12, double jarg13, double jarg14, double jarg15, double jarg16, int jarg17, double jarg18, int jarg19, double jarg20, double jarg21, int jarg22, double jarg23, int jarg24, double jarg25, int jarg26); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setAgeOfRough")] + public static extern void Surface_setAgeOfRough(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setHeightOfUnderstory")] + public static extern void Surface_setHeightOfUnderstory(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setPalmettoCoverage")] + public static extern void Surface_setPalmettoCoverage(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setOverstoryBasalArea")] + public static extern void Surface_setOverstoryBasalArea(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setIsUsingPalmettoGallberry")] + public static extern void Surface_setIsUsingPalmettoGallberry(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_updateSurfaceInputsForWesternAspen")] + public static extern void Surface_updateSurfaceInputsForWesternAspen(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4, int jarg5, double jarg6, int jarg7, double jarg8, double jarg9, double jarg10, double jarg11, double jarg12, int jarg13, double jarg14, int jarg15, int jarg16, double jarg17, int jarg18, double jarg19, int jarg20, double jarg21, double jarg22, int jarg23, double jarg24, int jarg25, double jarg26, int jarg27); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setAspenFuelModelNumber")] + public static extern void Surface_setAspenFuelModelNumber(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setAspenCuringLevel")] + public static extern void Surface_setAspenCuringLevel(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setAspenDBH")] + public static extern void Surface_setAspenDBH(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setAspenFireSeverity")] + public static extern void Surface_setAspenFireSeverity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setIsUsingWesternAspen")] + public static extern void Surface_setIsUsingWesternAspen(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setChaparralFuelLoadInputMode")] + public static extern void Surface_setChaparralFuelLoadInputMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setChaparralFuelType")] + public static extern void Surface_setChaparralFuelType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setChaparralFuelBedDepth")] + public static extern void Surface_setChaparralFuelBedDepth(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setChaparralFuelDeadLoadFraction")] + public static extern void Surface_setChaparralFuelDeadLoadFraction(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setChaparralTotalFuelLoad")] + public static extern void Surface_setChaparralTotalFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_setIsUsingChaparral")] + public static extern void Surface_setIsUsingChaparral(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelCode")] + public static extern global::System.IntPtr Surface_getFuelCode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelName")] + public static extern global::System.IntPtr Surface_getFuelName(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelbedDepth")] + public static extern double Surface_getFuelbedDepth(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelMoistureOfExtinctionDead")] + public static extern double Surface_getFuelMoistureOfExtinctionDead(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelHeatOfCombustionDead")] + public static extern double Surface_getFuelHeatOfCombustionDead(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelHeatOfCombustionLive")] + public static extern double Surface_getFuelHeatOfCombustionLive(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelLoadOneHour")] + public static extern double Surface_getFuelLoadOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelLoadTenHour")] + public static extern double Surface_getFuelLoadTenHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelLoadHundredHour")] + public static extern double Surface_getFuelLoadHundredHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelLoadLiveHerbaceous")] + public static extern double Surface_getFuelLoadLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelLoadLiveWoody")] + public static extern double Surface_getFuelLoadLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelSavrOneHour")] + public static extern double Surface_getFuelSavrOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelSavrLiveHerbaceous")] + public static extern double Surface_getFuelSavrLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelSavrLiveWoody")] + public static extern double Surface_getFuelSavrLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_isFuelDynamic")] + public static extern bool Surface_isFuelDynamic(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_isFuelModelDefined")] + public static extern bool Surface_isFuelModelDefined(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_isFuelModelReserved")] + public static extern bool Surface_isFuelModelReserved(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_isUsingTwoFuelModels")] + public static extern bool Surface_isUsingTwoFuelModels(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getElapsedTime")] + public static extern double Surface_getElapsedTime(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getFuelModelNumber")] + public static extern int Surface_getFuelModelNumber(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureOneHour")] + public static extern double Surface_getMoistureOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureTenHour")] + public static extern double Surface_getMoistureTenHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureHundredHour")] + public static extern double Surface_getMoistureHundredHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureDeadAggregateValue")] + public static extern double Surface_getMoistureDeadAggregateValue(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureLiveHerbaceous")] + public static extern double Surface_getMoistureLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureLiveWoody")] + public static extern double Surface_getMoistureLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureLiveAggregateValue")] + public static extern double Surface_getMoistureLiveAggregateValue(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_isMoistureClassInputNeededForCurrentFuelModel")] + public static extern bool Surface_isMoistureClassInputNeededForCurrentFuelModel(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureInputMode")] + public static extern int Surface_getMoistureInputMode(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getNumberOfMoistureScenarios")] + public static extern int Surface_getNumberOfMoistureScenarios(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioIndexByName")] + public static extern int Surface_getMoistureScenarioIndexByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getIsMoistureScenarioDefinedByName")] + public static extern bool Surface_getIsMoistureScenarioDefinedByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioDescriptionByName")] + public static extern global::System.IntPtr Surface_getMoistureScenarioDescriptionByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioOneHourByName")] + public static extern double Surface_getMoistureScenarioOneHourByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioTenHourByName")] + public static extern double Surface_getMoistureScenarioTenHourByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioHundredHourByName")] + public static extern double Surface_getMoistureScenarioHundredHourByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioLiveHerbaceousByName")] + public static extern double Surface_getMoistureScenarioLiveHerbaceousByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioLiveWoodyByName")] + public static extern double Surface_getMoistureScenarioLiveWoodyByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getIsMoistureScenarioDefinedByIndex")] + public static extern bool Surface_getIsMoistureScenarioDefinedByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioNameByIndex")] + public static extern global::System.IntPtr Surface_getMoistureScenarioNameByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioDescriptionByIndex")] + public static extern global::System.IntPtr Surface_getMoistureScenarioDescriptionByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioOneHourByIndex")] + public static extern double Surface_getMoistureScenarioOneHourByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioTenHourByIndex")] + public static extern double Surface_getMoistureScenarioTenHourByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioHundredHourByIndex")] + public static extern double Surface_getMoistureScenarioHundredHourByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioLiveHerbaceousByIndex")] + public static extern double Surface_getMoistureScenarioLiveHerbaceousByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getMoistureScenarioLiveWoodyByIndex")] + public static extern double Surface_getMoistureScenarioLiveWoodyByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getWindSpeed")] + public static extern double Surface_getWindSpeed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getWindDirection")] + public static extern double Surface_getWindDirection(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getSlope")] + public static extern double Surface_getSlope(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspect")] + public static extern double Surface_getAspect(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getCanopyCover")] + public static extern double Surface_getCanopyCover(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getCanopyHeight")] + public static extern double Surface_getCanopyHeight(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getCrownRatio")] + public static extern double Surface_getCrownRatio(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getWindAndSpreadOrientationMode")] + public static extern int Surface_getWindAndSpreadOrientationMode(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getWindHeightInputMode")] + public static extern int Surface_getWindHeightInputMode(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getWindAdjustmentFactorCalculationMethod")] + public static extern int Surface_getWindAdjustmentFactorCalculationMethod(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getIsUsingPalmettoGallberry")] + public static extern bool Surface_getIsUsingPalmettoGallberry(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAgeOfRough")] + public static extern double Surface_getAgeOfRough(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getHeightOfUnderstory")] + public static extern double Surface_getHeightOfUnderstory(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberryCoverage")] + public static extern double Surface_getPalmettoGallberryCoverage(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getOverstoryBasalArea")] + public static extern double Surface_getOverstoryBasalArea(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberryMoistureOfExtinctionDead")] + public static extern double Surface_getPalmettoGallberryMoistureOfExtinctionDead(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberryHeatOfCombustionDead")] + public static extern double Surface_getPalmettoGallberryHeatOfCombustionDead(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberryHeatOfCombustionLive")] + public static extern double Surface_getPalmettoGallberryHeatOfCombustionLive(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberyDeadFineFuelLoad")] + public static extern double Surface_getPalmettoGallberyDeadFineFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberyDeadMediumFuelLoad")] + public static extern double Surface_getPalmettoGallberyDeadMediumFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberyDeadFoliageLoad")] + public static extern double Surface_getPalmettoGallberyDeadFoliageLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberyLitterLoad")] + public static extern double Surface_getPalmettoGallberyLitterLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberyLiveFineFuelLoad")] + public static extern double Surface_getPalmettoGallberyLiveFineFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberyLiveMediumFuelLoad")] + public static extern double Surface_getPalmettoGallberyLiveMediumFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberyLiveFoliageLoad")] + public static extern double Surface_getPalmettoGallberyLiveFoliageLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getPalmettoGallberyFuelBedDepth")] + public static extern double Surface_getPalmettoGallberyFuelBedDepth(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getIsUsingWesternAspen")] + public static extern bool Surface_getIsUsingWesternAspen(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenFuelModelNumber")] + public static extern int Surface_getAspenFuelModelNumber(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenCuringLevel")] + public static extern double Surface_getAspenCuringLevel(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenDBH")] + public static extern double Surface_getAspenDBH(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenFireSeverity")] + public static extern int Surface_getAspenFireSeverity(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenLoadDeadOneHour")] + public static extern double Surface_getAspenLoadDeadOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenLoadDeadTenHour")] + public static extern double Surface_getAspenLoadDeadTenHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenLoadLiveHerbaceous")] + public static extern double Surface_getAspenLoadLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenLoadLiveWoody")] + public static extern double Surface_getAspenLoadLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenSavrDeadOneHour")] + public static extern double Surface_getAspenSavrDeadOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenSavrDeadTenHour")] + public static extern double Surface_getAspenSavrDeadTenHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenSavrLiveHerbaceous")] + public static extern double Surface_getAspenSavrLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenSavrLiveWoody")] + public static extern double Surface_getAspenSavrLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getAspenMortality")] + public static extern double Surface_getAspenMortality(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getIsUsingChaparral")] + public static extern bool Surface_getIsUsingChaparral(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralFuelType")] + public static extern int Surface_getChaparralFuelType(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralFuelBedDepth")] + public static extern double Surface_getChaparralFuelBedDepth(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralFuelDeadLoadFraction")] + public static extern double Surface_getChaparralFuelDeadLoadFraction(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralTotalFuelLoad")] + public static extern double Surface_getChaparralTotalFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralAge")] + public static extern double Surface_getChaparralAge(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralDaysSinceMayFirst")] + public static extern double Surface_getChaparralDaysSinceMayFirst(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralDeadFuelFraction")] + public static extern double Surface_getChaparralDeadFuelFraction(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralDeadMoistureOfExtinction")] + public static extern double Surface_getChaparralDeadMoistureOfExtinction(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLiveMoistureOfExtinction")] + public static extern double Surface_getChaparralLiveMoistureOfExtinction(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralDensity")] + public static extern double Surface_getChaparralDensity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralHeatOfCombustion")] + public static extern double Surface_getChaparralHeatOfCombustion(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLoadDeadLessThanQuarterInch")] + public static extern double Surface_getChaparralLoadDeadLessThanQuarterInch(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLoadDeadQuarterInchToLessThanHalfInch")] + public static extern double Surface_getChaparralLoadDeadQuarterInchToLessThanHalfInch(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLoadDeadHalfInchToLessThanOneInch")] + public static extern double Surface_getChaparralLoadDeadHalfInchToLessThanOneInch(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLoadDeadOneInchToThreeInch")] + public static extern double Surface_getChaparralLoadDeadOneInchToThreeInch(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLoadLiveLeaves")] + public static extern double Surface_getChaparralLoadLiveLeaves(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLoadLiveStemsLessThanQuaterInch")] + public static extern double Surface_getChaparralLoadLiveStemsLessThanQuaterInch(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLoadLiveQuarterInchToLessThanHalfInch")] + public static extern double Surface_getChaparralLoadLiveQuarterInchToLessThanHalfInch(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLoadLiveHalfInchToLessThanOneInch")] + public static extern double Surface_getChaparralLoadLiveHalfInchToLessThanOneInch(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralLoadLiveOneInchToThreeInch")] + public static extern double Surface_getChaparralLoadLiveOneInchToThreeInch(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralMoisture")] + public static extern double Surface_getChaparralMoisture(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralTotalDeadFuelLoad")] + public static extern double Surface_getChaparralTotalDeadFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Surface_getChaparralTotalLiveFuelLoad")] + public static extern double Surface_getChaparralTotalLiveFuelLoad(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_Surface")] + public static extern void delete_Surface(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_FireType")] + public static extern global::System.IntPtr new_FireType(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_FireType")] + public static extern void delete_FireType(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_Crown__SWIG_0")] + public static extern global::System.IntPtr new_Crown__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_Crown")] + public static extern void delete_Crown(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_Crown__SWIG_1")] + public static extern global::System.IntPtr new_Crown__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_doCrownRunRothermel")] + public static extern void Crown_doCrownRunRothermel(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_doCrownRunScottAndReinhardt")] + public static extern void Crown_doCrownRunScottAndReinhardt(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_initializeMembers")] + public static extern void Crown_initializeMembers(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setFuelModels")] + public static extern void Crown_setFuelModels(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_updateCrownInputs")] + public static extern void Crown_updateCrownInputs(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8, int jarg9, double jarg10, int jarg11, int jarg12, double jarg13, int jarg14, double jarg15, int jarg16, double jarg17, double jarg18, int jarg19, double jarg20, double jarg21, int jarg22, double jarg23, int jarg24, double jarg25, int jarg26); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setCanopyBaseHeight")] + public static extern void Crown_setCanopyBaseHeight(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setCanopyBulkDensity")] + public static extern void Crown_setCanopyBulkDensity(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureFoliar")] + public static extern void Crown_setMoistureFoliar(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCanopyBaseHeight")] + public static extern double Crown_getCanopyBaseHeight(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCanopyBulkDensity")] + public static extern double Crown_getCanopyBulkDensity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureFoliar")] + public static extern double Crown_getMoistureFoliar(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCrownFireSpreadRate")] + public static extern double Crown_getCrownFireSpreadRate(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCrownFireSpreadDistance")] + public static extern double Crown_getCrownFireSpreadDistance(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getSurfaceFireSpreadRate")] + public static extern double Crown_getSurfaceFireSpreadRate(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getSurfaceFireSpreadDistance")] + public static extern double Crown_getSurfaceFireSpreadDistance(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCrownFirelineIntensity")] + public static extern double Crown_getCrownFirelineIntensity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCrownFlameLength")] + public static extern double Crown_getCrownFlameLength(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFireType")] + public static extern int Crown_getFireType(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFinalSpreadRate")] + public static extern double Crown_getFinalSpreadRate(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFinalHeatPerUnitArea")] + public static extern double Crown_getFinalHeatPerUnitArea(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFinalFirelineIntesity")] + public static extern double Crown_getFinalFirelineIntesity(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFinalFlameLength")] + public static extern double Crown_getFinalFlameLength(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCrownFireLengthToWidthRatio")] + public static extern double Crown_getCrownFireLengthToWidthRatio(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCrownFireArea")] + public static extern double Crown_getCrownFireArea(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCrownFirePerimeter")] + public static extern double Crown_getCrownFirePerimeter(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCriticalOpenWindSpeed")] + public static extern double Crown_getCriticalOpenWindSpeed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCrownFractionBurned")] + public static extern double Crown_getCrownFractionBurned(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelCode")] + public static extern global::System.IntPtr Crown_getFuelCode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelName")] + public static extern global::System.IntPtr Crown_getFuelName(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelbedDepth")] + public static extern double Crown_getFuelbedDepth(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelMoistureOfExtinctionDead")] + public static extern double Crown_getFuelMoistureOfExtinctionDead(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelHeatOfCombustionDead")] + public static extern double Crown_getFuelHeatOfCombustionDead(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelHeatOfCombustionLive")] + public static extern double Crown_getFuelHeatOfCombustionLive(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelLoadOneHour")] + public static extern double Crown_getFuelLoadOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelLoadTenHour")] + public static extern double Crown_getFuelLoadTenHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelLoadHundredHour")] + public static extern double Crown_getFuelLoadHundredHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelLoadLiveHerbaceous")] + public static extern double Crown_getFuelLoadLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelLoadLiveWoody")] + public static extern double Crown_getFuelLoadLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelSavrOneHour")] + public static extern double Crown_getFuelSavrOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelSavrLiveHerbaceous")] + public static extern double Crown_getFuelSavrLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelSavrLiveWoody")] + public static extern double Crown_getFuelSavrLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_isFuelDynamic")] + public static extern bool Crown_isFuelDynamic(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_isFuelModelDefined")] + public static extern bool Crown_isFuelModelDefined(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_isFuelModelReserved")] + public static extern bool Crown_isFuelModelReserved(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_isAllFuelLoadZero")] + public static extern bool Crown_isAllFuelLoadZero(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_updateCrownsSurfaceInputs")] + public static extern void Crown_updateCrownsSurfaceInputs(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, int jarg8, double jarg9, int jarg10, int jarg11, double jarg12, int jarg13, double jarg14, int jarg15, double jarg16, double jarg17, int jarg18, double jarg19, int jarg20, double jarg21, int jarg22); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setCanopyCover")] + public static extern void Crown_setCanopyCover(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setCanopyHeight")] + public static extern void Crown_setCanopyHeight(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setCrownRatio")] + public static extern void Crown_setCrownRatio(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setFuelModelNumber")] + public static extern void Crown_setFuelModelNumber(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureOneHour")] + public static extern void Crown_setMoistureOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureTenHour")] + public static extern void Crown_setMoistureTenHour(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureHundredHour")] + public static extern void Crown_setMoistureHundredHour(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureDeadAggregate")] + public static extern void Crown_setMoistureDeadAggregate(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureLiveHerbaceous")] + public static extern void Crown_setMoistureLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureLiveWoody")] + public static extern void Crown_setMoistureLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureLiveAggregate")] + public static extern void Crown_setMoistureLiveAggregate(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureScenarios")] + public static extern void Crown_setMoistureScenarios(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setCurrentMoistureScenarioByName")] + public static extern bool Crown_setCurrentMoistureScenarioByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setCurrentMoistureScenarioByIndex")] + public static extern bool Crown_setCurrentMoistureScenarioByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setMoistureInputMode")] + public static extern void Crown_setMoistureInputMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setSlope")] + public static extern void Crown_setSlope(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setAspect")] + public static extern void Crown_setAspect(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setWindSpeed")] + public static extern void Crown_setWindSpeed(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setWindDirection")] + public static extern void Crown_setWindDirection(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setWindHeightInputMode")] + public static extern void Crown_setWindHeightInputMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setWindAndSpreadOrientationMode")] + public static extern void Crown_setWindAndSpreadOrientationMode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setUserProvidedWindAdjustmentFactor")] + public static extern void Crown_setUserProvidedWindAdjustmentFactor(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_setWindAdjustmentFactorCalculationMethod")] + public static extern void Crown_setWindAdjustmentFactorCalculationMethod(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getDirectionOfMaxSpread")] + public static extern double Crown_getDirectionOfMaxSpread(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFireEccentricity")] + public static extern double Crown_getFireEccentricity(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getFuelModelNumber")] + public static extern int Crown_getFuelModelNumber(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureOneHour")] + public static extern double Crown_getMoistureOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureTenHour")] + public static extern double Crown_getMoistureTenHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureHundredHour")] + public static extern double Crown_getMoistureHundredHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureLiveHerbaceous")] + public static extern double Crown_getMoistureLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureLiveWoody")] + public static extern double Crown_getMoistureLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getNumberOfMoistureScenarios")] + public static extern int Crown_getNumberOfMoistureScenarios(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioIndexByName")] + public static extern int Crown_getMoistureScenarioIndexByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getIsMoistureScenarioDefinedByName")] + public static extern bool Crown_getIsMoistureScenarioDefinedByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioDescriptionByName")] + public static extern global::System.IntPtr Crown_getMoistureScenarioDescriptionByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioOneHourByName")] + public static extern double Crown_getMoistureScenarioOneHourByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioTenHourByName")] + public static extern double Crown_getMoistureScenarioTenHourByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioHundredHourByName")] + public static extern double Crown_getMoistureScenarioHundredHourByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioLiveHerbaceousByName")] + public static extern double Crown_getMoistureScenarioLiveHerbaceousByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioLiveWoodyByName")] + public static extern double Crown_getMoistureScenarioLiveWoodyByName(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getIsMoistureScenarioDefinedByIndex")] + public static extern bool Crown_getIsMoistureScenarioDefinedByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioNameByIndex")] + public static extern global::System.IntPtr Crown_getMoistureScenarioNameByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioDescriptionByIndex")] + public static extern global::System.IntPtr Crown_getMoistureScenarioDescriptionByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioOneHourByIndex")] + public static extern double Crown_getMoistureScenarioOneHourByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioTenHourByIndex")] + public static extern double Crown_getMoistureScenarioTenHourByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioHundredHourByIndex")] + public static extern double Crown_getMoistureScenarioHundredHourByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioLiveHerbaceousByIndex")] + public static extern double Crown_getMoistureScenarioLiveHerbaceousByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getMoistureScenarioLiveWoodyByIndex")] + public static extern double Crown_getMoistureScenarioLiveWoodyByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getWindSpeed")] + public static extern double Crown_getWindSpeed(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getWindDirection")] + public static extern double Crown_getWindDirection(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getSlope")] + public static extern double Crown_getSlope(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getAspect")] + public static extern double Crown_getAspect(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCanopyCover")] + public static extern double Crown_getCanopyCover(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCanopyHeight")] + public static extern double Crown_getCanopyHeight(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_Crown_getCrownRatio")] + public static extern double Crown_getCrownRatio(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_FuelModels__SWIG_0")] + public static extern global::System.IntPtr new_FuelModels__SWIG_0(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_FuelModels__SWIG_1")] + public static extern global::System.IntPtr new_FuelModels__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_FuelModels")] + public static extern void delete_FuelModels(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_setCustomFuelModel")] + public static extern bool FuelModels_setCustomFuelModel(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, int jarg6, double jarg7, int jarg8, double jarg9, double jarg10, int jarg11, double jarg12, double jarg13, double jarg14, double jarg15, double jarg16, int jarg17, double jarg18, double jarg19, double jarg20, int jarg21, bool jarg22); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_clearCustomFuelModel")] + public static extern bool FuelModels_clearCustomFuelModel(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getFuelCode")] + public static extern global::System.IntPtr FuelModels_getFuelCode(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getFuelName")] + public static extern global::System.IntPtr FuelModels_getFuelName(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getFuelbedDepth")] + public static extern double FuelModels_getFuelbedDepth(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getMoistureOfExtinctionDead")] + public static extern double FuelModels_getMoistureOfExtinctionDead(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getHeatOfCombustionDead")] + public static extern double FuelModels_getHeatOfCombustionDead(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getHeatOfCombustionLive")] + public static extern double FuelModels_getHeatOfCombustionLive(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getFuelLoadOneHour")] + public static extern double FuelModels_getFuelLoadOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getFuelLoadTenHour")] + public static extern double FuelModels_getFuelLoadTenHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getFuelLoadHundredHour")] + public static extern double FuelModels_getFuelLoadHundredHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getFuelLoadLiveHerbaceous")] + public static extern double FuelModels_getFuelLoadLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getFuelLoadLiveWoody")] + public static extern double FuelModels_getFuelLoadLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getSavrOneHour")] + public static extern double FuelModels_getSavrOneHour(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getSavrLiveHerbaceous")] + public static extern double FuelModels_getSavrLiveHerbaceous(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getSavrLiveWoody")] + public static extern double FuelModels_getSavrLiveWoody(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_getIsDynamic")] + public static extern bool FuelModels_getIsDynamic(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_isFuelModelDefined")] + public static extern bool FuelModels_isFuelModelDefined(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_isFuelModelReserved")] + public static extern bool FuelModels_isFuelModelReserved(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FuelModels_isAllFuelLoadZero")] + public static extern bool FuelModels_isAllFuelLoadZero(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_MoistureClassInput")] + public static extern global::System.IntPtr new_MoistureClassInput(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_MoistureClassInput")] + public static extern void delete_MoistureClassInput(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_AspenFireSeverity")] + public static extern global::System.IntPtr new_AspenFireSeverity(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_AspenFireSeverity")] + public static extern void delete_AspenFireSeverity(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_WindAdjustmentFactorShelterMethod")] + public static extern global::System.IntPtr new_WindAdjustmentFactorShelterMethod(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_WindAdjustmentFactorShelterMethod")] + public static extern void delete_WindAdjustmentFactorShelterMethod(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_WindAdjustmentFactorCalculationMethod")] + public static extern global::System.IntPtr new_WindAdjustmentFactorCalculationMethod(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_WindAdjustmentFactorCalculationMethod")] + public static extern void delete_WindAdjustmentFactorCalculationMethod(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_WindHeightInputMode")] + public static extern global::System.IntPtr new_WindHeightInputMode(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_WindHeightInputMode")] + public static extern void delete_WindHeightInputMode(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_WindAndSpreadOrientationMode")] + public static extern global::System.IntPtr new_WindAndSpreadOrientationMode(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_WindAndSpreadOrientationMode")] + public static extern void delete_WindAndSpreadOrientationMode(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_FuelLifeState")] + public static extern global::System.IntPtr new_FuelLifeState(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_FuelLifeState")] + public static extern void delete_FuelLifeState(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_FuelConstants")] + public static extern global::System.IntPtr new_FuelConstants(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_FuelConstants")] + public static extern void delete_FuelConstants(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_SurfaceFireSpreadDirectionMode")] + public static extern global::System.IntPtr new_SurfaceFireSpreadDirectionMode(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_SurfaceFireSpreadDirectionMode")] + public static extern void delete_SurfaceFireSpreadDirectionMode(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_TwoFuelModelsMethod")] + public static extern global::System.IntPtr new_TwoFuelModelsMethod(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_TwoFuelModelsMethod")] + public static extern void delete_TwoFuelModelsMethod(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_TwoFuelModelsContants")] + public static extern global::System.IntPtr new_TwoFuelModelsContants(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_TwoFuelModelsContants")] + public static extern void delete_TwoFuelModelsContants(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_MoistureInputMode")] + public static extern global::System.IntPtr new_MoistureInputMode(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_MoistureInputMode")] + public static extern void delete_MoistureInputMode(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_ChaparralFuelType")] + public static extern global::System.IntPtr new_ChaparralFuelType(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_ChaparralFuelType")] + public static extern void delete_ChaparralFuelType(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_ChaparralContants")] + public static extern global::System.IntPtr new_ChaparralContants(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_ChaparralContants")] + public static extern void delete_ChaparralContants(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_ChaparralFuelLoadInputMode")] + public static extern global::System.IntPtr new_ChaparralFuelLoadInputMode(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_ChaparralFuelLoadInputMode")] + public static extern void delete_ChaparralFuelLoadInputMode(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_AreaUnits_toBaseUnits")] + public static extern double AreaUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_AreaUnits_fromBaseUnits")] + public static extern double AreaUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_AreaUnits")] + public static extern global::System.IntPtr new_AreaUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_AreaUnits")] + public static extern void delete_AreaUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_BasalAreaUnits_toBaseUnits")] + public static extern double BasalAreaUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_BasalAreaUnits_fromBaseUnits")] + public static extern double BasalAreaUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_BasalAreaUnits")] + public static extern global::System.IntPtr new_BasalAreaUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_BasalAreaUnits")] + public static extern void delete_BasalAreaUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_LengthUnits_toBaseUnits")] + public static extern double LengthUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_LengthUnits_fromBaseUnits")] + public static extern double LengthUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_LengthUnits")] + public static extern global::System.IntPtr new_LengthUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_LengthUnits")] + public static extern void delete_LengthUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_LoadingUnits_toBaseUnits")] + public static extern double LoadingUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_LoadingUnits_fromBaseUnits")] + public static extern double LoadingUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_LoadingUnits")] + public static extern global::System.IntPtr new_LoadingUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_LoadingUnits")] + public static extern void delete_LoadingUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_PressureUnits_toBaseUnits")] + public static extern double PressureUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_PressureUnits_fromBaseUnits")] + public static extern double PressureUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_PressureUnits")] + public static extern global::System.IntPtr new_PressureUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_PressureUnits")] + public static extern void delete_PressureUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_SurfaceAreaToVolumeUnits_toBaseUnits")] + public static extern double SurfaceAreaToVolumeUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_SurfaceAreaToVolumeUnits_fromBaseUnits")] + public static extern double SurfaceAreaToVolumeUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_SurfaceAreaToVolumeUnits")] + public static extern global::System.IntPtr new_SurfaceAreaToVolumeUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_SurfaceAreaToVolumeUnits")] + public static extern void delete_SurfaceAreaToVolumeUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_SpeedUnits_toBaseUnits")] + public static extern double SpeedUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_SpeedUnits_fromBaseUnits")] + public static extern double SpeedUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_SpeedUnits")] + public static extern global::System.IntPtr new_SpeedUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_SpeedUnits")] + public static extern void delete_SpeedUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FractionUnits_toBaseUnits")] + public static extern double FractionUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FractionUnits_fromBaseUnits")] + public static extern double FractionUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_FractionUnits")] + public static extern global::System.IntPtr new_FractionUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_FractionUnits")] + public static extern void delete_FractionUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_SlopeUnits_toBaseUnits")] + public static extern double SlopeUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_SlopeUnits_fromBaseUnits")] + public static extern double SlopeUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_SlopeUnits")] + public static extern global::System.IntPtr new_SlopeUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_SlopeUnits")] + public static extern void delete_SlopeUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_DensityUnits_toBaseUnits")] + public static extern double DensityUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_DensityUnits_fromBaseUnits")] + public static extern double DensityUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_DensityUnits")] + public static extern global::System.IntPtr new_DensityUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_DensityUnits")] + public static extern void delete_DensityUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_HeatOfCombustionUnits_toBaseUnits")] + public static extern double HeatOfCombustionUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_HeatOfCombustionUnits_fromBaseUnits")] + public static extern double HeatOfCombustionUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_HeatOfCombustionUnits")] + public static extern global::System.IntPtr new_HeatOfCombustionUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_HeatOfCombustionUnits")] + public static extern void delete_HeatOfCombustionUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_HeatSinkUnits_toBaseUnits")] + public static extern double HeatSinkUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_HeatSinkUnits_fromBaseUnits")] + public static extern double HeatSinkUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_HeatSinkUnits")] + public static extern global::System.IntPtr new_HeatSinkUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_HeatSinkUnits")] + public static extern void delete_HeatSinkUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_HeatPerUnitAreaUnits_toBaseUnits")] + public static extern double HeatPerUnitAreaUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_HeatPerUnitAreaUnits_fromBaseUnits")] + public static extern double HeatPerUnitAreaUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_HeatPerUnitAreaUnits")] + public static extern global::System.IntPtr new_HeatPerUnitAreaUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_HeatPerUnitAreaUnits")] + public static extern void delete_HeatPerUnitAreaUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_HeatSourceAndReactionIntensityUnits_toBaseUnits")] + public static extern double HeatSourceAndReactionIntensityUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_HeatSourceAndReactionIntensityUnits_fromBaseUnits")] + public static extern double HeatSourceAndReactionIntensityUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_HeatSourceAndReactionIntensityUnits")] + public static extern global::System.IntPtr new_HeatSourceAndReactionIntensityUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_HeatSourceAndReactionIntensityUnits")] + public static extern void delete_HeatSourceAndReactionIntensityUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FirelineIntensityUnits_toBaseUnits")] + public static extern double FirelineIntensityUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_FirelineIntensityUnits_fromBaseUnits")] + public static extern double FirelineIntensityUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_FirelineIntensityUnits")] + public static extern global::System.IntPtr new_FirelineIntensityUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_FirelineIntensityUnits")] + public static extern void delete_FirelineIntensityUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_TemperatureUnits_toBaseUnits")] + public static extern double TemperatureUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_TemperatureUnits_fromBaseUnits")] + public static extern double TemperatureUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_TemperatureUnits")] + public static extern global::System.IntPtr new_TemperatureUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_TemperatureUnits")] + public static extern void delete_TemperatureUnits(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_TimeUnits_toBaseUnits")] + public static extern double TimeUnits_toBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_TimeUnits_fromBaseUnits")] + public static extern double TimeUnits_fromBaseUnits(double jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_new_TimeUnits")] + public static extern global::System.IntPtr new_TimeUnits(); + + [global::System.Runtime.InteropServices.DllImport("Behave", EntryPoint="CSharp_BehaveCore_delete_TimeUnits")] + public static extern void delete_TimeUnits(global::System.Runtime.InteropServices.HandleRef jarg1); +} + +} diff --git a/swig/ChaparralContants.cs b/swig/ChaparralContants.cs new file mode 100644 index 0000000..9662f4d --- /dev/null +++ b/swig/ChaparralContants.cs @@ -0,0 +1,69 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class ChaparralContants : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal ChaparralContants(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChaparralContants obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(ChaparralContants obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~ChaparralContants() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_ChaparralContants(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public ChaparralContants() : this(BehavePINVOKE.new_ChaparralContants(), true) { + } + + public enum ChaparralContantsEnum { + NumFuelClasses = 5 + } + +} + +} diff --git a/swig/ChaparralFuelLoadInputMode.cs b/swig/ChaparralFuelLoadInputMode.cs new file mode 100644 index 0000000..648996e --- /dev/null +++ b/swig/ChaparralFuelLoadInputMode.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class ChaparralFuelLoadInputMode : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal ChaparralFuelLoadInputMode(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChaparralFuelLoadInputMode obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(ChaparralFuelLoadInputMode obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~ChaparralFuelLoadInputMode() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_ChaparralFuelLoadInputMode(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public ChaparralFuelLoadInputMode() : this(BehavePINVOKE.new_ChaparralFuelLoadInputMode(), true) { + } + + public enum ChaparralFuelInputLoadModeEnum { + DirectFuelLoad = 1, + FuelLoadFromDepthAndChaparralType = 2 + } + +} + +} diff --git a/swig/ChaparralFuelType.cs b/swig/ChaparralFuelType.cs new file mode 100644 index 0000000..bef0316 --- /dev/null +++ b/swig/ChaparralFuelType.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class ChaparralFuelType : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal ChaparralFuelType(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(ChaparralFuelType obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(ChaparralFuelType obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~ChaparralFuelType() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_ChaparralFuelType(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public ChaparralFuelType() : this(BehavePINVOKE.new_ChaparralFuelType(), true) { + } + + public enum ChaparralFuelTypeEnum { + NotSet = 0, + Chamise = 1, + MixedBrush = 2 + } + +} + +} diff --git a/swig/Crown.cs b/swig/Crown.cs new file mode 100644 index 0000000..0390ad1 --- /dev/null +++ b/swig/Crown.cs @@ -0,0 +1,556 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class Crown : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal Crown(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Crown obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(Crown obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~Crown() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_Crown(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public Crown(FuelModels fuelModels) : this(BehavePINVOKE.new_Crown__SWIG_0(FuelModels.getCPtr(fuelModels)), true) { + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + } + + public Crown(Crown rhs) : this(BehavePINVOKE.new_Crown__SWIG_1(Crown.getCPtr(rhs)), true) { + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + } + + public void doCrownRunRothermel() { + BehavePINVOKE.Crown_doCrownRunRothermel(swigCPtr); + } + + public void doCrownRunScottAndReinhardt() { + BehavePINVOKE.Crown_doCrownRunScottAndReinhardt(swigCPtr); + } + + public void initializeMembers() { + BehavePINVOKE.Crown_initializeMembers(swigCPtr); + } + + public void setFuelModels(FuelModels fuelModels) { + BehavePINVOKE.Crown_setFuelModels(swigCPtr, FuelModels.getCPtr(fuelModels)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + } + + public void updateCrownInputs(int fuelModelNumber, double moistureOneHour, double moistureTenHour, double moistureHundredHour, double moistureLiveHerbaceous, double moistureLiveWoody, double moistureFoliar, FractionUnits.FractionUnitsEnum moistureUnits, double windSpeed, SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode, double windDirection, WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum windAndSpreadOrientationMode, double slope, SlopeUnits.SlopeUnitsEnum slopeUnits, double aspect, double canopyCover, FractionUnits.FractionUnitsEnum fractionUnits, double canopyHeight, double canopyBaseHeight, LengthUnits.LengthUnitsEnum canopyHeightUnits, double crownRatio, FractionUnits.FractionUnitsEnum crownRatioUnits, double canopyBulkDensity, DensityUnits.DensityUnitsEnum densityUnits) { + BehavePINVOKE.Crown_updateCrownInputs(swigCPtr, fuelModelNumber, moistureOneHour, moistureTenHour, moistureHundredHour, moistureLiveHerbaceous, moistureLiveWoody, moistureFoliar, (int)moistureUnits, windSpeed, (int)windSpeedUnits, (int)windHeightInputMode, windDirection, (int)windAndSpreadOrientationMode, slope, (int)slopeUnits, aspect, canopyCover, (int)fractionUnits, canopyHeight, canopyBaseHeight, (int)canopyHeightUnits, crownRatio, (int)crownRatioUnits, canopyBulkDensity, (int)densityUnits); + } + + public void setCanopyBaseHeight(double canopyBaseHeight, LengthUnits.LengthUnitsEnum canopyHeightUnits) { + BehavePINVOKE.Crown_setCanopyBaseHeight(swigCPtr, canopyBaseHeight, (int)canopyHeightUnits); + } + + public void setCanopyBulkDensity(double canopyBulkDensity, DensityUnits.DensityUnitsEnum densityUnits) { + BehavePINVOKE.Crown_setCanopyBulkDensity(swigCPtr, canopyBulkDensity, (int)densityUnits); + } + + public void setMoistureFoliar(double foliarMoisture, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Crown_setMoistureFoliar(swigCPtr, foliarMoisture, (int)moistureUnits); + } + + public double getCanopyBaseHeight(LengthUnits.LengthUnitsEnum canopyHeightUnits) { + double ret = BehavePINVOKE.Crown_getCanopyBaseHeight(swigCPtr, (int)canopyHeightUnits); + return ret; + } + + public double getCanopyBulkDensity(DensityUnits.DensityUnitsEnum canopyBulkDensityUnits) { + double ret = BehavePINVOKE.Crown_getCanopyBulkDensity(swigCPtr, (int)canopyBulkDensityUnits); + return ret; + } + + public double getMoistureFoliar(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureFoliar(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getCrownFireSpreadRate(SpeedUnits.SpeedUnitsEnum spreadRateUnits) { + double ret = BehavePINVOKE.Crown_getCrownFireSpreadRate(swigCPtr, (int)spreadRateUnits); + return ret; + } + + public double getCrownFireSpreadDistance(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Crown_getCrownFireSpreadDistance(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getSurfaceFireSpreadRate(SpeedUnits.SpeedUnitsEnum spreadRateUnits) { + double ret = BehavePINVOKE.Crown_getSurfaceFireSpreadRate(swigCPtr, (int)spreadRateUnits); + return ret; + } + + public double getSurfaceFireSpreadDistance(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Crown_getSurfaceFireSpreadDistance(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getCrownFirelineIntensity(FirelineIntensityUnits.FirelineIntensityUnitsEnum firelineIntensityUnits) { + double ret = BehavePINVOKE.Crown_getCrownFirelineIntensity(swigCPtr, (int)firelineIntensityUnits); + return ret; + } + + public double getCrownFlameLength(LengthUnits.LengthUnitsEnum flameLengthUnits) { + double ret = BehavePINVOKE.Crown_getCrownFlameLength(swigCPtr, (int)flameLengthUnits); + return ret; + } + + public FireType.FireTypeEnum getFireType() { + FireType.FireTypeEnum ret = (FireType.FireTypeEnum)BehavePINVOKE.Crown_getFireType(swigCPtr); + return ret; + } + + public double getFinalSpreadRate(SpeedUnits.SpeedUnitsEnum spreadRateUnits) { + double ret = BehavePINVOKE.Crown_getFinalSpreadRate(swigCPtr, (int)spreadRateUnits); + return ret; + } + + public double getFinalHeatPerUnitArea(HeatPerUnitAreaUnits.HeatPerUnitAreaUnitsEnum heatPerUnitAreaUnits) { + double ret = BehavePINVOKE.Crown_getFinalHeatPerUnitArea(swigCPtr, (int)heatPerUnitAreaUnits); + return ret; + } + + public double getFinalFirelineIntesity(FirelineIntensityUnits.FirelineIntensityUnitsEnum firelineIntensityUnits) { + double ret = BehavePINVOKE.Crown_getFinalFirelineIntesity(swigCPtr, (int)firelineIntensityUnits); + return ret; + } + + public double getFinalFlameLength(LengthUnits.LengthUnitsEnum flameLengthUnits) { + double ret = BehavePINVOKE.Crown_getFinalFlameLength(swigCPtr, (int)flameLengthUnits); + return ret; + } + + public double getCrownFireLengthToWidthRatio() { + double ret = BehavePINVOKE.Crown_getCrownFireLengthToWidthRatio(swigCPtr); + return ret; + } + + public double getCrownFireArea(AreaUnits.AreaUnitsEnum areaUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Crown_getCrownFireArea(swigCPtr, (int)areaUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getCrownFirePerimeter(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Crown_getCrownFirePerimeter(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getCriticalOpenWindSpeed(SpeedUnits.SpeedUnitsEnum speedUnits) { + double ret = BehavePINVOKE.Crown_getCriticalOpenWindSpeed(swigCPtr, (int)speedUnits); + return ret; + } + + public double getCrownFractionBurned() { + double ret = BehavePINVOKE.Crown_getCrownFractionBurned(swigCPtr); + return ret; + } + + public SWIGTYPE_p_std__string getFuelCode(int fuelModelNumber) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Crown_getFuelCode(swigCPtr, fuelModelNumber), true); + return ret; + } + + public SWIGTYPE_p_std__string getFuelName(int fuelModelNumber) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Crown_getFuelName(swigCPtr, fuelModelNumber), true); + return ret; + } + + public double getFuelbedDepth(int fuelModelNumber, LengthUnits.LengthUnitsEnum lengthUnits) { + double ret = BehavePINVOKE.Crown_getFuelbedDepth(swigCPtr, fuelModelNumber, (int)lengthUnits); + return ret; + } + + public double getFuelMoistureOfExtinctionDead(int fuelModelNumber, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getFuelMoistureOfExtinctionDead(swigCPtr, fuelModelNumber, (int)moistureUnits); + return ret; + } + + public double getFuelHeatOfCombustionDead(int fuelModelNumber, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits) { + double ret = BehavePINVOKE.Crown_getFuelHeatOfCombustionDead(swigCPtr, fuelModelNumber, (int)heatOfCombustionUnits); + return ret; + } + + public double getFuelHeatOfCombustionLive(int fuelModelNumber, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits) { + double ret = BehavePINVOKE.Crown_getFuelHeatOfCombustionLive(swigCPtr, fuelModelNumber, (int)heatOfCombustionUnits); + return ret; + } + + public double getFuelLoadOneHour(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Crown_getFuelLoadOneHour(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadTenHour(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Crown_getFuelLoadTenHour(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadHundredHour(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Crown_getFuelLoadHundredHour(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadLiveHerbaceous(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Crown_getFuelLoadLiveHerbaceous(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadLiveWoody(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Crown_getFuelLoadLiveWoody(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelSavrOneHour(int fuelModelNumber, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Crown_getFuelSavrOneHour(swigCPtr, fuelModelNumber, (int)savrUnits); + return ret; + } + + public double getFuelSavrLiveHerbaceous(int fuelModelNumber, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Crown_getFuelSavrLiveHerbaceous(swigCPtr, fuelModelNumber, (int)savrUnits); + return ret; + } + + public double getFuelSavrLiveWoody(int fuelModelNumber, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Crown_getFuelSavrLiveWoody(swigCPtr, fuelModelNumber, (int)savrUnits); + return ret; + } + + public bool isFuelDynamic(int fuelModelNumber) { + bool ret = BehavePINVOKE.Crown_isFuelDynamic(swigCPtr, fuelModelNumber); + return ret; + } + + public bool isFuelModelDefined(int fuelModelNumber) { + bool ret = BehavePINVOKE.Crown_isFuelModelDefined(swigCPtr, fuelModelNumber); + return ret; + } + + public bool isFuelModelReserved(int fuelModelNumber) { + bool ret = BehavePINVOKE.Crown_isFuelModelReserved(swigCPtr, fuelModelNumber); + return ret; + } + + public bool isAllFuelLoadZero(int fuelModelNumber) { + bool ret = BehavePINVOKE.Crown_isAllFuelLoadZero(swigCPtr, fuelModelNumber); + return ret; + } + + public void updateCrownsSurfaceInputs(int fuelModelNumber, double moistureOneHour, double moistureTenHour, double moistureHundredHour, double moistureLiveHerbaceous, double moistureLiveWoody, FractionUnits.FractionUnitsEnum moistureUnits, double windSpeed, SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode, double windDirection, WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum windAndSpreadOrientationMode, double slope, SlopeUnits.SlopeUnitsEnum slopeUnits, double aspect, double canopyCover, FractionUnits.FractionUnitsEnum fractionUnits, double canopyHeight, LengthUnits.LengthUnitsEnum canopyHeightUnits, double crownRatio, FractionUnits.FractionUnitsEnum crownRatioUnits) { + BehavePINVOKE.Crown_updateCrownsSurfaceInputs(swigCPtr, fuelModelNumber, moistureOneHour, moistureTenHour, moistureHundredHour, moistureLiveHerbaceous, moistureLiveWoody, (int)moistureUnits, windSpeed, (int)windSpeedUnits, (int)windHeightInputMode, windDirection, (int)windAndSpreadOrientationMode, slope, (int)slopeUnits, aspect, canopyCover, (int)fractionUnits, canopyHeight, (int)canopyHeightUnits, crownRatio, (int)crownRatioUnits); + } + + public void setCanopyCover(double canopyCover, FractionUnits.FractionUnitsEnum fractionUnits) { + BehavePINVOKE.Crown_setCanopyCover(swigCPtr, canopyCover, (int)fractionUnits); + } + + public void setCanopyHeight(double canopyHeight, LengthUnits.LengthUnitsEnum canopyHeightUnits) { + BehavePINVOKE.Crown_setCanopyHeight(swigCPtr, canopyHeight, (int)canopyHeightUnits); + } + + public void setCrownRatio(double crownRatio, FractionUnits.FractionUnitsEnum crownRatioUnits) { + BehavePINVOKE.Crown_setCrownRatio(swigCPtr, crownRatio, (int)crownRatioUnits); + } + + public void setFuelModelNumber(int fuelModelNumber) { + BehavePINVOKE.Crown_setFuelModelNumber(swigCPtr, fuelModelNumber); + } + + public void setMoistureOneHour(double moistureOneHour, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Crown_setMoistureOneHour(swigCPtr, moistureOneHour, (int)moistureUnits); + } + + public void setMoistureTenHour(double moistureTenHour, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Crown_setMoistureTenHour(swigCPtr, moistureTenHour, (int)moistureUnits); + } + + public void setMoistureHundredHour(double moistureHundredHour, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Crown_setMoistureHundredHour(swigCPtr, moistureHundredHour, (int)moistureUnits); + } + + public void setMoistureDeadAggregate(double moistureDead, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Crown_setMoistureDeadAggregate(swigCPtr, moistureDead, (int)moistureUnits); + } + + public void setMoistureLiveHerbaceous(double moistureLiveHerbaceous, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Crown_setMoistureLiveHerbaceous(swigCPtr, moistureLiveHerbaceous, (int)moistureUnits); + } + + public void setMoistureLiveWoody(double moistureLiveWoody, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Crown_setMoistureLiveWoody(swigCPtr, moistureLiveWoody, (int)moistureUnits); + } + + public void setMoistureLiveAggregate(double moistureLive, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Crown_setMoistureLiveAggregate(swigCPtr, moistureLive, (int)moistureUnits); + } + + public void setMoistureScenarios(SWIGTYPE_p_MoistureScenarios moistureScenarios) { + BehavePINVOKE.Crown_setMoistureScenarios(swigCPtr, SWIGTYPE_p_MoistureScenarios.getCPtr(moistureScenarios)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + } + + public bool setCurrentMoistureScenarioByName(SWIGTYPE_p_std__string moistureScenarioName) { + bool ret = BehavePINVOKE.Crown_setCurrentMoistureScenarioByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(moistureScenarioName)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool setCurrentMoistureScenarioByIndex(int moistureScenarioIndex) { + bool ret = BehavePINVOKE.Crown_setCurrentMoistureScenarioByIndex(swigCPtr, moistureScenarioIndex); + return ret; + } + + public void setMoistureInputMode(MoistureInputMode.MoistureInputModeEnum moistureInputMode) { + BehavePINVOKE.Crown_setMoistureInputMode(swigCPtr, (int)moistureInputMode); + } + + public void setSlope(double slope, SlopeUnits.SlopeUnitsEnum slopeUnits) { + BehavePINVOKE.Crown_setSlope(swigCPtr, slope, (int)slopeUnits); + } + + public void setAspect(double aspect) { + BehavePINVOKE.Crown_setAspect(swigCPtr, aspect); + } + + public void setWindSpeed(double windSpeed, SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode) { + BehavePINVOKE.Crown_setWindSpeed(swigCPtr, windSpeed, (int)windSpeedUnits, (int)windHeightInputMode); + } + + public void setWindDirection(double windDirection) { + BehavePINVOKE.Crown_setWindDirection(swigCPtr, windDirection); + } + + public void setWindHeightInputMode(WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode) { + BehavePINVOKE.Crown_setWindHeightInputMode(swigCPtr, (int)windHeightInputMode); + } + + public void setWindAndSpreadOrientationMode(WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum windAndSpreadAngleMode) { + BehavePINVOKE.Crown_setWindAndSpreadOrientationMode(swigCPtr, (int)windAndSpreadAngleMode); + } + + public void setUserProvidedWindAdjustmentFactor(double userProvidedWindAdjustmentFactor) { + BehavePINVOKE.Crown_setUserProvidedWindAdjustmentFactor(swigCPtr, userProvidedWindAdjustmentFactor); + } + + public void setWindAdjustmentFactorCalculationMethod(WindAdjustmentFactorCalculationMethod.WindAdjustmentFactorCalculationMethodEnum windAdjustmentFactorCalculationMethod) { + BehavePINVOKE.Crown_setWindAdjustmentFactorCalculationMethod(swigCPtr, (int)windAdjustmentFactorCalculationMethod); + } + + public double getDirectionOfMaxSpread() { + double ret = BehavePINVOKE.Crown_getDirectionOfMaxSpread(swigCPtr); + return ret; + } + + public double getFireEccentricity() { + double ret = BehavePINVOKE.Crown_getFireEccentricity(swigCPtr); + return ret; + } + + public int getFuelModelNumber() { + int ret = BehavePINVOKE.Crown_getFuelModelNumber(swigCPtr); + return ret; + } + + public double getMoistureOneHour(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureOneHour(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureTenHour(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureTenHour(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureHundredHour(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureHundredHour(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureLiveHerbaceous(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureLiveHerbaceous(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureLiveWoody(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureLiveWoody(swigCPtr, (int)moistureUnits); + return ret; + } + + public int getNumberOfMoistureScenarios() { + int ret = BehavePINVOKE.Crown_getNumberOfMoistureScenarios(swigCPtr); + return ret; + } + + public int getMoistureScenarioIndexByName(SWIGTYPE_p_std__string name) { + int ret = BehavePINVOKE.Crown_getMoistureScenarioIndexByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool getIsMoistureScenarioDefinedByName(SWIGTYPE_p_std__string name) { + bool ret = BehavePINVOKE.Crown_getIsMoistureScenarioDefinedByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public SWIGTYPE_p_std__string getMoistureScenarioDescriptionByName(SWIGTYPE_p_std__string name) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Crown_getMoistureScenarioDescriptionByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name)), true); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioOneHourByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioOneHourByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioTenHourByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioTenHourByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioHundredHourByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioHundredHourByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioLiveHerbaceousByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioLiveHerbaceousByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioLiveWoodyByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioLiveWoodyByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool getIsMoistureScenarioDefinedByIndex(int index) { + bool ret = BehavePINVOKE.Crown_getIsMoistureScenarioDefinedByIndex(swigCPtr, index); + return ret; + } + + public SWIGTYPE_p_std__string getMoistureScenarioNameByIndex(int index) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Crown_getMoistureScenarioNameByIndex(swigCPtr, index), true); + return ret; + } + + public SWIGTYPE_p_std__string getMoistureScenarioDescriptionByIndex(int index) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Crown_getMoistureScenarioDescriptionByIndex(swigCPtr, index), true); + return ret; + } + + public double getMoistureScenarioOneHourByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioOneHourByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getMoistureScenarioTenHourByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioTenHourByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getMoistureScenarioHundredHourByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioHundredHourByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getMoistureScenarioLiveHerbaceousByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioLiveHerbaceousByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getMoistureScenarioLiveWoodyByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Crown_getMoistureScenarioLiveWoodyByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getWindSpeed(SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode) { + double ret = BehavePINVOKE.Crown_getWindSpeed(swigCPtr, (int)windSpeedUnits, (int)windHeightInputMode); + return ret; + } + + public double getWindDirection() { + double ret = BehavePINVOKE.Crown_getWindDirection(swigCPtr); + return ret; + } + + public double getSlope(SlopeUnits.SlopeUnitsEnum slopeUnits) { + double ret = BehavePINVOKE.Crown_getSlope(swigCPtr, (int)slopeUnits); + return ret; + } + + public double getAspect() { + double ret = BehavePINVOKE.Crown_getAspect(swigCPtr); + return ret; + } + + public double getCanopyCover(FractionUnits.FractionUnitsEnum canopyCoverUnits) { + double ret = BehavePINVOKE.Crown_getCanopyCover(swigCPtr, (int)canopyCoverUnits); + return ret; + } + + public double getCanopyHeight(LengthUnits.LengthUnitsEnum canopyHeighUnits) { + double ret = BehavePINVOKE.Crown_getCanopyHeight(swigCPtr, (int)canopyHeighUnits); + return ret; + } + + public double getCrownRatio(FractionUnits.FractionUnitsEnum crownRatioUnits) { + double ret = BehavePINVOKE.Crown_getCrownRatio(swigCPtr, (int)crownRatioUnits); + return ret; + } + +} + +} diff --git a/swig/DensityUnits.cs b/swig/DensityUnits.cs new file mode 100644 index 0000000..a2dd267 --- /dev/null +++ b/swig/DensityUnits.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class DensityUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal DensityUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DensityUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(DensityUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~DensityUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_DensityUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, DensityUnits.DensityUnitsEnum units) { + double ret = BehavePINVOKE.DensityUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, DensityUnits.DensityUnitsEnum units) { + double ret = BehavePINVOKE.DensityUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public DensityUnits() : this(BehavePINVOKE.new_DensityUnits(), true) { + } + + public enum DensityUnitsEnum { + PoundsPerCubicFoot, + KilogramsPerCubicMeter + } + +} + +} diff --git a/swig/FireType.cs b/swig/FireType.cs new file mode 100644 index 0000000..6791716 --- /dev/null +++ b/swig/FireType.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class FireType : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FireType(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FireType obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FireType obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FireType() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_FireType(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public FireType() : this(BehavePINVOKE.new_FireType(), true) { + } + + public enum FireTypeEnum { + Surface = 0, + Torching = 1, + ConditionalCrownFire = 2, + Crowning = 3 + } + +} + +} diff --git a/swig/FirelineIntensityUnits.cs b/swig/FirelineIntensityUnits.cs new file mode 100644 index 0000000..de8e6d5 --- /dev/null +++ b/swig/FirelineIntensityUnits.cs @@ -0,0 +1,83 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class FirelineIntensityUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FirelineIntensityUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FirelineIntensityUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FirelineIntensityUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FirelineIntensityUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_FirelineIntensityUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, FirelineIntensityUnits.FirelineIntensityUnitsEnum units) { + double ret = BehavePINVOKE.FirelineIntensityUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, FirelineIntensityUnits.FirelineIntensityUnitsEnum units) { + double ret = BehavePINVOKE.FirelineIntensityUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public FirelineIntensityUnits() : this(BehavePINVOKE.new_FirelineIntensityUnits(), true) { + } + + public enum FirelineIntensityUnitsEnum { + BtusPerFootPerSecond, + BtusPerFootPerMinute, + KilojoulesPerMeterPerSecond, + KilojoulesPerMeterPerMinute, + KilowattsPerMeter + } + +} + +} diff --git a/swig/FractionUnits.cs b/swig/FractionUnits.cs new file mode 100644 index 0000000..32e15ee --- /dev/null +++ b/swig/FractionUnits.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class FractionUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FractionUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FractionUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FractionUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FractionUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_FractionUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, FractionUnits.FractionUnitsEnum units) { + double ret = BehavePINVOKE.FractionUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, FractionUnits.FractionUnitsEnum units) { + double ret = BehavePINVOKE.FractionUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public FractionUnits() : this(BehavePINVOKE.new_FractionUnits(), true) { + } + + public enum FractionUnitsEnum { + Fraction, + Percent + } + +} + +} diff --git a/swig/FuelConstants.cs b/swig/FuelConstants.cs new file mode 100644 index 0000000..d13b085 --- /dev/null +++ b/swig/FuelConstants.cs @@ -0,0 +1,74 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class FuelConstants : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FuelConstants(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FuelConstants obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FuelConstants obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FuelConstants() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_FuelConstants(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public FuelConstants() : this(BehavePINVOKE.new_FuelConstants(), true) { + } + + public enum FuelConstantsEnum { + MaxLifeStates = 2, + MaxLiveSizeClasses = 5, + MaxDeadSizeClasses = 4, + MaxParticles = 5, + MaxSavrSizeClasses = 5, + MaxFuelModels = 256 + } + +} + +} diff --git a/swig/FuelLifeState.cs b/swig/FuelLifeState.cs new file mode 100644 index 0000000..11c1f3f --- /dev/null +++ b/swig/FuelLifeState.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class FuelLifeState : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FuelLifeState(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FuelLifeState obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FuelLifeState obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FuelLifeState() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_FuelLifeState(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public FuelLifeState() : this(BehavePINVOKE.new_FuelLifeState(), true) { + } + + public enum FuelLifeStateEnum { + Dead = 0, + Live = 1 + } + +} + +} diff --git a/swig/FuelModels.cs b/swig/FuelModels.cs new file mode 100644 index 0000000..5f48209 --- /dev/null +++ b/swig/FuelModels.cs @@ -0,0 +1,170 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class FuelModels : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal FuelModels(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(FuelModels obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(FuelModels obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~FuelModels() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_FuelModels(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public FuelModels() : this(BehavePINVOKE.new_FuelModels__SWIG_0(), true) { + } + + public FuelModels(FuelModels rhs) : this(BehavePINVOKE.new_FuelModels__SWIG_1(FuelModels.getCPtr(rhs)), true) { + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + } + + public bool setCustomFuelModel(int fuelModelNumber, SWIGTYPE_p_std__string code, SWIGTYPE_p_std__string name, double fuelBedDepth, LengthUnits.LengthUnitsEnum lengthUnits, double moistureOfExtinctionDead, FractionUnits.FractionUnitsEnum moistureUnits, double heatOfCombustionDead, double heatOfCombustionLive, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits, double fuelLoadOneHour, double fuelLoadTenHour, double fuelLoadHundredHour, double fuelLoadLiveHerbaceous, double fuelLoadLiveWoody, LoadingUnits.LoadingUnitsEnum loadingUnits, double savrOneHour, double savrLiveHerbaceous, double savrLiveWoody, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits, bool isDynamic) { + bool ret = BehavePINVOKE.FuelModels_setCustomFuelModel(swigCPtr, fuelModelNumber, SWIGTYPE_p_std__string.getCPtr(code), SWIGTYPE_p_std__string.getCPtr(name), fuelBedDepth, (int)lengthUnits, moistureOfExtinctionDead, (int)moistureUnits, heatOfCombustionDead, heatOfCombustionLive, (int)heatOfCombustionUnits, fuelLoadOneHour, fuelLoadTenHour, fuelLoadHundredHour, fuelLoadLiveHerbaceous, fuelLoadLiveWoody, (int)loadingUnits, savrOneHour, savrLiveHerbaceous, savrLiveWoody, (int)savrUnits, isDynamic); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool clearCustomFuelModel(int fuelModelNumber) { + bool ret = BehavePINVOKE.FuelModels_clearCustomFuelModel(swigCPtr, fuelModelNumber); + return ret; + } + + public SWIGTYPE_p_std__string getFuelCode(int fuelModelNumber) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.FuelModels_getFuelCode(swigCPtr, fuelModelNumber), true); + return ret; + } + + public SWIGTYPE_p_std__string getFuelName(int fuelModelNumber) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.FuelModels_getFuelName(swigCPtr, fuelModelNumber), true); + return ret; + } + + public double getFuelbedDepth(int fuelModelNumber, LengthUnits.LengthUnitsEnum lengthUnits) { + double ret = BehavePINVOKE.FuelModels_getFuelbedDepth(swigCPtr, fuelModelNumber, (int)lengthUnits); + return ret; + } + + public double getMoistureOfExtinctionDead(int fuelModelNumber, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.FuelModels_getMoistureOfExtinctionDead(swigCPtr, fuelModelNumber, (int)moistureUnits); + return ret; + } + + public double getHeatOfCombustionDead(int fuelModelNumber, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits) { + double ret = BehavePINVOKE.FuelModels_getHeatOfCombustionDead(swigCPtr, fuelModelNumber, (int)heatOfCombustionUnits); + return ret; + } + + public double getHeatOfCombustionLive(int fuelModelNumber, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits) { + double ret = BehavePINVOKE.FuelModels_getHeatOfCombustionLive(swigCPtr, fuelModelNumber, (int)heatOfCombustionUnits); + return ret; + } + + public double getFuelLoadOneHour(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.FuelModels_getFuelLoadOneHour(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadTenHour(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.FuelModels_getFuelLoadTenHour(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadHundredHour(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.FuelModels_getFuelLoadHundredHour(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadLiveHerbaceous(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.FuelModels_getFuelLoadLiveHerbaceous(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadLiveWoody(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.FuelModels_getFuelLoadLiveWoody(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getSavrOneHour(int fuelModelNumber, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.FuelModels_getSavrOneHour(swigCPtr, fuelModelNumber, (int)savrUnits); + return ret; + } + + public double getSavrLiveHerbaceous(int fuelModelNumber, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.FuelModels_getSavrLiveHerbaceous(swigCPtr, fuelModelNumber, (int)savrUnits); + return ret; + } + + public double getSavrLiveWoody(int fuelModelNumber, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.FuelModels_getSavrLiveWoody(swigCPtr, fuelModelNumber, (int)savrUnits); + return ret; + } + + public bool getIsDynamic(int fuelModelNumber) { + bool ret = BehavePINVOKE.FuelModels_getIsDynamic(swigCPtr, fuelModelNumber); + return ret; + } + + public bool isFuelModelDefined(int fuelModelNumber) { + bool ret = BehavePINVOKE.FuelModels_isFuelModelDefined(swigCPtr, fuelModelNumber); + return ret; + } + + public bool isFuelModelReserved(int fuelModelNumber) { + bool ret = BehavePINVOKE.FuelModels_isFuelModelReserved(swigCPtr, fuelModelNumber); + return ret; + } + + public bool isAllFuelLoadZero(int fuelModelNumber) { + bool ret = BehavePINVOKE.FuelModels_isAllFuelLoadZero(swigCPtr, fuelModelNumber); + return ret; + } + +} + +} diff --git a/swig/HeatOfCombustionUnits.cs b/swig/HeatOfCombustionUnits.cs new file mode 100644 index 0000000..6ade8db --- /dev/null +++ b/swig/HeatOfCombustionUnits.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class HeatOfCombustionUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal HeatOfCombustionUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HeatOfCombustionUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(HeatOfCombustionUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~HeatOfCombustionUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_HeatOfCombustionUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum units) { + double ret = BehavePINVOKE.HeatOfCombustionUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum units) { + double ret = BehavePINVOKE.HeatOfCombustionUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public HeatOfCombustionUnits() : this(BehavePINVOKE.new_HeatOfCombustionUnits(), true) { + } + + public enum HeatOfCombustionUnitsEnum { + BtusPerPound, + KilojoulesPerKilogram + } + +} + +} diff --git a/swig/HeatPerUnitAreaUnits.cs b/swig/HeatPerUnitAreaUnits.cs new file mode 100644 index 0000000..87d48ce --- /dev/null +++ b/swig/HeatPerUnitAreaUnits.cs @@ -0,0 +1,81 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class HeatPerUnitAreaUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal HeatPerUnitAreaUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HeatPerUnitAreaUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(HeatPerUnitAreaUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~HeatPerUnitAreaUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_HeatPerUnitAreaUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, HeatPerUnitAreaUnits.HeatPerUnitAreaUnitsEnum units) { + double ret = BehavePINVOKE.HeatPerUnitAreaUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, HeatPerUnitAreaUnits.HeatPerUnitAreaUnitsEnum units) { + double ret = BehavePINVOKE.HeatPerUnitAreaUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public HeatPerUnitAreaUnits() : this(BehavePINVOKE.new_HeatPerUnitAreaUnits(), true) { + } + + public enum HeatPerUnitAreaUnitsEnum { + BtusPerSquareFoot, + KilojoulesPerSquareMeter, + KilowattSecondsPerSquareMeter + } + +} + +} diff --git a/swig/HeatSinkUnits.cs b/swig/HeatSinkUnits.cs new file mode 100644 index 0000000..ff44393 --- /dev/null +++ b/swig/HeatSinkUnits.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class HeatSinkUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal HeatSinkUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HeatSinkUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(HeatSinkUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~HeatSinkUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_HeatSinkUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, HeatSinkUnits.HeatSinkUnitsEnum units) { + double ret = BehavePINVOKE.HeatSinkUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, HeatSinkUnits.HeatSinkUnitsEnum units) { + double ret = BehavePINVOKE.HeatSinkUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public HeatSinkUnits() : this(BehavePINVOKE.new_HeatSinkUnits(), true) { + } + + public enum HeatSinkUnitsEnum { + BtusPerCubicFoot, + KilojoulesPerCubicMeter + } + +} + +} diff --git a/swig/HeatSourceAndReactionIntensityUnits.cs b/swig/HeatSourceAndReactionIntensityUnits.cs new file mode 100644 index 0000000..da70b36 --- /dev/null +++ b/swig/HeatSourceAndReactionIntensityUnits.cs @@ -0,0 +1,83 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class HeatSourceAndReactionIntensityUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal HeatSourceAndReactionIntensityUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(HeatSourceAndReactionIntensityUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(HeatSourceAndReactionIntensityUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~HeatSourceAndReactionIntensityUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_HeatSourceAndReactionIntensityUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, HeatSourceAndReactionIntensityUnits.HeatSourceAndReactionIntensityUnitsEnum units) { + double ret = BehavePINVOKE.HeatSourceAndReactionIntensityUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, HeatSourceAndReactionIntensityUnits.HeatSourceAndReactionIntensityUnitsEnum units) { + double ret = BehavePINVOKE.HeatSourceAndReactionIntensityUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public HeatSourceAndReactionIntensityUnits() : this(BehavePINVOKE.new_HeatSourceAndReactionIntensityUnits(), true) { + } + + public enum HeatSourceAndReactionIntensityUnitsEnum { + BtusPerSquareFootPerMinute, + BtusPerSquareFootPerSecond, + KilojoulesPerSquareMeterPerSecond, + KilojoulesPerSquareMeterPerMinute, + KilowattsPerSquareMeter + } + +} + +} diff --git a/swig/LengthUnits.cs b/swig/LengthUnits.cs new file mode 100644 index 0000000..959b879 --- /dev/null +++ b/swig/LengthUnits.cs @@ -0,0 +1,86 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class LengthUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal LengthUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LengthUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(LengthUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~LengthUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_LengthUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, LengthUnits.LengthUnitsEnum units) { + double ret = BehavePINVOKE.LengthUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, LengthUnits.LengthUnitsEnum units) { + double ret = BehavePINVOKE.LengthUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public LengthUnits() : this(BehavePINVOKE.new_LengthUnits(), true) { + } + + public enum LengthUnitsEnum { + Feet, + Inches, + Millimeters, + Centimeters, + Meters, + Chains, + Miles, + Kilometers + } + +} + +} diff --git a/swig/LoadingUnits.cs b/swig/LoadingUnits.cs new file mode 100644 index 0000000..7ffd546 --- /dev/null +++ b/swig/LoadingUnits.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class LoadingUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal LoadingUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LoadingUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(LoadingUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~LoadingUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_LoadingUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, LoadingUnits.LoadingUnitsEnum units) { + double ret = BehavePINVOKE.LoadingUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, LoadingUnits.LoadingUnitsEnum units) { + double ret = BehavePINVOKE.LoadingUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public LoadingUnits() : this(BehavePINVOKE.new_LoadingUnits(), true) { + } + + public enum LoadingUnitsEnum { + PoundsPerSquareFoot, + TonsPerAcre, + TonnesPerHectare, + KilogramsPerSquareMeter + } + +} + +} diff --git a/swig/MoistureClassInput.cs b/swig/MoistureClassInput.cs new file mode 100644 index 0000000..66c50ac --- /dev/null +++ b/swig/MoistureClassInput.cs @@ -0,0 +1,75 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class MoistureClassInput : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal MoistureClassInput(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MoistureClassInput obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(MoistureClassInput obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~MoistureClassInput() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_MoistureClassInput(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public MoistureClassInput() : this(BehavePINVOKE.new_MoistureClassInput(), true) { + } + + public enum MoistureClassInputEnum { + OneHour = 0, + TenHour = 1, + HundredHour = 2, + LiveHerbaceous = 3, + LiveWoody = 4, + DeadAggregate = 5, + LiveAggregate = 6 + } + +} + +} diff --git a/swig/MoistureInputMode.cs b/swig/MoistureInputMode.cs new file mode 100644 index 0000000..48212fd --- /dev/null +++ b/swig/MoistureInputMode.cs @@ -0,0 +1,73 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class MoistureInputMode : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal MoistureInputMode(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(MoistureInputMode obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(MoistureInputMode obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~MoistureInputMode() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_MoistureInputMode(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public MoistureInputMode() : this(BehavePINVOKE.new_MoistureInputMode(), true) { + } + + public enum MoistureInputModeEnum { + BySizeClass = 0, + AllAggregate = 1, + DeadAggregateAndLiveSizeClass = 2, + LiveAggregateAndDeadSizeClass = 3, + MoistureScenario = 4 + } + +} + +} diff --git a/swig/PressureUnits.cs b/swig/PressureUnits.cs new file mode 100644 index 0000000..eb8c150 --- /dev/null +++ b/swig/PressureUnits.cs @@ -0,0 +1,87 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class PressureUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal PressureUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(PressureUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(PressureUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~PressureUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_PressureUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, PressureUnits.PressureUnitsEnum units) { + double ret = BehavePINVOKE.PressureUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, PressureUnits.PressureUnitsEnum units) { + double ret = BehavePINVOKE.PressureUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public PressureUnits() : this(BehavePINVOKE.new_PressureUnits(), true) { + } + + public enum PressureUnitsEnum { + Pascal, + HectoPascal, + KiloPascal, + MegaPascal, + GigaPascal, + Bar, + Atmosphere, + TechnicalAtmosphere, + PoundPerSquareInch + } + +} + +} diff --git a/swig/SWIGTYPE_p_MoistureScenarios.cs b/swig/SWIGTYPE_p_MoistureScenarios.cs new file mode 100644 index 0000000..5a22103 --- /dev/null +++ b/swig/SWIGTYPE_p_MoistureScenarios.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class SWIGTYPE_p_MoistureScenarios { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_MoistureScenarios(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_MoistureScenarios() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_MoistureScenarios obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_MoistureScenarios obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/swig/SWIGTYPE_p_std__string.cs b/swig/SWIGTYPE_p_std__string.cs new file mode 100644 index 0000000..e3bbe0d --- /dev/null +++ b/swig/SWIGTYPE_p_std__string.cs @@ -0,0 +1,33 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class SWIGTYPE_p_std__string { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + + internal SWIGTYPE_p_std__string(global::System.IntPtr cPtr, bool futureUse) { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_std__string() { + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SWIGTYPE_p_std__string obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SWIGTYPE_p_std__string obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/swig/SlopeUnits.cs b/swig/SlopeUnits.cs new file mode 100644 index 0000000..a124e4d --- /dev/null +++ b/swig/SlopeUnits.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class SlopeUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal SlopeUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SlopeUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SlopeUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~SlopeUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_SlopeUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, SlopeUnits.SlopeUnitsEnum units) { + double ret = BehavePINVOKE.SlopeUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, SlopeUnits.SlopeUnitsEnum units) { + double ret = BehavePINVOKE.SlopeUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public SlopeUnits() : this(BehavePINVOKE.new_SlopeUnits(), true) { + } + + public enum SlopeUnitsEnum { + Degrees, + Percent + } + +} + +} diff --git a/swig/SpeedUnits.cs b/swig/SpeedUnits.cs new file mode 100644 index 0000000..741161c --- /dev/null +++ b/swig/SpeedUnits.cs @@ -0,0 +1,85 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class SpeedUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal SpeedUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SpeedUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SpeedUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~SpeedUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_SpeedUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, SpeedUnits.SpeedUnitsEnum units) { + double ret = BehavePINVOKE.SpeedUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, SpeedUnits.SpeedUnitsEnum units) { + double ret = BehavePINVOKE.SpeedUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public SpeedUnits() : this(BehavePINVOKE.new_SpeedUnits(), true) { + } + + public enum SpeedUnitsEnum { + FeetPerMinute, + ChainsPerHour, + MetersPerSecond, + MetersPerMinute, + MetersPerHour, + MilesPerHour, + KilometersPerHour + } + +} + +} diff --git a/swig/Surface.cs b/swig/Surface.cs new file mode 100644 index 0000000..818c4c4 --- /dev/null +++ b/swig/Surface.cs @@ -0,0 +1,1071 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class Surface : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal Surface(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(Surface obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(Surface obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~Surface() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_Surface(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public Surface(FuelModels fuelModels) : this(BehavePINVOKE.new_Surface__SWIG_0(FuelModels.getCPtr(fuelModels)), true) { + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + } + + public Surface(Surface rhs) : this(BehavePINVOKE.new_Surface__SWIG_1(Surface.getCPtr(rhs)), true) { + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + } + + public bool isAllFuelLoadZero(int fuelModelNumber) { + bool ret = BehavePINVOKE.Surface_isAllFuelLoadZero__SWIG_0(swigCPtr, fuelModelNumber); + return ret; + } + + public void doSurfaceRunInDirectionOfMaxSpread() { + BehavePINVOKE.Surface_doSurfaceRunInDirectionOfMaxSpread(swigCPtr); + } + + public void doSurfaceRunInDirectionOfInterest(double directionOfInterest, SurfaceFireSpreadDirectionMode.SurfaceFireSpreadDirectionModeEnum directionMode) { + BehavePINVOKE.Surface_doSurfaceRunInDirectionOfInterest(swigCPtr, directionOfInterest, (int)directionMode); + } + + public double calculateFlameLength(double firelineIntensity, FirelineIntensityUnits.FirelineIntensityUnitsEnum firelineIntensityUnits, LengthUnits.LengthUnitsEnum flameLengthUnits) { + double ret = BehavePINVOKE.Surface_calculateFlameLength(swigCPtr, firelineIntensity, (int)firelineIntensityUnits, (int)flameLengthUnits); + return ret; + } + + public void setFuelModels(FuelModels fuelModels) { + BehavePINVOKE.Surface_setFuelModels(swigCPtr, FuelModels.getCPtr(fuelModels)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + } + + public void initializeMembers() { + BehavePINVOKE.Surface_initializeMembers(swigCPtr); + } + + public double getSpreadRate(SpeedUnits.SpeedUnitsEnum spreadRateUnits) { + double ret = BehavePINVOKE.Surface_getSpreadRate(swigCPtr, (int)spreadRateUnits); + return ret; + } + + public double getSpreadRateInDirectionOfInterest(SpeedUnits.SpeedUnitsEnum spreadRateUnits) { + double ret = BehavePINVOKE.Surface_getSpreadRateInDirectionOfInterest(swigCPtr, (int)spreadRateUnits); + return ret; + } + + public double getBackingSpreadRate(SpeedUnits.SpeedUnitsEnum spreadRateUnits) { + double ret = BehavePINVOKE.Surface_getBackingSpreadRate(swigCPtr, (int)spreadRateUnits); + return ret; + } + + public double getFlankingSpreadRate(SpeedUnits.SpeedUnitsEnum spreadRateUnits) { + double ret = BehavePINVOKE.Surface_getFlankingSpreadRate(swigCPtr, (int)spreadRateUnits); + return ret; + } + + public double getSpreadDistance(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getSpreadDistance(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getSpreadDistanceInDirectionOfInterest(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getSpreadDistanceInDirectionOfInterest(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getBackingSpreadDistance(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getBackingSpreadDistance(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getFlankingSpreadDistance(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getFlankingSpreadDistance(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getDirectionOfMaxSpread() { + double ret = BehavePINVOKE.Surface_getDirectionOfMaxSpread(swigCPtr); + return ret; + } + + public double getFlameLength(LengthUnits.LengthUnitsEnum flameLengthUnits) { + double ret = BehavePINVOKE.Surface_getFlameLength(swigCPtr, (int)flameLengthUnits); + return ret; + } + + public double getBackingFlameLength(LengthUnits.LengthUnitsEnum flameLengthUnits) { + double ret = BehavePINVOKE.Surface_getBackingFlameLength(swigCPtr, (int)flameLengthUnits); + return ret; + } + + public double getFlankingFlameLength(LengthUnits.LengthUnitsEnum flameLengthUnits) { + double ret = BehavePINVOKE.Surface_getFlankingFlameLength(swigCPtr, (int)flameLengthUnits); + return ret; + } + + public double getFlameLengthInDirectionOfInterest(LengthUnits.LengthUnitsEnum flameLengthUnits) { + double ret = BehavePINVOKE.Surface_getFlameLengthInDirectionOfInterest(swigCPtr, (int)flameLengthUnits); + return ret; + } + + public double getFireLengthToWidthRatio() { + double ret = BehavePINVOKE.Surface_getFireLengthToWidthRatio(swigCPtr); + return ret; + } + + public double getFireEccentricity() { + double ret = BehavePINVOKE.Surface_getFireEccentricity(swigCPtr); + return ret; + } + + public double getHeadingToBackingRatio() { + double ret = BehavePINVOKE.Surface_getHeadingToBackingRatio(swigCPtr); + return ret; + } + + public double getFirelineIntensity(FirelineIntensityUnits.FirelineIntensityUnitsEnum firelineIntensityUnits) { + double ret = BehavePINVOKE.Surface_getFirelineIntensity(swigCPtr, (int)firelineIntensityUnits); + return ret; + } + + public double getBackingFirelineIntensity(FirelineIntensityUnits.FirelineIntensityUnitsEnum firelineIntensityUnits) { + double ret = BehavePINVOKE.Surface_getBackingFirelineIntensity(swigCPtr, (int)firelineIntensityUnits); + return ret; + } + + public double getFlankingFirelineIntensity(FirelineIntensityUnits.FirelineIntensityUnitsEnum firelineIntensityUnits) { + double ret = BehavePINVOKE.Surface_getFlankingFirelineIntensity(swigCPtr, (int)firelineIntensityUnits); + return ret; + } + + public double getFirelineIntensityInDirectionOfInterest(FirelineIntensityUnits.FirelineIntensityUnitsEnum firelineIntensityUnits) { + double ret = BehavePINVOKE.Surface_getFirelineIntensityInDirectionOfInterest(swigCPtr, (int)firelineIntensityUnits); + return ret; + } + + public double getHeatPerUnitArea(HeatPerUnitAreaUnits.HeatPerUnitAreaUnitsEnum heatPerUnitAreaUnits) { + double ret = BehavePINVOKE.Surface_getHeatPerUnitArea(swigCPtr, (int)heatPerUnitAreaUnits); + return ret; + } + + public double getMidflameWindspeed(SpeedUnits.SpeedUnitsEnum windSpeedUnits) { + double ret = BehavePINVOKE.Surface_getMidflameWindspeed(swigCPtr, (int)windSpeedUnits); + return ret; + } + + public double getResidenceTime(TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getResidenceTime(swigCPtr, (int)timeUnits); + return ret; + } + + public double getReactionIntensity(HeatSourceAndReactionIntensityUnits.HeatSourceAndReactionIntensityUnitsEnum reactiontionIntensityUnits) { + double ret = BehavePINVOKE.Surface_getReactionIntensity(swigCPtr, (int)reactiontionIntensityUnits); + return ret; + } + + public double getSurfaceFireReactionIntensityForLifeState(FuelLifeState.FuelLifeStateEnum lifeState) { + double ret = BehavePINVOKE.Surface_getSurfaceFireReactionIntensityForLifeState(swigCPtr, (int)lifeState); + return ret; + } + + public double getEllipticalA(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getEllipticalA(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getEllipticalB(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getEllipticalB(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getEllipticalC(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getEllipticalC(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getFireLength(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getFireLength(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getMaxFireWidth(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getMaxFireWidth(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getSlopeFactor() { + double ret = BehavePINVOKE.Surface_getSlopeFactor(swigCPtr); + return ret; + } + + public double getBulkDensity(DensityUnits.DensityUnitsEnum densityUnits) { + double ret = BehavePINVOKE.Surface_getBulkDensity(swigCPtr, (int)densityUnits); + return ret; + } + + public double getHeatSink(HeatSinkUnits.HeatSinkUnitsEnum heatSinkUnits) { + double ret = BehavePINVOKE.Surface_getHeatSink(swigCPtr, (int)heatSinkUnits); + return ret; + } + + public double getHeatSource(HeatSourceAndReactionIntensityUnits.HeatSourceAndReactionIntensityUnitsEnum heatSourceUnits) { + double ret = BehavePINVOKE.Surface_getHeatSource(swigCPtr, (int)heatSourceUnits); + return ret; + } + + public double getFirePerimeter(LengthUnits.LengthUnitsEnum lengthUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getFirePerimeter(swigCPtr, (int)lengthUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getFireArea(AreaUnits.AreaUnitsEnum areaUnits, double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getFireArea(swigCPtr, (int)areaUnits, elapsedTime, (int)timeUnits); + return ret; + } + + public double getCharacteristicMoistureByLifeState(FuelLifeState.FuelLifeStateEnum lifeState, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getCharacteristicMoistureByLifeState(swigCPtr, (int)lifeState, (int)moistureUnits); + return ret; + } + + public double getLiveFuelMoistureOfExtinction(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getLiveFuelMoistureOfExtinction(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getCharacteristicSAVR(SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Surface_getCharacteristicSAVR(swigCPtr, (int)savrUnits); + return ret; + } + + public double getRelativePackingRatio() { + double ret = BehavePINVOKE.Surface_getRelativePackingRatio(swigCPtr); + return ret; + } + + public double getPackingRatio() { + double ret = BehavePINVOKE.Surface_getPackingRatio(swigCPtr); + return ret; + } + + public double getTotalLiveFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getTotalLiveFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getTotalDeadFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getTotalDeadFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getTotalDeadHerbaceousFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getTotalDeadHerbaceousFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public void setCanopyHeight(double canopyHeight, LengthUnits.LengthUnitsEnum canopyHeightUnits) { + BehavePINVOKE.Surface_setCanopyHeight(swigCPtr, canopyHeight, (int)canopyHeightUnits); + } + + public void setCanopyCover(double canopyCover, FractionUnits.FractionUnitsEnum coverUnits) { + BehavePINVOKE.Surface_setCanopyCover(swigCPtr, canopyCover, (int)coverUnits); + } + + public void setCrownRatio(double crownRatio, FractionUnits.FractionUnitsEnum crownRatioUnits) { + BehavePINVOKE.Surface_setCrownRatio(swigCPtr, crownRatio, (int)crownRatioUnits); + } + + public void setElapsedTime(double elapsedTime, TimeUnits.TimeUnitsEnum timeUnits) { + BehavePINVOKE.Surface_setElapsedTime(swigCPtr, elapsedTime, (int)timeUnits); + } + + public void setFuelModelNumber(int fuelModelNumber) { + BehavePINVOKE.Surface_setFuelModelNumber(swigCPtr, fuelModelNumber); + } + + public void setMoistureOneHour(double moistureOneHour, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Surface_setMoistureOneHour(swigCPtr, moistureOneHour, (int)moistureUnits); + } + + public void setMoistureTenHour(double moistureTenHour, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Surface_setMoistureTenHour(swigCPtr, moistureTenHour, (int)moistureUnits); + } + + public void setMoistureHundredHour(double moistureHundredHour, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Surface_setMoistureHundredHour(swigCPtr, moistureHundredHour, (int)moistureUnits); + } + + public void setMoistureDeadAggregate(double moistureDead, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Surface_setMoistureDeadAggregate(swigCPtr, moistureDead, (int)moistureUnits); + } + + public void setMoistureLiveHerbaceous(double moistureLiveHerbaceous, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Surface_setMoistureLiveHerbaceous(swigCPtr, moistureLiveHerbaceous, (int)moistureUnits); + } + + public void setMoistureLiveWoody(double moistureLiveWoody, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Surface_setMoistureLiveWoody(swigCPtr, moistureLiveWoody, (int)moistureUnits); + } + + public void setMoistureLiveAggregate(double moistureLive, FractionUnits.FractionUnitsEnum moistureUnits) { + BehavePINVOKE.Surface_setMoistureLiveAggregate(swigCPtr, moistureLive, (int)moistureUnits); + } + + public void setMoistureScenarios(SWIGTYPE_p_MoistureScenarios moistureScenarios) { + BehavePINVOKE.Surface_setMoistureScenarios(swigCPtr, SWIGTYPE_p_MoistureScenarios.getCPtr(moistureScenarios)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + } + + public bool setCurrentMoistureScenarioByName(SWIGTYPE_p_std__string moistureScenarioName) { + bool ret = BehavePINVOKE.Surface_setCurrentMoistureScenarioByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(moistureScenarioName)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool setCurrentMoistureScenarioByIndex(int moistureScenarioIndex) { + bool ret = BehavePINVOKE.Surface_setCurrentMoistureScenarioByIndex(swigCPtr, moistureScenarioIndex); + return ret; + } + + public void setMoistureInputMode(MoistureInputMode.MoistureInputModeEnum moistureInputMode) { + BehavePINVOKE.Surface_setMoistureInputMode(swigCPtr, (int)moistureInputMode); + } + + public void setSlope(double slope, SlopeUnits.SlopeUnitsEnum slopeUnits) { + BehavePINVOKE.Surface_setSlope(swigCPtr, slope, (int)slopeUnits); + } + + public void setAspect(double aspect) { + BehavePINVOKE.Surface_setAspect(swigCPtr, aspect); + } + + public void setWindSpeed(double windSpeed, SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode) { + BehavePINVOKE.Surface_setWindSpeed(swigCPtr, windSpeed, (int)windSpeedUnits, (int)windHeightInputMode); + } + + public void setUserProvidedWindAdjustmentFactor(double userProvidedWindAdjustmentFactor) { + BehavePINVOKE.Surface_setUserProvidedWindAdjustmentFactor(swigCPtr, userProvidedWindAdjustmentFactor); + } + + public void setWindDirection(double windDirection) { + BehavePINVOKE.Surface_setWindDirection(swigCPtr, windDirection); + } + + public void setWindAndSpreadOrientationMode(WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum windAndSpreadOrientationMode) { + BehavePINVOKE.Surface_setWindAndSpreadOrientationMode(swigCPtr, (int)windAndSpreadOrientationMode); + } + + public void setWindHeightInputMode(WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode) { + BehavePINVOKE.Surface_setWindHeightInputMode(swigCPtr, (int)windHeightInputMode); + } + + public void setFirstFuelModelNumber(int firstFuelModelNumber) { + BehavePINVOKE.Surface_setFirstFuelModelNumber(swigCPtr, firstFuelModelNumber); + } + + public void setSecondFuelModelNumber(int secondFuelModelNumber) { + BehavePINVOKE.Surface_setSecondFuelModelNumber(swigCPtr, secondFuelModelNumber); + } + + public void setTwoFuelModelsMethod(TwoFuelModelsMethod.TwoFuelModelsMethodEnum twoFuelModelsMethod) { + BehavePINVOKE.Surface_setTwoFuelModelsMethod(swigCPtr, (int)twoFuelModelsMethod); + } + + public void setTwoFuelModelsFirstFuelModelCoverage(double firstFuelModelCoverage, FractionUnits.FractionUnitsEnum coverageUnits) { + BehavePINVOKE.Surface_setTwoFuelModelsFirstFuelModelCoverage(swigCPtr, firstFuelModelCoverage, (int)coverageUnits); + } + + public void setWindAdjustmentFactorCalculationMethod(WindAdjustmentFactorCalculationMethod.WindAdjustmentFactorCalculationMethodEnum windAdjustmentFactorCalculationMethod) { + BehavePINVOKE.Surface_setWindAdjustmentFactorCalculationMethod(swigCPtr, (int)windAdjustmentFactorCalculationMethod); + } + + public void updateSurfaceInputs(int fuelModelNumber, double moistureOneHour, double moistureTenHour, double moistureHundredHour, double moistureLiveHerbaceous, double moistureLiveWoody, FractionUnits.FractionUnitsEnum moistureUnits, double windSpeed, SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode, double windDirection, WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum windAndSpreadOrientationMode, double slope, SlopeUnits.SlopeUnitsEnum slopeUnits, double aspect, double canopyCover, FractionUnits.FractionUnitsEnum coverUnits, double canopyHeight, LengthUnits.LengthUnitsEnum canopyHeightUnits, double crownRatio, FractionUnits.FractionUnitsEnum crownRatioUnits) { + BehavePINVOKE.Surface_updateSurfaceInputs(swigCPtr, fuelModelNumber, moistureOneHour, moistureTenHour, moistureHundredHour, moistureLiveHerbaceous, moistureLiveWoody, (int)moistureUnits, windSpeed, (int)windSpeedUnits, (int)windHeightInputMode, windDirection, (int)windAndSpreadOrientationMode, slope, (int)slopeUnits, aspect, canopyCover, (int)coverUnits, canopyHeight, (int)canopyHeightUnits, crownRatio, (int)crownRatioUnits); + } + + public void updateSurfaceInputsForTwoFuelModels(int firstFuelModelNumber, int secondFuelModelNumber, double moistureOneHour, double moistureTenHour, double moistureHundredHour, double moistureLiveHerbaceous, double moistureLiveWoody, FractionUnits.FractionUnitsEnum moistureUnits, double windSpeed, SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode, double windDirection, WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum windAndSpreadOrientationMode, double firstFuelModelCoverage, FractionUnits.FractionUnitsEnum firstFuelModelCoverageUnits, TwoFuelModelsMethod.TwoFuelModelsMethodEnum twoFuelModelsMethod, double slope, SlopeUnits.SlopeUnitsEnum slopeUnits, double aspect, double canopyCover, FractionUnits.FractionUnitsEnum canopyCoverUnits, double canopyHeight, LengthUnits.LengthUnitsEnum canopyHeightUnits, double crownRatio, FractionUnits.FractionUnitsEnum crownRatioUnits) { + BehavePINVOKE.Surface_updateSurfaceInputsForTwoFuelModels(swigCPtr, firstFuelModelNumber, secondFuelModelNumber, moistureOneHour, moistureTenHour, moistureHundredHour, moistureLiveHerbaceous, moistureLiveWoody, (int)moistureUnits, windSpeed, (int)windSpeedUnits, (int)windHeightInputMode, windDirection, (int)windAndSpreadOrientationMode, firstFuelModelCoverage, (int)firstFuelModelCoverageUnits, (int)twoFuelModelsMethod, slope, (int)slopeUnits, aspect, canopyCover, (int)canopyCoverUnits, canopyHeight, (int)canopyHeightUnits, crownRatio, (int)crownRatioUnits); + } + + public void updateSurfaceInputsForPalmettoGallbery(double moistureOneHour, double moistureTenHour, double moistureHundredHour, double moistureLiveHerbaceous, double moistureLiveWoody, FractionUnits.FractionUnitsEnum moistureUnits, double windSpeed, SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode, double windDirection, WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum windAndSpreadOrientationMode, double ageOfRough, double heightOfUnderstory, double palmettoCoverage, double overstoryBasalArea, BasalAreaUnits.BasalAreaUnitsEnum basalAreaUnits, double slope, SlopeUnits.SlopeUnitsEnum slopeUnits, double aspect, double canopyCover, FractionUnits.FractionUnitsEnum coverUnits, double canopyHeight, LengthUnits.LengthUnitsEnum canopyHeightUnits, double crownRatio, FractionUnits.FractionUnitsEnum crownRatioUnits) { + BehavePINVOKE.Surface_updateSurfaceInputsForPalmettoGallbery(swigCPtr, moistureOneHour, moistureTenHour, moistureHundredHour, moistureLiveHerbaceous, moistureLiveWoody, (int)moistureUnits, windSpeed, (int)windSpeedUnits, (int)windHeightInputMode, windDirection, (int)windAndSpreadOrientationMode, ageOfRough, heightOfUnderstory, palmettoCoverage, overstoryBasalArea, (int)basalAreaUnits, slope, (int)slopeUnits, aspect, canopyCover, (int)coverUnits, canopyHeight, (int)canopyHeightUnits, crownRatio, (int)crownRatioUnits); + } + + public void setAgeOfRough(double ageOfRough) { + BehavePINVOKE.Surface_setAgeOfRough(swigCPtr, ageOfRough); + } + + public void setHeightOfUnderstory(double heightOfUnderstory, LengthUnits.LengthUnitsEnum heightUnits) { + BehavePINVOKE.Surface_setHeightOfUnderstory(swigCPtr, heightOfUnderstory, (int)heightUnits); + } + + public void setPalmettoCoverage(double palmettoCoverage, FractionUnits.FractionUnitsEnum coverageUnits) { + BehavePINVOKE.Surface_setPalmettoCoverage(swigCPtr, palmettoCoverage, (int)coverageUnits); + } + + public void setOverstoryBasalArea(double overstoryBasalArea, BasalAreaUnits.BasalAreaUnitsEnum basalAreaUnits) { + BehavePINVOKE.Surface_setOverstoryBasalArea(swigCPtr, overstoryBasalArea, (int)basalAreaUnits); + } + + public void setIsUsingPalmettoGallberry(bool isUsingPalmettoGallberry) { + BehavePINVOKE.Surface_setIsUsingPalmettoGallberry(swigCPtr, isUsingPalmettoGallberry); + } + + public void updateSurfaceInputsForWesternAspen(int aspenFuelModelNumber, double aspenCuringLevel, FractionUnits.FractionUnitsEnum curingLevelUnits, AspenFireSeverity.AspenFireSeverityEnum aspenFireSeverity, double dbh, LengthUnits.LengthUnitsEnum dbhUnits, double moistureOneHour, double moistureTenHour, double moistureHundredHour, double moistureLiveHerbaceous, double moistureLiveWoody, FractionUnits.FractionUnitsEnum moistureUnits, double windSpeed, SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode, double windDirection, WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum windAndSpreadOrientationMode, double slope, SlopeUnits.SlopeUnitsEnum slopeUnits, double aspect, double canopyCover, FractionUnits.FractionUnitsEnum coverUnits, double canopyHeight, LengthUnits.LengthUnitsEnum canopyHeightUnits, double crownRatio, FractionUnits.FractionUnitsEnum crownRatioUnits) { + BehavePINVOKE.Surface_updateSurfaceInputsForWesternAspen(swigCPtr, aspenFuelModelNumber, aspenCuringLevel, (int)curingLevelUnits, (int)aspenFireSeverity, dbh, (int)dbhUnits, moistureOneHour, moistureTenHour, moistureHundredHour, moistureLiveHerbaceous, moistureLiveWoody, (int)moistureUnits, windSpeed, (int)windSpeedUnits, (int)windHeightInputMode, windDirection, (int)windAndSpreadOrientationMode, slope, (int)slopeUnits, aspect, canopyCover, (int)coverUnits, canopyHeight, (int)canopyHeightUnits, crownRatio, (int)crownRatioUnits); + } + + public void setAspenFuelModelNumber(int aspenFuelModelNumber) { + BehavePINVOKE.Surface_setAspenFuelModelNumber(swigCPtr, aspenFuelModelNumber); + } + + public void setAspenCuringLevel(double aspenCuringLevel, FractionUnits.FractionUnitsEnum curingLevelUnits) { + BehavePINVOKE.Surface_setAspenCuringLevel(swigCPtr, aspenCuringLevel, (int)curingLevelUnits); + } + + public void setAspenDBH(double dbh, LengthUnits.LengthUnitsEnum dbhUnits) { + BehavePINVOKE.Surface_setAspenDBH(swigCPtr, dbh, (int)dbhUnits); + } + + public void setAspenFireSeverity(AspenFireSeverity.AspenFireSeverityEnum aspenFireSeverity) { + BehavePINVOKE.Surface_setAspenFireSeverity(swigCPtr, (int)aspenFireSeverity); + } + + public void setIsUsingWesternAspen(bool isUsingWesternAspen) { + BehavePINVOKE.Surface_setIsUsingWesternAspen(swigCPtr, isUsingWesternAspen); + } + + public void setChaparralFuelLoadInputMode(ChaparralFuelLoadInputMode.ChaparralFuelInputLoadModeEnum fuelLoadInputMode) { + BehavePINVOKE.Surface_setChaparralFuelLoadInputMode(swigCPtr, (int)fuelLoadInputMode); + } + + public void setChaparralFuelType(ChaparralFuelType.ChaparralFuelTypeEnum chaparralFuelType) { + BehavePINVOKE.Surface_setChaparralFuelType(swigCPtr, (int)chaparralFuelType); + } + + public void setChaparralFuelBedDepth(double chaparralFuelBedDepth, LengthUnits.LengthUnitsEnum depthUnts) { + BehavePINVOKE.Surface_setChaparralFuelBedDepth(swigCPtr, chaparralFuelBedDepth, (int)depthUnts); + } + + public void setChaparralFuelDeadLoadFraction(double chaparralFuelDeadLoadFraction) { + BehavePINVOKE.Surface_setChaparralFuelDeadLoadFraction(swigCPtr, chaparralFuelDeadLoadFraction); + } + + public void setChaparralTotalFuelLoad(double chaparralTotalFuelLoad, LoadingUnits.LoadingUnitsEnum fuelLoadUnits) { + BehavePINVOKE.Surface_setChaparralTotalFuelLoad(swigCPtr, chaparralTotalFuelLoad, (int)fuelLoadUnits); + } + + public void setIsUsingChaparral(bool isUsingChaparral) { + BehavePINVOKE.Surface_setIsUsingChaparral(swigCPtr, isUsingChaparral); + } + + public SWIGTYPE_p_std__string getFuelCode(int fuelModelNumber) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Surface_getFuelCode(swigCPtr, fuelModelNumber), true); + return ret; + } + + public SWIGTYPE_p_std__string getFuelName(int fuelModelNumber) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Surface_getFuelName(swigCPtr, fuelModelNumber), true); + return ret; + } + + public double getFuelbedDepth(int fuelModelNumber, LengthUnits.LengthUnitsEnum lengthUnits) { + double ret = BehavePINVOKE.Surface_getFuelbedDepth(swigCPtr, fuelModelNumber, (int)lengthUnits); + return ret; + } + + public double getFuelMoistureOfExtinctionDead(int fuelModelNumber, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getFuelMoistureOfExtinctionDead(swigCPtr, fuelModelNumber, (int)moistureUnits); + return ret; + } + + public double getFuelHeatOfCombustionDead(int fuelModelNumber, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits) { + double ret = BehavePINVOKE.Surface_getFuelHeatOfCombustionDead(swigCPtr, fuelModelNumber, (int)heatOfCombustionUnits); + return ret; + } + + public double getFuelHeatOfCombustionLive(int fuelModelNumber, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits) { + double ret = BehavePINVOKE.Surface_getFuelHeatOfCombustionLive(swigCPtr, fuelModelNumber, (int)heatOfCombustionUnits); + return ret; + } + + public double getFuelLoadOneHour(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getFuelLoadOneHour(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadTenHour(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getFuelLoadTenHour(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadHundredHour(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getFuelLoadHundredHour(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadLiveHerbaceous(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getFuelLoadLiveHerbaceous(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelLoadLiveWoody(int fuelModelNumber, LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getFuelLoadLiveWoody(swigCPtr, fuelModelNumber, (int)loadingUnits); + return ret; + } + + public double getFuelSavrOneHour(int fuelModelNumber, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Surface_getFuelSavrOneHour(swigCPtr, fuelModelNumber, (int)savrUnits); + return ret; + } + + public double getFuelSavrLiveHerbaceous(int fuelModelNumber, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Surface_getFuelSavrLiveHerbaceous(swigCPtr, fuelModelNumber, (int)savrUnits); + return ret; + } + + public double getFuelSavrLiveWoody(int fuelModelNumber, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Surface_getFuelSavrLiveWoody(swigCPtr, fuelModelNumber, (int)savrUnits); + return ret; + } + + public bool isFuelDynamic(int fuelModelNumber) { + bool ret = BehavePINVOKE.Surface_isFuelDynamic(swigCPtr, fuelModelNumber); + return ret; + } + + public bool isFuelModelDefined(int fuelModelNumber) { + bool ret = BehavePINVOKE.Surface_isFuelModelDefined(swigCPtr, fuelModelNumber); + return ret; + } + + public bool isFuelModelReserved(int fuelModelNumber) { + bool ret = BehavePINVOKE.Surface_isFuelModelReserved(swigCPtr, fuelModelNumber); + return ret; + } + + public bool isUsingTwoFuelModels() { + bool ret = BehavePINVOKE.Surface_isUsingTwoFuelModels(swigCPtr); + return ret; + } + + public double getElapsedTime(TimeUnits.TimeUnitsEnum timeUnits) { + double ret = BehavePINVOKE.Surface_getElapsedTime(swigCPtr, (int)timeUnits); + return ret; + } + + public int getFuelModelNumber() { + int ret = BehavePINVOKE.Surface_getFuelModelNumber(swigCPtr); + return ret; + } + + public double getMoistureOneHour(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureOneHour(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureTenHour(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureTenHour(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureHundredHour(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureHundredHour(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureDeadAggregateValue(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureDeadAggregateValue(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureLiveHerbaceous(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureLiveHerbaceous(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureLiveWoody(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureLiveWoody(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getMoistureLiveAggregateValue(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureLiveAggregateValue(swigCPtr, (int)moistureUnits); + return ret; + } + + public bool isMoistureClassInputNeededForCurrentFuelModel(MoistureClassInput.MoistureClassInputEnum moistureClass) { + bool ret = BehavePINVOKE.Surface_isMoistureClassInputNeededForCurrentFuelModel(swigCPtr, (int)moistureClass); + return ret; + } + + public MoistureInputMode.MoistureInputModeEnum getMoistureInputMode() { + MoistureInputMode.MoistureInputModeEnum ret = (MoistureInputMode.MoistureInputModeEnum)BehavePINVOKE.Surface_getMoistureInputMode(swigCPtr); + return ret; + } + + public int getNumberOfMoistureScenarios() { + int ret = BehavePINVOKE.Surface_getNumberOfMoistureScenarios(swigCPtr); + return ret; + } + + public int getMoistureScenarioIndexByName(SWIGTYPE_p_std__string name) { + int ret = BehavePINVOKE.Surface_getMoistureScenarioIndexByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool getIsMoistureScenarioDefinedByName(SWIGTYPE_p_std__string name) { + bool ret = BehavePINVOKE.Surface_getIsMoistureScenarioDefinedByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name)); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public SWIGTYPE_p_std__string getMoistureScenarioDescriptionByName(SWIGTYPE_p_std__string name) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Surface_getMoistureScenarioDescriptionByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name)), true); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioOneHourByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioOneHourByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioTenHourByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioTenHourByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioHundredHourByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioHundredHourByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioLiveHerbaceousByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioLiveHerbaceousByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double getMoistureScenarioLiveWoodyByName(SWIGTYPE_p_std__string name, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioLiveWoodyByName(swigCPtr, SWIGTYPE_p_std__string.getCPtr(name), (int)moistureUnits); + if (BehavePINVOKE.SWIGPendingException.Pending) throw BehavePINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool getIsMoistureScenarioDefinedByIndex(int index) { + bool ret = BehavePINVOKE.Surface_getIsMoistureScenarioDefinedByIndex(swigCPtr, index); + return ret; + } + + public SWIGTYPE_p_std__string getMoistureScenarioNameByIndex(int index) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Surface_getMoistureScenarioNameByIndex(swigCPtr, index), true); + return ret; + } + + public SWIGTYPE_p_std__string getMoistureScenarioDescriptionByIndex(int index) { + SWIGTYPE_p_std__string ret = new SWIGTYPE_p_std__string(BehavePINVOKE.Surface_getMoistureScenarioDescriptionByIndex(swigCPtr, index), true); + return ret; + } + + public double getMoistureScenarioOneHourByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioOneHourByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getMoistureScenarioTenHourByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioTenHourByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getMoistureScenarioHundredHourByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioHundredHourByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getMoistureScenarioLiveHerbaceousByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioLiveHerbaceousByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getMoistureScenarioLiveWoodyByIndex(int index, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getMoistureScenarioLiveWoodyByIndex(swigCPtr, index, (int)moistureUnits); + return ret; + } + + public double getWindSpeed(SpeedUnits.SpeedUnitsEnum windSpeedUnits, WindHeightInputMode.WindHeightInputModeEnum windHeightInputMode) { + double ret = BehavePINVOKE.Surface_getWindSpeed(swigCPtr, (int)windSpeedUnits, (int)windHeightInputMode); + return ret; + } + + public double getWindDirection() { + double ret = BehavePINVOKE.Surface_getWindDirection(swigCPtr); + return ret; + } + + public double getSlope(SlopeUnits.SlopeUnitsEnum slopeUnits) { + double ret = BehavePINVOKE.Surface_getSlope(swigCPtr, (int)slopeUnits); + return ret; + } + + public double getAspect() { + double ret = BehavePINVOKE.Surface_getAspect(swigCPtr); + return ret; + } + + public double getCanopyCover(FractionUnits.FractionUnitsEnum coverUnits) { + double ret = BehavePINVOKE.Surface_getCanopyCover(swigCPtr, (int)coverUnits); + return ret; + } + + public double getCanopyHeight(LengthUnits.LengthUnitsEnum canopyHeightUnits) { + double ret = BehavePINVOKE.Surface_getCanopyHeight(swigCPtr, (int)canopyHeightUnits); + return ret; + } + + public double getCrownRatio(FractionUnits.FractionUnitsEnum crownRatioUnits) { + double ret = BehavePINVOKE.Surface_getCrownRatio(swigCPtr, (int)crownRatioUnits); + return ret; + } + + public WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum getWindAndSpreadOrientationMode() { + WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum ret = (WindAndSpreadOrientationMode.WindAndSpreadOrientationModeEnum)BehavePINVOKE.Surface_getWindAndSpreadOrientationMode(swigCPtr); + return ret; + } + + public WindHeightInputMode.WindHeightInputModeEnum getWindHeightInputMode() { + WindHeightInputMode.WindHeightInputModeEnum ret = (WindHeightInputMode.WindHeightInputModeEnum)BehavePINVOKE.Surface_getWindHeightInputMode(swigCPtr); + return ret; + } + + public WindAdjustmentFactorCalculationMethod.WindAdjustmentFactorCalculationMethodEnum getWindAdjustmentFactorCalculationMethod() { + WindAdjustmentFactorCalculationMethod.WindAdjustmentFactorCalculationMethodEnum ret = (WindAdjustmentFactorCalculationMethod.WindAdjustmentFactorCalculationMethodEnum)BehavePINVOKE.Surface_getWindAdjustmentFactorCalculationMethod(swigCPtr); + return ret; + } + + public bool getIsUsingPalmettoGallberry() { + bool ret = BehavePINVOKE.Surface_getIsUsingPalmettoGallberry(swigCPtr); + return ret; + } + + public double getAgeOfRough() { + double ret = BehavePINVOKE.Surface_getAgeOfRough(swigCPtr); + return ret; + } + + public double getHeightOfUnderstory(LengthUnits.LengthUnitsEnum heightUnits) { + double ret = BehavePINVOKE.Surface_getHeightOfUnderstory(swigCPtr, (int)heightUnits); + return ret; + } + + public double getPalmettoGallberryCoverage(FractionUnits.FractionUnitsEnum coverageUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberryCoverage(swigCPtr, (int)coverageUnits); + return ret; + } + + public double getOverstoryBasalArea(BasalAreaUnits.BasalAreaUnitsEnum basalAreaUnits) { + double ret = BehavePINVOKE.Surface_getOverstoryBasalArea(swigCPtr, (int)basalAreaUnits); + return ret; + } + + public double getPalmettoGallberryMoistureOfExtinctionDead(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberryMoistureOfExtinctionDead(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getPalmettoGallberryHeatOfCombustionDead(HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberryHeatOfCombustionDead(swigCPtr, (int)heatOfCombustionUnits); + return ret; + } + + public double getPalmettoGallberryHeatOfCombustionLive(HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberryHeatOfCombustionLive(swigCPtr, (int)heatOfCombustionUnits); + return ret; + } + + public double getPalmettoGallberyDeadFineFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberyDeadFineFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getPalmettoGallberyDeadMediumFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberyDeadMediumFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getPalmettoGallberyDeadFoliageLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberyDeadFoliageLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getPalmettoGallberyLitterLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberyLitterLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getPalmettoGallberyLiveFineFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberyLiveFineFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getPalmettoGallberyLiveMediumFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberyLiveMediumFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getPalmettoGallberyLiveFoliageLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberyLiveFoliageLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getPalmettoGallberyFuelBedDepth(LengthUnits.LengthUnitsEnum depthUnits) { + double ret = BehavePINVOKE.Surface_getPalmettoGallberyFuelBedDepth(swigCPtr, (int)depthUnits); + return ret; + } + + public bool getIsUsingWesternAspen() { + bool ret = BehavePINVOKE.Surface_getIsUsingWesternAspen(swigCPtr); + return ret; + } + + public int getAspenFuelModelNumber() { + int ret = BehavePINVOKE.Surface_getAspenFuelModelNumber(swigCPtr); + return ret; + } + + public double getAspenCuringLevel(FractionUnits.FractionUnitsEnum curingLevelUnits) { + double ret = BehavePINVOKE.Surface_getAspenCuringLevel(swigCPtr, (int)curingLevelUnits); + return ret; + } + + public double getAspenDBH(LengthUnits.LengthUnitsEnum dbhUnits) { + double ret = BehavePINVOKE.Surface_getAspenDBH(swigCPtr, (int)dbhUnits); + return ret; + } + + public AspenFireSeverity.AspenFireSeverityEnum getAspenFireSeverity() { + AspenFireSeverity.AspenFireSeverityEnum ret = (AspenFireSeverity.AspenFireSeverityEnum)BehavePINVOKE.Surface_getAspenFireSeverity(swigCPtr); + return ret; + } + + public double getAspenLoadDeadOneHour(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getAspenLoadDeadOneHour(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getAspenLoadDeadTenHour(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getAspenLoadDeadTenHour(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getAspenLoadLiveHerbaceous(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getAspenLoadLiveHerbaceous(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getAspenLoadLiveWoody(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getAspenLoadLiveWoody(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getAspenSavrDeadOneHour(SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Surface_getAspenSavrDeadOneHour(swigCPtr, (int)savrUnits); + return ret; + } + + public double getAspenSavrDeadTenHour(SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Surface_getAspenSavrDeadTenHour(swigCPtr, (int)savrUnits); + return ret; + } + + public double getAspenSavrLiveHerbaceous(SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Surface_getAspenSavrLiveHerbaceous(swigCPtr, (int)savrUnits); + return ret; + } + + public double getAspenSavrLiveWoody(SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum savrUnits) { + double ret = BehavePINVOKE.Surface_getAspenSavrLiveWoody(swigCPtr, (int)savrUnits); + return ret; + } + + public double getAspenMortality(FractionUnits.FractionUnitsEnum mortalityUnits) { + double ret = BehavePINVOKE.Surface_getAspenMortality(swigCPtr, (int)mortalityUnits); + return ret; + } + + public bool getIsUsingChaparral() { + bool ret = BehavePINVOKE.Surface_getIsUsingChaparral(swigCPtr); + return ret; + } + + public ChaparralFuelType.ChaparralFuelTypeEnum getChaparralFuelType() { + ChaparralFuelType.ChaparralFuelTypeEnum ret = (ChaparralFuelType.ChaparralFuelTypeEnum)BehavePINVOKE.Surface_getChaparralFuelType(swigCPtr); + return ret; + } + + public double getChaparralFuelBedDepth(LengthUnits.LengthUnitsEnum depthUnits) { + double ret = BehavePINVOKE.Surface_getChaparralFuelBedDepth(swigCPtr, (int)depthUnits); + return ret; + } + + public double getChaparralFuelDeadLoadFraction() { + double ret = BehavePINVOKE.Surface_getChaparralFuelDeadLoadFraction(swigCPtr); + return ret; + } + + public double getChaparralTotalFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralTotalFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralAge(TimeUnits.TimeUnitsEnum ageUnits) { + double ret = BehavePINVOKE.Surface_getChaparralAge(swigCPtr, (int)ageUnits); + return ret; + } + + public double getChaparralDaysSinceMayFirst() { + double ret = BehavePINVOKE.Surface_getChaparralDaysSinceMayFirst(swigCPtr); + return ret; + } + + public double getChaparralDeadFuelFraction() { + double ret = BehavePINVOKE.Surface_getChaparralDeadFuelFraction(swigCPtr); + return ret; + } + + public double getChaparralDeadMoistureOfExtinction(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getChaparralDeadMoistureOfExtinction(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getChaparralLiveMoistureOfExtinction(FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLiveMoistureOfExtinction(swigCPtr, (int)moistureUnits); + return ret; + } + + public double getChaparralDensity(FuelLifeState.FuelLifeStateEnum lifeState, int sizeClass, DensityUnits.DensityUnitsEnum densityUnits) { + double ret = BehavePINVOKE.Surface_getChaparralDensity(swigCPtr, (int)lifeState, sizeClass, (int)densityUnits); + return ret; + } + + public double getChaparralHeatOfCombustion(FuelLifeState.FuelLifeStateEnum lifeState, int sizeClass, HeatOfCombustionUnits.HeatOfCombustionUnitsEnum heatOfCombustionUnits) { + double ret = BehavePINVOKE.Surface_getChaparralHeatOfCombustion(swigCPtr, (int)lifeState, sizeClass, (int)heatOfCombustionUnits); + return ret; + } + + public double getChaparralLoadDeadLessThanQuarterInch(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLoadDeadLessThanQuarterInch(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralLoadDeadQuarterInchToLessThanHalfInch(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLoadDeadQuarterInchToLessThanHalfInch(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralLoadDeadHalfInchToLessThanOneInch(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLoadDeadHalfInchToLessThanOneInch(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralLoadDeadOneInchToThreeInch(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLoadDeadOneInchToThreeInch(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralLoadLiveLeaves(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLoadLiveLeaves(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralLoadLiveStemsLessThanQuaterInch(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLoadLiveStemsLessThanQuaterInch(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralLoadLiveQuarterInchToLessThanHalfInch(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLoadLiveQuarterInchToLessThanHalfInch(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralLoadLiveHalfInchToLessThanOneInch(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLoadLiveHalfInchToLessThanOneInch(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralLoadLiveOneInchToThreeInch(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralLoadLiveOneInchToThreeInch(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralMoisture(FuelLifeState.FuelLifeStateEnum lifeState, int sizeClass, FractionUnits.FractionUnitsEnum moistureUnits) { + double ret = BehavePINVOKE.Surface_getChaparralMoisture(swigCPtr, (int)lifeState, sizeClass, (int)moistureUnits); + return ret; + } + + public double getChaparralTotalDeadFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralTotalDeadFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + + public double getChaparralTotalLiveFuelLoad(LoadingUnits.LoadingUnitsEnum loadingUnits) { + double ret = BehavePINVOKE.Surface_getChaparralTotalLiveFuelLoad(swigCPtr, (int)loadingUnits); + return ret; + } + +} + +} diff --git a/swig/SurfaceAreaToVolumeUnits.cs b/swig/SurfaceAreaToVolumeUnits.cs new file mode 100644 index 0000000..7bac616 --- /dev/null +++ b/swig/SurfaceAreaToVolumeUnits.cs @@ -0,0 +1,82 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class SurfaceAreaToVolumeUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal SurfaceAreaToVolumeUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SurfaceAreaToVolumeUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SurfaceAreaToVolumeUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~SurfaceAreaToVolumeUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_SurfaceAreaToVolumeUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum units) { + double ret = BehavePINVOKE.SurfaceAreaToVolumeUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, SurfaceAreaToVolumeUnits.SurfaceAreaToVolumeUnitsEnum units) { + double ret = BehavePINVOKE.SurfaceAreaToVolumeUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public SurfaceAreaToVolumeUnits() : this(BehavePINVOKE.new_SurfaceAreaToVolumeUnits(), true) { + } + + public enum SurfaceAreaToVolumeUnitsEnum { + SquareFeetOverCubicFeet, + SquareMetersOverCubicMeters, + SquareInchesOverCubicInches, + SquareCentimetersOverCubicCentimeters + } + +} + +} diff --git a/swig/SurfaceFireSpreadDirectionMode.cs b/swig/SurfaceFireSpreadDirectionMode.cs new file mode 100644 index 0000000..06b623d --- /dev/null +++ b/swig/SurfaceFireSpreadDirectionMode.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class SurfaceFireSpreadDirectionMode : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal SurfaceFireSpreadDirectionMode(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SurfaceFireSpreadDirectionMode obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(SurfaceFireSpreadDirectionMode obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~SurfaceFireSpreadDirectionMode() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_SurfaceFireSpreadDirectionMode(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public SurfaceFireSpreadDirectionMode() : this(BehavePINVOKE.new_SurfaceFireSpreadDirectionMode(), true) { + } + + public enum SurfaceFireSpreadDirectionModeEnum { + FromIgnitionPoint = 0, + FromPerimeter = 1 + } + +} + +} diff --git a/swig/TemperatureUnits.cs b/swig/TemperatureUnits.cs new file mode 100644 index 0000000..6a33399 --- /dev/null +++ b/swig/TemperatureUnits.cs @@ -0,0 +1,81 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class TemperatureUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal TemperatureUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TemperatureUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(TemperatureUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~TemperatureUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_TemperatureUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, TemperatureUnits.TemperatureUnitsEnum units) { + double ret = BehavePINVOKE.TemperatureUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, TemperatureUnits.TemperatureUnitsEnum units) { + double ret = BehavePINVOKE.TemperatureUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public TemperatureUnits() : this(BehavePINVOKE.new_TemperatureUnits(), true) { + } + + public enum TemperatureUnitsEnum { + Fahrenheit, + Celsius, + Kelvin + } + +} + +} diff --git a/swig/TimeUnits.cs b/swig/TimeUnits.cs new file mode 100644 index 0000000..f489850 --- /dev/null +++ b/swig/TimeUnits.cs @@ -0,0 +1,83 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class TimeUnits : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal TimeUnits(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TimeUnits obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(TimeUnits obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~TimeUnits() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_TimeUnits(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public static double toBaseUnits(double value, TimeUnits.TimeUnitsEnum units) { + double ret = BehavePINVOKE.TimeUnits_toBaseUnits(value, (int)units); + return ret; + } + + public static double fromBaseUnits(double value, TimeUnits.TimeUnitsEnum units) { + double ret = BehavePINVOKE.TimeUnits_fromBaseUnits(value, (int)units); + return ret; + } + + public TimeUnits() : this(BehavePINVOKE.new_TimeUnits(), true) { + } + + public enum TimeUnitsEnum { + Minutes, + Seconds, + Hours, + Days, + Years + } + +} + +} diff --git a/swig/TwoFuelModelsContants.cs b/swig/TwoFuelModelsContants.cs new file mode 100644 index 0000000..0aae52f --- /dev/null +++ b/swig/TwoFuelModelsContants.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class TwoFuelModelsContants : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal TwoFuelModelsContants(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TwoFuelModelsContants obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(TwoFuelModelsContants obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~TwoFuelModelsContants() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_TwoFuelModelsContants(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public TwoFuelModelsContants() : this(BehavePINVOKE.new_TwoFuelModelsContants(), true) { + } + + public enum TwoFuelModelsContantsEnum { + First = 0, + Second = 1, + NumberOfModels = 2 + } + +} + +} diff --git a/swig/TwoFuelModelsMethod.cs b/swig/TwoFuelModelsMethod.cs new file mode 100644 index 0000000..52098c9 --- /dev/null +++ b/swig/TwoFuelModelsMethod.cs @@ -0,0 +1,72 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class TwoFuelModelsMethod : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal TwoFuelModelsMethod(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TwoFuelModelsMethod obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(TwoFuelModelsMethod obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~TwoFuelModelsMethod() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_TwoFuelModelsMethod(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public TwoFuelModelsMethod() : this(BehavePINVOKE.new_TwoFuelModelsMethod(), true) { + } + + public enum TwoFuelModelsMethodEnum { + NoMethod = 0, + Arithmetic = 1, + Harmonic = 2, + TwoDimensional = 3 + } + +} + +} diff --git a/swig/WindAdjustmentFactorCalculationMethod.cs b/swig/WindAdjustmentFactorCalculationMethod.cs new file mode 100644 index 0000000..4ec2377 --- /dev/null +++ b/swig/WindAdjustmentFactorCalculationMethod.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class WindAdjustmentFactorCalculationMethod : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal WindAdjustmentFactorCalculationMethod(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(WindAdjustmentFactorCalculationMethod obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(WindAdjustmentFactorCalculationMethod obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~WindAdjustmentFactorCalculationMethod() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_WindAdjustmentFactorCalculationMethod(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public WindAdjustmentFactorCalculationMethod() : this(BehavePINVOKE.new_WindAdjustmentFactorCalculationMethod(), true) { + } + + public enum WindAdjustmentFactorCalculationMethodEnum { + UserInput = 0, + UseCrownRatio = 1, + DontUseCrownRatio = 2 + } + +} + +} diff --git a/swig/WindAdjustmentFactorShelterMethod.cs b/swig/WindAdjustmentFactorShelterMethod.cs new file mode 100644 index 0000000..4e3a181 --- /dev/null +++ b/swig/WindAdjustmentFactorShelterMethod.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class WindAdjustmentFactorShelterMethod : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal WindAdjustmentFactorShelterMethod(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(WindAdjustmentFactorShelterMethod obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(WindAdjustmentFactorShelterMethod obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~WindAdjustmentFactorShelterMethod() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_WindAdjustmentFactorShelterMethod(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public WindAdjustmentFactorShelterMethod() : this(BehavePINVOKE.new_WindAdjustmentFactorShelterMethod(), true) { + } + + public enum WindAdjustmentFactorShelterMethodEnum { + Unsheltered = 0, + Sheltered = 1 + } + +} + +} diff --git a/swig/WindAndSpreadOrientationMode.cs b/swig/WindAndSpreadOrientationMode.cs new file mode 100644 index 0000000..5175fa5 --- /dev/null +++ b/swig/WindAndSpreadOrientationMode.cs @@ -0,0 +1,70 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class WindAndSpreadOrientationMode : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal WindAndSpreadOrientationMode(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(WindAndSpreadOrientationMode obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(WindAndSpreadOrientationMode obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~WindAndSpreadOrientationMode() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_WindAndSpreadOrientationMode(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public WindAndSpreadOrientationMode() : this(BehavePINVOKE.new_WindAndSpreadOrientationMode(), true) { + } + + public enum WindAndSpreadOrientationModeEnum { + RelativeToUpslope = 0, + RelativeToNorth = 1 + } + +} + +} diff --git a/swig/WindHeightInputMode.cs b/swig/WindHeightInputMode.cs new file mode 100644 index 0000000..f8416ae --- /dev/null +++ b/swig/WindHeightInputMode.cs @@ -0,0 +1,71 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.4.0 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace BehaveCore { + +public class WindHeightInputMode : global::System.IDisposable { + private global::System.Runtime.InteropServices.HandleRef swigCPtr; + protected bool swigCMemOwn; + + internal WindHeightInputMode(global::System.IntPtr cPtr, bool cMemoryOwn) { + swigCMemOwn = cMemoryOwn; + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); + } + + internal static global::System.Runtime.InteropServices.HandleRef getCPtr(WindHeightInputMode obj) { + return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; + } + + internal static global::System.Runtime.InteropServices.HandleRef swigRelease(WindHeightInputMode obj) { + if (obj != null) { + if (!obj.swigCMemOwn) + throw new global::System.ApplicationException("Cannot release ownership as memory is not owned"); + global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr; + obj.swigCMemOwn = false; + obj.Dispose(); + return ptr; + } else { + return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + + ~WindHeightInputMode() { + Dispose(false); + } + + public void Dispose() { + Dispose(true); + global::System.GC.SuppressFinalize(this); + } + + protected virtual void Dispose(bool disposing) { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + BehavePINVOKE.delete_WindHeightInputMode(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + } + } + + public WindHeightInputMode() : this(BehavePINVOKE.new_WindHeightInputMode(), true) { + } + + public enum WindHeightInputModeEnum { + DirectMidflame = 0, + TwentyFoot = 1, + TenMeter = 2 + } + +} + +} diff --git a/swig/behave_csharp.i b/swig/behave_csharp.i new file mode 100644 index 0000000..ccdfcac --- /dev/null +++ b/swig/behave_csharp.i @@ -0,0 +1,19 @@ +/* File : behave_csharp.i */ +/*create by typing swig -c++ -csharp -namespace BehaveCore behave_csharp.i*/ +%module Behave +%ignore *::operator=; + +%{ + #include "..\src\behave\surface.h" + #include "..\src\behave\crown.h" + #include "..\src\behave\fuelModels.h" + #include "..\src\behave\surfaceInputEnums.h" + #include "..\src\behave\behaveUnits.h" +%} + +/* Let's just grab the original header file here */ +%include "..\src\behave\surface.h" +%include "..\src\behave\crown.h" +%include "..\src\behave\fuelModels.h" +%include "..\src\behave\surfaceInputEnums.h" +%include "..\src\behave\behaveUnits.h" \ No newline at end of file diff --git a/swig/behave_csharp_wrap.cxx b/swig/behave_csharp_wrap.cxx new file mode 100644 index 0000000..1db91e8 --- /dev/null +++ b/swig/behave_csharp_wrap.cxx @@ -0,0 +1,6482 @@ +/* ---------------------------------------------------------------------------- + * This file was automatically generated by SWIG (https://www.swig.org). + * Version 4.4.0 + * + * Do not make changes to this file unless you know what you are doing - modify + * the SWIG interface file instead. + * ----------------------------------------------------------------------------- */ + + +#define SWIG_VERSION 0x040400 +#define SWIGCSHARP + +/* ----------------------------------------------------------------------------- + * This section contains generic SWIG labels for method/variable + * declarations/attributes, and other compiler dependent labels. + * ----------------------------------------------------------------------------- */ + +/* template workaround for compilers that cannot correctly implement the C++ standard */ +#ifndef SWIGTEMPLATEDISAMBIGUATOR +# if defined(__SUNPRO_CC) && (__SUNPRO_CC <= 0x560) +# define SWIGTEMPLATEDISAMBIGUATOR template +# elif defined(__HP_aCC) +/* Needed even with `aCC -AA' when `aCC -V' reports HP ANSI C++ B3910B A.03.55 */ +/* If we find a maximum version that requires this, the test would be __HP_aCC <= 35500 for A.03.55 */ +# define SWIGTEMPLATEDISAMBIGUATOR template +# else +# define SWIGTEMPLATEDISAMBIGUATOR +# endif +#endif + +/* inline attribute */ +#ifndef SWIGINLINE +# if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__)) +# define SWIGINLINE inline +# else +# define SWIGINLINE +# endif +#endif + +/* attribute recognised by some compilers to avoid 'unused' warnings */ +#ifndef SWIGUNUSED +# if defined(__GNUC__) +# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +# elif defined(__ICC) +# define SWIGUNUSED __attribute__ ((__unused__)) +# else +# define SWIGUNUSED +# endif +#endif + +#ifndef SWIG_MSC_UNSUPPRESS_4505 +# if defined(_MSC_VER) +# pragma warning(disable : 4505) /* unreferenced local function has been removed */ +# endif +#endif + +#ifndef SWIGUNUSEDPARM +# ifdef __cplusplus +# define SWIGUNUSEDPARM(p) +# else +# define SWIGUNUSEDPARM(p) p SWIGUNUSED +# endif +#endif + +/* internal SWIG method */ +#ifndef SWIGINTERN +# define SWIGINTERN static SWIGUNUSED +#endif + +/* internal inline SWIG method */ +#ifndef SWIGINTERNINLINE +# define SWIGINTERNINLINE SWIGINTERN SWIGINLINE +#endif + +/* exporting methods */ +#if defined(__GNUC__) +# if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) +# ifndef GCC_HASCLASSVISIBILITY +# define GCC_HASCLASSVISIBILITY +# endif +# endif +#endif + +#ifndef SWIGEXPORT +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# if defined(STATIC_LINKED) +# define SWIGEXPORT +# else +# define SWIGEXPORT __declspec(dllexport) +# endif +# else +# if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY) +# define SWIGEXPORT __attribute__ ((visibility("default"))) +# else +# define SWIGEXPORT +# endif +# endif +#endif + +/* calling conventions for Windows */ +#ifndef SWIGSTDCALL +# if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) +# define SWIGSTDCALL __stdcall +# else +# define SWIGSTDCALL +# endif +#endif + +/* Deal with Microsoft's attempt at deprecating C standard runtime functions */ +#if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_CRT_SECURE_NO_DEPRECATE) +# define _CRT_SECURE_NO_DEPRECATE +#endif + +/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */ +#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE) +# define _SCL_SECURE_NO_DEPRECATE +#endif + +/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */ +#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES) +# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0 +#endif + +/* Intel's compiler complains if a variable which was never initialised is + * cast to void, which is a common idiom which we use to indicate that we + * are aware a variable isn't used. So we just silence that warning. + * See: https://github.com/swig/swig/issues/192 for more discussion. + */ +#ifdef __INTEL_COMPILER +# pragma warning disable 592 +#endif + +#if defined(__cplusplus) && __cplusplus >=201103L +# define SWIG_NOEXCEPT noexcept +#else +# define SWIG_NOEXCEPT throw() +#endif + +/* ----------------------------------------------------------------------------- + * swigcompat.swg + * + * Macros to provide support compatibility with older C and C++ standards. + * + * Note that SWIG expects __cplusplus to be defined to the appropriate C++ standard. + * MSVC users are urged to check and examine the /Zc:__cplusplus compiler option. + * See https://learn.microsoft.com/en-us/cpp/build/reference/zc-cplusplus. + * ----------------------------------------------------------------------------- */ + +/* C99 and C++11 should provide snprintf, but define SWIG_NO_SNPRINTF + * if you're missing it. + */ +#if ((defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L) || \ + (defined __cplusplus && __cplusplus >= 201103L) || \ + defined SWIG_HAVE_SNPRINTF) && \ + !defined SWIG_NO_SNPRINTF +# define SWIG_snprintf(O,S,F,A) snprintf(O,S,F,A) +# define SWIG_snprintf2(O,S,F,A,B) snprintf(O,S,F,A,B) +#else +/* Fallback versions ignore the buffer size, but most of our uses either have a + * fixed maximum possible size or dynamically allocate a buffer that's large + * enough. + */ +# define SWIG_snprintf(O,S,F,A) sprintf(O,F,A) +# define SWIG_snprintf2(O,S,F,A,B) sprintf(O,F,A,B) +#endif + + +#include +#include +#include + + +/* Support for throwing C# exceptions from C/C++. There are two types: + * Exceptions that take a message and ArgumentExceptions that take a message and a parameter name. */ +typedef enum { + SWIG_CSharpApplicationException, + SWIG_CSharpArithmeticException, + SWIG_CSharpDivideByZeroException, + SWIG_CSharpIndexOutOfRangeException, + SWIG_CSharpInvalidCastException, + SWIG_CSharpInvalidOperationException, + SWIG_CSharpIOException, + SWIG_CSharpNullReferenceException, + SWIG_CSharpOutOfMemoryException, + SWIG_CSharpOverflowException, + SWIG_CSharpSystemException +} SWIG_CSharpExceptionCodes; + +typedef enum { + SWIG_CSharpArgumentException, + SWIG_CSharpArgumentNullException, + SWIG_CSharpArgumentOutOfRangeException +} SWIG_CSharpExceptionArgumentCodes; + +typedef void (SWIGSTDCALL* SWIG_CSharpExceptionCallback_t)(const char *); +typedef void (SWIGSTDCALL* SWIG_CSharpExceptionArgumentCallback_t)(const char *, const char *); + +typedef struct { + SWIG_CSharpExceptionCodes code; + SWIG_CSharpExceptionCallback_t callback; +} SWIG_CSharpException_t; + +typedef struct { + SWIG_CSharpExceptionArgumentCodes code; + SWIG_CSharpExceptionArgumentCallback_t callback; +} SWIG_CSharpExceptionArgument_t; + +static SWIG_CSharpException_t SWIG_csharp_exceptions[] = { + { SWIG_CSharpApplicationException, NULL }, + { SWIG_CSharpArithmeticException, NULL }, + { SWIG_CSharpDivideByZeroException, NULL }, + { SWIG_CSharpIndexOutOfRangeException, NULL }, + { SWIG_CSharpInvalidCastException, NULL }, + { SWIG_CSharpInvalidOperationException, NULL }, + { SWIG_CSharpIOException, NULL }, + { SWIG_CSharpNullReferenceException, NULL }, + { SWIG_CSharpOutOfMemoryException, NULL }, + { SWIG_CSharpOverflowException, NULL }, + { SWIG_CSharpSystemException, NULL } +}; + +static SWIG_CSharpExceptionArgument_t SWIG_csharp_exceptions_argument[] = { + { SWIG_CSharpArgumentException, NULL }, + { SWIG_CSharpArgumentNullException, NULL }, + { SWIG_CSharpArgumentOutOfRangeException, NULL } +}; + +static void SWIGUNUSED SWIG_CSharpSetPendingException(SWIG_CSharpExceptionCodes code, const char *msg) { + SWIG_CSharpExceptionCallback_t callback = SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback; + if ((size_t)code < sizeof(SWIG_csharp_exceptions)/sizeof(SWIG_CSharpException_t)) { + callback = SWIG_csharp_exceptions[code].callback; + } + callback(msg); +} + +static void SWIGUNUSED SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpExceptionArgumentCodes code, const char *msg, const char *param_name) { + SWIG_CSharpExceptionArgumentCallback_t callback = SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback; + if ((size_t)code < sizeof(SWIG_csharp_exceptions_argument)/sizeof(SWIG_CSharpExceptionArgument_t)) { + callback = SWIG_csharp_exceptions_argument[code].callback; + } + callback(msg, param_name); +} + + +#ifdef __cplusplus +extern "C" +#endif +SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionCallbacks_Behave( + SWIG_CSharpExceptionCallback_t applicationCallback, + SWIG_CSharpExceptionCallback_t arithmeticCallback, + SWIG_CSharpExceptionCallback_t divideByZeroCallback, + SWIG_CSharpExceptionCallback_t indexOutOfRangeCallback, + SWIG_CSharpExceptionCallback_t invalidCastCallback, + SWIG_CSharpExceptionCallback_t invalidOperationCallback, + SWIG_CSharpExceptionCallback_t ioCallback, + SWIG_CSharpExceptionCallback_t nullReferenceCallback, + SWIG_CSharpExceptionCallback_t outOfMemoryCallback, + SWIG_CSharpExceptionCallback_t overflowCallback, + SWIG_CSharpExceptionCallback_t systemCallback) { + SWIG_csharp_exceptions[SWIG_CSharpApplicationException].callback = applicationCallback; + SWIG_csharp_exceptions[SWIG_CSharpArithmeticException].callback = arithmeticCallback; + SWIG_csharp_exceptions[SWIG_CSharpDivideByZeroException].callback = divideByZeroCallback; + SWIG_csharp_exceptions[SWIG_CSharpIndexOutOfRangeException].callback = indexOutOfRangeCallback; + SWIG_csharp_exceptions[SWIG_CSharpInvalidCastException].callback = invalidCastCallback; + SWIG_csharp_exceptions[SWIG_CSharpInvalidOperationException].callback = invalidOperationCallback; + SWIG_csharp_exceptions[SWIG_CSharpIOException].callback = ioCallback; + SWIG_csharp_exceptions[SWIG_CSharpNullReferenceException].callback = nullReferenceCallback; + SWIG_csharp_exceptions[SWIG_CSharpOutOfMemoryException].callback = outOfMemoryCallback; + SWIG_csharp_exceptions[SWIG_CSharpOverflowException].callback = overflowCallback; + SWIG_csharp_exceptions[SWIG_CSharpSystemException].callback = systemCallback; +} + +#ifdef __cplusplus +extern "C" +#endif +SWIGEXPORT void SWIGSTDCALL SWIGRegisterExceptionArgumentCallbacks_Behave( + SWIG_CSharpExceptionArgumentCallback_t argumentCallback, + SWIG_CSharpExceptionArgumentCallback_t argumentNullCallback, + SWIG_CSharpExceptionArgumentCallback_t argumentOutOfRangeCallback) { + SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentException].callback = argumentCallback; + SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentNullException].callback = argumentNullCallback; + SWIG_csharp_exceptions_argument[SWIG_CSharpArgumentOutOfRangeException].callback = argumentOutOfRangeCallback; +} + + +/* Callback for returning strings to C# without leaking memory */ +typedef char * (SWIGSTDCALL* SWIG_CSharpStringHelperCallback)(const char *); +static SWIG_CSharpStringHelperCallback SWIG_csharp_string_callback = NULL; + + +#ifdef __cplusplus +extern "C" +#endif +SWIGEXPORT void SWIGSTDCALL SWIGRegisterStringCallback_Behave(SWIG_CSharpStringHelperCallback callback) { + SWIG_csharp_string_callback = callback; +} + + +/* Contract support */ + +#define SWIG_contract_assert(nullreturn, expr, msg) do { if (!(expr)) {SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentOutOfRangeException, msg, ""); return nullreturn; } } while (0) + + +#ifdef __cplusplus +#include +/* SwigValueWrapper is described in swig.swg */ +template class SwigValueWrapper { + struct SwigSmartPointer { + T *ptr; + SwigSmartPointer(T *p) : ptr(p) { } + ~SwigSmartPointer() { delete ptr; } + SwigSmartPointer& operator=(SwigSmartPointer& rhs) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = rhs.ptr; rhs.ptr = 0; return *this; } + void reset(T *p) { T* oldptr = ptr; ptr = 0; delete oldptr; ptr = p; } + } pointer; + SwigValueWrapper& operator=(const SwigValueWrapper& rhs); + SwigValueWrapper(const SwigValueWrapper& rhs); +public: + SwigValueWrapper() : pointer(0) { } + SwigValueWrapper& operator=(const T& t) { SwigSmartPointer tmp(new T(t)); pointer = tmp; return *this; } +#if __cplusplus >=201103L + SwigValueWrapper& operator=(T&& t) { SwigSmartPointer tmp(new T(std::move(t))); pointer = tmp; return *this; } + operator T&&() const { return std::move(*pointer.ptr); } +#else + operator T&() const { return *pointer.ptr; } +#endif + T *operator&() const { return pointer.ptr; } + static void reset(SwigValueWrapper& t, T *p) { t.pointer.reset(p); } +}; + +/* + * SwigValueInit() is a generic initialisation solution as the following approach: + * + * T c_result = T(); + * + * doesn't compile for all types for example: + * + * unsigned int c_result = unsigned int(); + */ +template T SwigValueInit() { + return T(); +} + +#if __cplusplus >=201103L +# define SWIG_STD_MOVE(OBJ) std::move(OBJ) +#else +# define SWIG_STD_MOVE(OBJ) OBJ +#endif + +#endif + + + #include "..\src\behave\surface.h" + #include "..\src\behave\crown.h" + #include "..\src\behave\fuelModels.h" + #include "..\src\behave\surfaceInputEnums.h" + #include "..\src\behave\behaveUnits.h" + + +#ifdef __cplusplus +extern "C" { +#endif + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_Surface__SWIG_0(void * jarg1) { + void * jresult ; + FuelModels *arg1 = 0 ; + Surface *result = 0 ; + + arg1 = (FuelModels *)jarg1; + if (!arg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "FuelModels const & is null", 0); + return 0; + } + result = (Surface *)new Surface((FuelModels const &)*arg1); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_Surface__SWIG_1(void * jarg1) { + void * jresult ; + Surface *arg1 = 0 ; + Surface *result = 0 ; + + arg1 = (Surface *)jarg1; + if (!arg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Surface const & is null", 0); + return 0; + } + result = (Surface *)new Surface((Surface const &)*arg1); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_isAllFuelLoadZero__SWIG_0(void * jarg1, int jarg2) { + unsigned int jresult ; + Surface *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = (bool)(arg1)->isAllFuelLoadZero(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_doSurfaceRunInDirectionOfMaxSpread(void * jarg1) { + Surface *arg1 = 0 ; + + arg1 = (Surface *)jarg1; + (arg1)->doSurfaceRunInDirectionOfMaxSpread(); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_doSurfaceRunInDirectionOfInterest(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + SurfaceFireSpreadDirectionMode::SurfaceFireSpreadDirectionModeEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (SurfaceFireSpreadDirectionMode::SurfaceFireSpreadDirectionModeEnum)jarg3; + (arg1)->doSurfaceRunInDirectionOfInterest(arg2,arg3); +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_calculateFlameLength(void * jarg1, double jarg2, int jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + double arg2 ; + FirelineIntensityUnits::FirelineIntensityUnitsEnum arg3 ; + LengthUnits::LengthUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FirelineIntensityUnits::FirelineIntensityUnitsEnum)jarg3; + arg4 = (LengthUnits::LengthUnitsEnum)jarg4; + result = (double)(arg1)->calculateFlameLength(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setFuelModels(void * jarg1, void * jarg2) { + Surface *arg1 = 0 ; + FuelModels *arg2 = 0 ; + + arg1 = (Surface *)jarg1; + arg2 = (FuelModels *)jarg2; + if (!arg2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "FuelModels & is null", 0); + return ; + } + (arg1)->setFuelModels(*arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_initializeMembers(void * jarg1) { + Surface *arg1 = 0 ; + + arg1 = (Surface *)jarg1; + (arg1)->initializeMembers(); +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getSpreadRate(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getSpreadRate(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getSpreadRateInDirectionOfInterest(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getSpreadRateInDirectionOfInterest(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getBackingSpreadRate(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)(arg1)->getBackingSpreadRate(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFlankingSpreadRate(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)(arg1)->getFlankingSpreadRate(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getSpreadDistance(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getSpreadDistance(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getSpreadDistanceInDirectionOfInterest(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getSpreadDistanceInDirectionOfInterest(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getBackingSpreadDistance(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)(arg1)->getBackingSpreadDistance(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFlankingSpreadDistance(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)(arg1)->getFlankingSpreadDistance(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getDirectionOfMaxSpread(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getDirectionOfMaxSpread(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFlameLength(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getFlameLength(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getBackingFlameLength(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getBackingFlameLength(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFlankingFlameLength(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getFlankingFlameLength(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFlameLengthInDirectionOfInterest(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getFlameLengthInDirectionOfInterest(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFireLengthToWidthRatio(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getFireLengthToWidthRatio(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFireEccentricity(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getFireEccentricity(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getHeadingToBackingRatio(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getHeadingToBackingRatio(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFirelineIntensity(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FirelineIntensityUnits::FirelineIntensityUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FirelineIntensityUnits::FirelineIntensityUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getFirelineIntensity(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getBackingFirelineIntensity(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FirelineIntensityUnits::FirelineIntensityUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FirelineIntensityUnits::FirelineIntensityUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getBackingFirelineIntensity(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFlankingFirelineIntensity(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FirelineIntensityUnits::FirelineIntensityUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FirelineIntensityUnits::FirelineIntensityUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getFlankingFirelineIntensity(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFirelineIntensityInDirectionOfInterest(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FirelineIntensityUnits::FirelineIntensityUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FirelineIntensityUnits::FirelineIntensityUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getFirelineIntensityInDirectionOfInterest(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getHeatPerUnitArea(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getHeatPerUnitArea(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMidflameWindspeed(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getMidflameWindspeed(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getResidenceTime(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + TimeUnits::TimeUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (TimeUnits::TimeUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getResidenceTime(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getReactionIntensity(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + HeatSourceAndReactionIntensityUnits::HeatSourceAndReactionIntensityUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (HeatSourceAndReactionIntensityUnits::HeatSourceAndReactionIntensityUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getReactionIntensity(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getSurfaceFireReactionIntensityForLifeState(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FuelLifeState::FuelLifeStateEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FuelLifeState::FuelLifeStateEnum)jarg2; + result = (double)((Surface const *)arg1)->getSurfaceFireReactionIntensityForLifeState(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getEllipticalA(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getEllipticalA(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getEllipticalB(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getEllipticalB(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getEllipticalC(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getEllipticalC(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFireLength(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getFireLength(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMaxFireWidth(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getMaxFireWidth(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getSlopeFactor(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getSlopeFactor(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getBulkDensity(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + DensityUnits::DensityUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (DensityUnits::DensityUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getBulkDensity(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getHeatSink(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + HeatSinkUnits::HeatSinkUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (HeatSinkUnits::HeatSinkUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getHeatSink(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getHeatSource(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + HeatSourceAndReactionIntensityUnits::HeatSourceAndReactionIntensityUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (HeatSourceAndReactionIntensityUnits::HeatSourceAndReactionIntensityUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getHeatSource(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFirePerimeter(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getFirePerimeter(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFireArea(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + AreaUnits::AreaUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (AreaUnits::AreaUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getFireArea(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getCharacteristicMoistureByLifeState(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + FuelLifeState::FuelLifeStateEnum arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FuelLifeState::FuelLifeStateEnum)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getCharacteristicMoistureByLifeState(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getLiveFuelMoistureOfExtinction(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getLiveFuelMoistureOfExtinction(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getCharacteristicSAVR(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getCharacteristicSAVR(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getRelativePackingRatio(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getRelativePackingRatio(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPackingRatio(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getPackingRatio(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getTotalLiveFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getTotalLiveFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getTotalDeadFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getTotalDeadFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getTotalDeadHerbaceousFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getTotalDeadHerbaceousFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setCanopyHeight(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + LengthUnits::LengthUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (LengthUnits::LengthUnitsEnum)jarg3; + (arg1)->setCanopyHeight(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setCanopyCover(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setCanopyCover(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setCrownRatio(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setCrownRatio(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setElapsedTime(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + TimeUnits::TimeUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (TimeUnits::TimeUnitsEnum)jarg3; + (arg1)->setElapsedTime(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setFuelModelNumber(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + int arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + (arg1)->setFuelModelNumber(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setMoistureOneHour(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureOneHour(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setMoistureTenHour(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureTenHour(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setMoistureHundredHour(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureHundredHour(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setMoistureDeadAggregate(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureDeadAggregate(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setMoistureLiveHerbaceous(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureLiveHerbaceous(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setMoistureLiveWoody(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureLiveWoody(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setMoistureLiveAggregate(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureLiveAggregate(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setMoistureScenarios(void * jarg1, void * jarg2) { + Surface *arg1 = 0 ; + MoistureScenarios *arg2 = 0 ; + + arg1 = (Surface *)jarg1; + arg2 = (MoistureScenarios *)jarg2; + if (!arg2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "MoistureScenarios & is null", 0); + return ; + } + (arg1)->setMoistureScenarios(*arg2); +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_setCurrentMoistureScenarioByName(void * jarg1, void * jarg2) { + unsigned int jresult ; + Surface *arg1 = 0 ; + std::string arg2 ; + std::string *argp2 ; + bool result; + + arg1 = (Surface *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + result = (bool)(arg1)->setCurrentMoistureScenarioByName(SWIG_STD_MOVE(arg2)); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_setCurrentMoistureScenarioByIndex(void * jarg1, int jarg2) { + unsigned int jresult ; + Surface *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = (bool)(arg1)->setCurrentMoistureScenarioByIndex(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setMoistureInputMode(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + MoistureInputMode::MoistureInputModeEnum arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (MoistureInputMode::MoistureInputModeEnum)jarg2; + (arg1)->setMoistureInputMode(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setSlope(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + SlopeUnits::SlopeUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (SlopeUnits::SlopeUnitsEnum)jarg3; + (arg1)->setSlope(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setAspect(void * jarg1, double jarg2) { + Surface *arg1 = 0 ; + double arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + (arg1)->setAspect(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setWindSpeed(void * jarg1, double jarg2, int jarg3, int jarg4) { + Surface *arg1 = 0 ; + double arg2 ; + SpeedUnits::SpeedUnitsEnum arg3 ; + WindHeightInputMode::WindHeightInputModeEnum arg4 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (SpeedUnits::SpeedUnitsEnum)jarg3; + arg4 = (WindHeightInputMode::WindHeightInputModeEnum)jarg4; + (arg1)->setWindSpeed(arg2,arg3,arg4); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setUserProvidedWindAdjustmentFactor(void * jarg1, double jarg2) { + Surface *arg1 = 0 ; + double arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + (arg1)->setUserProvidedWindAdjustmentFactor(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setWindDirection(void * jarg1, double jarg2) { + Surface *arg1 = 0 ; + double arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + (arg1)->setWindDirection(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setWindAndSpreadOrientationMode(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum)jarg2; + (arg1)->setWindAndSpreadOrientationMode(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setWindHeightInputMode(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + WindHeightInputMode::WindHeightInputModeEnum arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (WindHeightInputMode::WindHeightInputModeEnum)jarg2; + (arg1)->setWindHeightInputMode(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setFirstFuelModelNumber(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + int arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + (arg1)->setFirstFuelModelNumber(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setSecondFuelModelNumber(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + int arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + (arg1)->setSecondFuelModelNumber(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setTwoFuelModelsMethod(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + TwoFuelModelsMethod::TwoFuelModelsMethodEnum arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (TwoFuelModelsMethod::TwoFuelModelsMethodEnum)jarg2; + (arg1)->setTwoFuelModelsMethod(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setTwoFuelModelsFirstFuelModelCoverage(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setTwoFuelModelsFirstFuelModelCoverage(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setWindAdjustmentFactorCalculationMethod(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + WindAdjustmentFactorCalculationMethod::WindAdjustmentFactorCalculationMethodEnum arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (WindAdjustmentFactorCalculationMethod::WindAdjustmentFactorCalculationMethodEnum)jarg2; + (arg1)->setWindAdjustmentFactorCalculationMethod(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_updateSurfaceInputs(void * jarg1, int jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, int jarg8, double jarg9, int jarg10, int jarg11, double jarg12, int jarg13, double jarg14, int jarg15, double jarg16, double jarg17, int jarg18, double jarg19, int jarg20, double jarg21, int jarg22) { + Surface *arg1 = 0 ; + int arg2 ; + double arg3 ; + double arg4 ; + double arg5 ; + double arg6 ; + double arg7 ; + FractionUnits::FractionUnitsEnum arg8 ; + double arg9 ; + SpeedUnits::SpeedUnitsEnum arg10 ; + WindHeightInputMode::WindHeightInputModeEnum arg11 ; + double arg12 ; + WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum arg13 ; + double arg14 ; + SlopeUnits::SlopeUnitsEnum arg15 ; + double arg16 ; + double arg17 ; + FractionUnits::FractionUnitsEnum arg18 ; + double arg19 ; + LengthUnits::LengthUnitsEnum arg20 ; + double arg21 ; + FractionUnits::FractionUnitsEnum arg22 ; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (double)jarg3; + arg4 = (double)jarg4; + arg5 = (double)jarg5; + arg6 = (double)jarg6; + arg7 = (double)jarg7; + arg8 = (FractionUnits::FractionUnitsEnum)jarg8; + arg9 = (double)jarg9; + arg10 = (SpeedUnits::SpeedUnitsEnum)jarg10; + arg11 = (WindHeightInputMode::WindHeightInputModeEnum)jarg11; + arg12 = (double)jarg12; + arg13 = (WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum)jarg13; + arg14 = (double)jarg14; + arg15 = (SlopeUnits::SlopeUnitsEnum)jarg15; + arg16 = (double)jarg16; + arg17 = (double)jarg17; + arg18 = (FractionUnits::FractionUnitsEnum)jarg18; + arg19 = (double)jarg19; + arg20 = (LengthUnits::LengthUnitsEnum)jarg20; + arg21 = (double)jarg21; + arg22 = (FractionUnits::FractionUnitsEnum)jarg22; + (arg1)->updateSurfaceInputs(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21,arg22); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_updateSurfaceInputsForTwoFuelModels(void * jarg1, int jarg2, int jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8, int jarg9, double jarg10, int jarg11, int jarg12, double jarg13, int jarg14, double jarg15, int jarg16, int jarg17, double jarg18, int jarg19, double jarg20, double jarg21, int jarg22, double jarg23, int jarg24, double jarg25, int jarg26) { + Surface *arg1 = 0 ; + int arg2 ; + int arg3 ; + double arg4 ; + double arg5 ; + double arg6 ; + double arg7 ; + double arg8 ; + FractionUnits::FractionUnitsEnum arg9 ; + double arg10 ; + SpeedUnits::SpeedUnitsEnum arg11 ; + WindHeightInputMode::WindHeightInputModeEnum arg12 ; + double arg13 ; + WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum arg14 ; + double arg15 ; + FractionUnits::FractionUnitsEnum arg16 ; + TwoFuelModelsMethod::TwoFuelModelsMethodEnum arg17 ; + double arg18 ; + SlopeUnits::SlopeUnitsEnum arg19 ; + double arg20 ; + double arg21 ; + FractionUnits::FractionUnitsEnum arg22 ; + double arg23 ; + LengthUnits::LengthUnitsEnum arg24 ; + double arg25 ; + FractionUnits::FractionUnitsEnum arg26 ; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (int)jarg3; + arg4 = (double)jarg4; + arg5 = (double)jarg5; + arg6 = (double)jarg6; + arg7 = (double)jarg7; + arg8 = (double)jarg8; + arg9 = (FractionUnits::FractionUnitsEnum)jarg9; + arg10 = (double)jarg10; + arg11 = (SpeedUnits::SpeedUnitsEnum)jarg11; + arg12 = (WindHeightInputMode::WindHeightInputModeEnum)jarg12; + arg13 = (double)jarg13; + arg14 = (WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum)jarg14; + arg15 = (double)jarg15; + arg16 = (FractionUnits::FractionUnitsEnum)jarg16; + arg17 = (TwoFuelModelsMethod::TwoFuelModelsMethodEnum)jarg17; + arg18 = (double)jarg18; + arg19 = (SlopeUnits::SlopeUnitsEnum)jarg19; + arg20 = (double)jarg20; + arg21 = (double)jarg21; + arg22 = (FractionUnits::FractionUnitsEnum)jarg22; + arg23 = (double)jarg23; + arg24 = (LengthUnits::LengthUnitsEnum)jarg24; + arg25 = (double)jarg25; + arg26 = (FractionUnits::FractionUnitsEnum)jarg26; + (arg1)->updateSurfaceInputsForTwoFuelModels(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21,arg22,arg23,arg24,arg25,arg26); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_updateSurfaceInputsForPalmettoGallbery(void * jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, int jarg7, double jarg8, int jarg9, int jarg10, double jarg11, int jarg12, double jarg13, double jarg14, double jarg15, double jarg16, int jarg17, double jarg18, int jarg19, double jarg20, double jarg21, int jarg22, double jarg23, int jarg24, double jarg25, int jarg26) { + Surface *arg1 = 0 ; + double arg2 ; + double arg3 ; + double arg4 ; + double arg5 ; + double arg6 ; + FractionUnits::FractionUnitsEnum arg7 ; + double arg8 ; + SpeedUnits::SpeedUnitsEnum arg9 ; + WindHeightInputMode::WindHeightInputModeEnum arg10 ; + double arg11 ; + WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum arg12 ; + double arg13 ; + double arg14 ; + double arg15 ; + double arg16 ; + BasalAreaUnits::BasalAreaUnitsEnum arg17 ; + double arg18 ; + SlopeUnits::SlopeUnitsEnum arg19 ; + double arg20 ; + double arg21 ; + FractionUnits::FractionUnitsEnum arg22 ; + double arg23 ; + LengthUnits::LengthUnitsEnum arg24 ; + double arg25 ; + FractionUnits::FractionUnitsEnum arg26 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (double)jarg3; + arg4 = (double)jarg4; + arg5 = (double)jarg5; + arg6 = (double)jarg6; + arg7 = (FractionUnits::FractionUnitsEnum)jarg7; + arg8 = (double)jarg8; + arg9 = (SpeedUnits::SpeedUnitsEnum)jarg9; + arg10 = (WindHeightInputMode::WindHeightInputModeEnum)jarg10; + arg11 = (double)jarg11; + arg12 = (WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum)jarg12; + arg13 = (double)jarg13; + arg14 = (double)jarg14; + arg15 = (double)jarg15; + arg16 = (double)jarg16; + arg17 = (BasalAreaUnits::BasalAreaUnitsEnum)jarg17; + arg18 = (double)jarg18; + arg19 = (SlopeUnits::SlopeUnitsEnum)jarg19; + arg20 = (double)jarg20; + arg21 = (double)jarg21; + arg22 = (FractionUnits::FractionUnitsEnum)jarg22; + arg23 = (double)jarg23; + arg24 = (LengthUnits::LengthUnitsEnum)jarg24; + arg25 = (double)jarg25; + arg26 = (FractionUnits::FractionUnitsEnum)jarg26; + (arg1)->updateSurfaceInputsForPalmettoGallbery(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21,arg22,arg23,arg24,arg25,arg26); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setAgeOfRough(void * jarg1, double jarg2) { + Surface *arg1 = 0 ; + double arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + (arg1)->setAgeOfRough(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setHeightOfUnderstory(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + LengthUnits::LengthUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (LengthUnits::LengthUnitsEnum)jarg3; + (arg1)->setHeightOfUnderstory(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setPalmettoCoverage(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setPalmettoCoverage(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setOverstoryBasalArea(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + BasalAreaUnits::BasalAreaUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (BasalAreaUnits::BasalAreaUnitsEnum)jarg3; + (arg1)->setOverstoryBasalArea(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setIsUsingPalmettoGallberry(void * jarg1, unsigned int jarg2) { + Surface *arg1 = 0 ; + bool arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = jarg2 ? true : false; + (arg1)->setIsUsingPalmettoGallberry(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_updateSurfaceInputsForWesternAspen(void * jarg1, int jarg2, double jarg3, int jarg4, int jarg5, double jarg6, int jarg7, double jarg8, double jarg9, double jarg10, double jarg11, double jarg12, int jarg13, double jarg14, int jarg15, int jarg16, double jarg17, int jarg18, double jarg19, int jarg20, double jarg21, double jarg22, int jarg23, double jarg24, int jarg25, double jarg26, int jarg27) { + Surface *arg1 = 0 ; + int arg2 ; + double arg3 ; + FractionUnits::FractionUnitsEnum arg4 ; + AspenFireSeverity::AspenFireSeverityEnum arg5 ; + double arg6 ; + LengthUnits::LengthUnitsEnum arg7 ; + double arg8 ; + double arg9 ; + double arg10 ; + double arg11 ; + double arg12 ; + FractionUnits::FractionUnitsEnum arg13 ; + double arg14 ; + SpeedUnits::SpeedUnitsEnum arg15 ; + WindHeightInputMode::WindHeightInputModeEnum arg16 ; + double arg17 ; + WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum arg18 ; + double arg19 ; + SlopeUnits::SlopeUnitsEnum arg20 ; + double arg21 ; + double arg22 ; + FractionUnits::FractionUnitsEnum arg23 ; + double arg24 ; + LengthUnits::LengthUnitsEnum arg25 ; + double arg26 ; + FractionUnits::FractionUnitsEnum arg27 ; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (double)jarg3; + arg4 = (FractionUnits::FractionUnitsEnum)jarg4; + arg5 = (AspenFireSeverity::AspenFireSeverityEnum)jarg5; + arg6 = (double)jarg6; + arg7 = (LengthUnits::LengthUnitsEnum)jarg7; + arg8 = (double)jarg8; + arg9 = (double)jarg9; + arg10 = (double)jarg10; + arg11 = (double)jarg11; + arg12 = (double)jarg12; + arg13 = (FractionUnits::FractionUnitsEnum)jarg13; + arg14 = (double)jarg14; + arg15 = (SpeedUnits::SpeedUnitsEnum)jarg15; + arg16 = (WindHeightInputMode::WindHeightInputModeEnum)jarg16; + arg17 = (double)jarg17; + arg18 = (WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum)jarg18; + arg19 = (double)jarg19; + arg20 = (SlopeUnits::SlopeUnitsEnum)jarg20; + arg21 = (double)jarg21; + arg22 = (double)jarg22; + arg23 = (FractionUnits::FractionUnitsEnum)jarg23; + arg24 = (double)jarg24; + arg25 = (LengthUnits::LengthUnitsEnum)jarg25; + arg26 = (double)jarg26; + arg27 = (FractionUnits::FractionUnitsEnum)jarg27; + (arg1)->updateSurfaceInputsForWesternAspen(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21,arg22,arg23,arg24,arg25,arg26,arg27); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setAspenFuelModelNumber(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + int arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + (arg1)->setAspenFuelModelNumber(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setAspenCuringLevel(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setAspenCuringLevel(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setAspenDBH(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + LengthUnits::LengthUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (LengthUnits::LengthUnitsEnum)jarg3; + (arg1)->setAspenDBH(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setAspenFireSeverity(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + AspenFireSeverity::AspenFireSeverityEnum arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (AspenFireSeverity::AspenFireSeverityEnum)jarg2; + (arg1)->setAspenFireSeverity(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setIsUsingWesternAspen(void * jarg1, unsigned int jarg2) { + Surface *arg1 = 0 ; + bool arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = jarg2 ? true : false; + (arg1)->setIsUsingWesternAspen(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setChaparralFuelLoadInputMode(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + ChaparralFuelLoadInputMode::ChaparralFuelInputLoadModeEnum arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (ChaparralFuelLoadInputMode::ChaparralFuelInputLoadModeEnum)jarg2; + (arg1)->setChaparralFuelLoadInputMode(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setChaparralFuelType(void * jarg1, int jarg2) { + Surface *arg1 = 0 ; + ChaparralFuelType::ChaparralFuelTypeEnum arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (ChaparralFuelType::ChaparralFuelTypeEnum)jarg2; + (arg1)->setChaparralFuelType(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setChaparralFuelBedDepth(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + LengthUnits::LengthUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (LengthUnits::LengthUnitsEnum)jarg3; + (arg1)->setChaparralFuelBedDepth(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setChaparralFuelDeadLoadFraction(void * jarg1, double jarg2) { + Surface *arg1 = 0 ; + double arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + (arg1)->setChaparralFuelDeadLoadFraction(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setChaparralTotalFuelLoad(void * jarg1, double jarg2, int jarg3) { + Surface *arg1 = 0 ; + double arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + + arg1 = (Surface *)jarg1; + arg2 = (double)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + (arg1)->setChaparralTotalFuelLoad(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Surface_setIsUsingChaparral(void * jarg1, unsigned int jarg2) { + Surface *arg1 = 0 ; + bool arg2 ; + + arg1 = (Surface *)jarg1; + arg2 = jarg2 ? true : false; + (arg1)->setIsUsingChaparral(arg2); +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelCode(void * jarg1, int jarg2) { + void * jresult ; + Surface *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = ((Surface const *)arg1)->getFuelCode(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelName(void * jarg1, int jarg2) { + void * jresult ; + Surface *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = ((Surface const *)arg1)->getFuelName(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelbedDepth(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + LengthUnits::LengthUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (LengthUnits::LengthUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelbedDepth(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelMoistureOfExtinctionDead(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelMoistureOfExtinctionDead(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelHeatOfCombustionDead(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelHeatOfCombustionDead(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelHeatOfCombustionLive(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelHeatOfCombustionLive(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelLoadOneHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelLoadOneHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelLoadTenHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelLoadTenHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelLoadHundredHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelLoadHundredHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelLoadLiveHerbaceous(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelLoadLiveHerbaceous(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelLoadLiveWoody(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelLoadLiveWoody(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelSavrOneHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelSavrOneHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelSavrLiveHerbaceous(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelSavrLiveHerbaceous(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelSavrLiveWoody(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getFuelSavrLiveWoody(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_isFuelDynamic(void * jarg1, int jarg2) { + unsigned int jresult ; + Surface *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = (bool)((Surface const *)arg1)->isFuelDynamic(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_isFuelModelDefined(void * jarg1, int jarg2) { + unsigned int jresult ; + Surface *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = (bool)((Surface const *)arg1)->isFuelModelDefined(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_isFuelModelReserved(void * jarg1, int jarg2) { + unsigned int jresult ; + Surface *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = (bool)((Surface const *)arg1)->isFuelModelReserved(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_isUsingTwoFuelModels(void * jarg1) { + unsigned int jresult ; + Surface *arg1 = 0 ; + bool result; + + arg1 = (Surface *)jarg1; + result = (bool)((Surface const *)arg1)->isUsingTwoFuelModels(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getElapsedTime(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + TimeUnits::TimeUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (TimeUnits::TimeUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getElapsedTime(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getFuelModelNumber(void * jarg1) { + int jresult ; + Surface *arg1 = 0 ; + int result; + + arg1 = (Surface *)jarg1; + result = (int)((Surface const *)arg1)->getFuelModelNumber(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureOneHour(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getMoistureOneHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureTenHour(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getMoistureTenHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureHundredHour(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getMoistureHundredHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureDeadAggregateValue(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getMoistureDeadAggregateValue(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureLiveHerbaceous(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getMoistureLiveHerbaceous(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureLiveWoody(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getMoistureLiveWoody(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureLiveAggregateValue(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getMoistureLiveAggregateValue(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_isMoistureClassInputNeededForCurrentFuelModel(void * jarg1, int jarg2) { + unsigned int jresult ; + Surface *arg1 = 0 ; + MoistureClassInput::MoistureClassInputEnum arg2 ; + bool result; + + arg1 = (Surface *)jarg1; + arg2 = (MoistureClassInput::MoistureClassInputEnum)jarg2; + result = (bool)((Surface const *)arg1)->isMoistureClassInputNeededForCurrentFuelModel(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureInputMode(void * jarg1) { + int jresult ; + Surface *arg1 = 0 ; + MoistureInputMode::MoistureInputModeEnum result; + + arg1 = (Surface *)jarg1; + result = (MoistureInputMode::MoistureInputModeEnum)((Surface const *)arg1)->getMoistureInputMode(); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getNumberOfMoistureScenarios(void * jarg1) { + int jresult ; + Surface *arg1 = 0 ; + int result; + + arg1 = (Surface *)jarg1; + result = (int)((Surface const *)arg1)->getNumberOfMoistureScenarios(); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioIndexByName(void * jarg1, void * jarg2) { + int jresult ; + Surface *arg1 = 0 ; + std::string arg2 ; + std::string *argp2 ; + int result; + + arg1 = (Surface *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + result = (int)((Surface const *)arg1)->getMoistureScenarioIndexByName(SWIG_STD_MOVE(arg2)); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_getIsMoistureScenarioDefinedByName(void * jarg1, void * jarg2) { + unsigned int jresult ; + Surface *arg1 = 0 ; + std::string arg2 ; + std::string *argp2 ; + bool result; + + arg1 = (Surface *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + result = (bool)((Surface const *)arg1)->getIsMoistureScenarioDefinedByName(SWIG_STD_MOVE(arg2)); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioDescriptionByName(void * jarg1, void * jarg2) { + void * jresult ; + Surface *arg1 = 0 ; + std::string arg2 ; + std::string *argp2 ; + std::string result; + + arg1 = (Surface *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + result = ((Surface const *)arg1)->getMoistureScenarioDescriptionByName(SWIG_STD_MOVE(arg2)); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioOneHourByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Surface *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioOneHourByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioTenHourByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Surface *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioTenHourByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioHundredHourByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Surface *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioHundredHourByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioLiveHerbaceousByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Surface *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioLiveHerbaceousByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioLiveWoodyByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Surface *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioLiveWoodyByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_getIsMoistureScenarioDefinedByIndex(void * jarg1, int jarg2) { + unsigned int jresult ; + Surface *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = (bool)((Surface const *)arg1)->getIsMoistureScenarioDefinedByIndex(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioNameByIndex(void * jarg1, int jarg2) { + void * jresult ; + Surface *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = ((Surface const *)arg1)->getMoistureScenarioNameByIndex(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioDescriptionByIndex(void * jarg1, int jarg2) { + void * jresult ; + Surface *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + result = ((Surface const *)arg1)->getMoistureScenarioDescriptionByIndex(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioOneHourByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioOneHourByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioTenHourByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioTenHourByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioHundredHourByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioHundredHourByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioLiveHerbaceousByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioLiveHerbaceousByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getMoistureScenarioLiveWoodyByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Surface const *)arg1)->getMoistureScenarioLiveWoodyByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getWindSpeed(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Surface *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + WindHeightInputMode::WindHeightInputModeEnum arg3 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + arg3 = (WindHeightInputMode::WindHeightInputModeEnum)jarg3; + result = (double)((Surface const *)arg1)->getWindSpeed(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getWindDirection(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getWindDirection(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getSlope(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SlopeUnits::SlopeUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SlopeUnits::SlopeUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getSlope(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspect(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getAspect(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getCanopyCover(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getCanopyCover(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getCanopyHeight(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getCanopyHeight(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getCrownRatio(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getCrownRatio(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getWindAndSpreadOrientationMode(void * jarg1) { + int jresult ; + Surface *arg1 = 0 ; + WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum result; + + arg1 = (Surface *)jarg1; + result = (WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum)((Surface const *)arg1)->getWindAndSpreadOrientationMode(); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getWindHeightInputMode(void * jarg1) { + int jresult ; + Surface *arg1 = 0 ; + WindHeightInputMode::WindHeightInputModeEnum result; + + arg1 = (Surface *)jarg1; + result = (WindHeightInputMode::WindHeightInputModeEnum)((Surface const *)arg1)->getWindHeightInputMode(); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getWindAdjustmentFactorCalculationMethod(void * jarg1) { + int jresult ; + Surface *arg1 = 0 ; + WindAdjustmentFactorCalculationMethod::WindAdjustmentFactorCalculationMethodEnum result; + + arg1 = (Surface *)jarg1; + result = (WindAdjustmentFactorCalculationMethod::WindAdjustmentFactorCalculationMethodEnum)((Surface const *)arg1)->getWindAdjustmentFactorCalculationMethod(); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_getIsUsingPalmettoGallberry(void * jarg1) { + unsigned int jresult ; + Surface *arg1 = 0 ; + bool result; + + arg1 = (Surface *)jarg1; + result = (bool)((Surface const *)arg1)->getIsUsingPalmettoGallberry(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAgeOfRough(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getAgeOfRough(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getHeightOfUnderstory(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getHeightOfUnderstory(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberryCoverage(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberryCoverage(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getOverstoryBasalArea(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + BasalAreaUnits::BasalAreaUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (BasalAreaUnits::BasalAreaUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getOverstoryBasalArea(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberryMoistureOfExtinctionDead(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberryMoistureOfExtinctionDead(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberryHeatOfCombustionDead(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberryHeatOfCombustionDead(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberryHeatOfCombustionLive(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberryHeatOfCombustionLive(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberyDeadFineFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberyDeadFineFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberyDeadMediumFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberyDeadMediumFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberyDeadFoliageLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberyDeadFoliageLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberyLitterLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberyLitterLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberyLiveFineFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberyLiveFineFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberyLiveMediumFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberyLiveMediumFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberyLiveFoliageLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberyLiveFoliageLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getPalmettoGallberyFuelBedDepth(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getPalmettoGallberyFuelBedDepth(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_getIsUsingWesternAspen(void * jarg1) { + unsigned int jresult ; + Surface *arg1 = 0 ; + bool result; + + arg1 = (Surface *)jarg1; + result = (bool)((Surface const *)arg1)->getIsUsingWesternAspen(); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenFuelModelNumber(void * jarg1) { + int jresult ; + Surface *arg1 = 0 ; + int result; + + arg1 = (Surface *)jarg1; + result = (int)((Surface const *)arg1)->getAspenFuelModelNumber(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenCuringLevel(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenCuringLevel(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenDBH(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenDBH(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenFireSeverity(void * jarg1) { + int jresult ; + Surface *arg1 = 0 ; + AspenFireSeverity::AspenFireSeverityEnum result; + + arg1 = (Surface *)jarg1; + result = (AspenFireSeverity::AspenFireSeverityEnum)((Surface const *)arg1)->getAspenFireSeverity(); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenLoadDeadOneHour(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenLoadDeadOneHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenLoadDeadTenHour(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenLoadDeadTenHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenLoadLiveHerbaceous(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenLoadLiveHerbaceous(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenLoadLiveWoody(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenLoadLiveWoody(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenSavrDeadOneHour(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenSavrDeadOneHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenSavrDeadTenHour(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenSavrDeadTenHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenSavrLiveHerbaceous(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenSavrLiveHerbaceous(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenSavrLiveWoody(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenSavrLiveWoody(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getAspenMortality(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getAspenMortality(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Surface_getIsUsingChaparral(void * jarg1) { + unsigned int jresult ; + Surface *arg1 = 0 ; + bool result; + + arg1 = (Surface *)jarg1; + result = (bool)((Surface const *)arg1)->getIsUsingChaparral(); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralFuelType(void * jarg1) { + int jresult ; + Surface *arg1 = 0 ; + ChaparralFuelType::ChaparralFuelTypeEnum result; + + arg1 = (Surface *)jarg1; + result = (ChaparralFuelType::ChaparralFuelTypeEnum)((Surface const *)arg1)->getChaparralFuelType(); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralFuelBedDepth(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralFuelBedDepth(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralFuelDeadLoadFraction(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getChaparralFuelDeadLoadFraction(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralTotalFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralTotalFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralAge(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + TimeUnits::TimeUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (TimeUnits::TimeUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralAge(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralDaysSinceMayFirst(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getChaparralDaysSinceMayFirst(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralDeadFuelFraction(void * jarg1) { + double jresult ; + Surface *arg1 = 0 ; + double result; + + arg1 = (Surface *)jarg1; + result = (double)((Surface const *)arg1)->getChaparralDeadFuelFraction(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralDeadMoistureOfExtinction(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralDeadMoistureOfExtinction(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLiveMoistureOfExtinction(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLiveMoistureOfExtinction(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralDensity(void * jarg1, int jarg2, int jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + FuelLifeState::FuelLifeStateEnum arg2 ; + int arg3 ; + DensityUnits::DensityUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FuelLifeState::FuelLifeStateEnum)jarg2; + arg3 = (int)jarg3; + arg4 = (DensityUnits::DensityUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getChaparralDensity(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralHeatOfCombustion(void * jarg1, int jarg2, int jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + FuelLifeState::FuelLifeStateEnum arg2 ; + int arg3 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FuelLifeState::FuelLifeStateEnum)jarg2; + arg3 = (int)jarg3; + arg4 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getChaparralHeatOfCombustion(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLoadDeadLessThanQuarterInch(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLoadDeadLessThanQuarterInch(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLoadDeadQuarterInchToLessThanHalfInch(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLoadDeadQuarterInchToLessThanHalfInch(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLoadDeadHalfInchToLessThanOneInch(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLoadDeadHalfInchToLessThanOneInch(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLoadDeadOneInchToThreeInch(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLoadDeadOneInchToThreeInch(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLoadLiveLeaves(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLoadLiveLeaves(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLoadLiveStemsLessThanQuaterInch(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLoadLiveStemsLessThanQuaterInch(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLoadLiveQuarterInchToLessThanHalfInch(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLoadLiveQuarterInchToLessThanHalfInch(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLoadLiveHalfInchToLessThanOneInch(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLoadLiveHalfInchToLessThanOneInch(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralLoadLiveOneInchToThreeInch(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralLoadLiveOneInchToThreeInch(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralMoisture(void * jarg1, int jarg2, int jarg3, int jarg4) { + double jresult ; + Surface *arg1 = 0 ; + FuelLifeState::FuelLifeStateEnum arg2 ; + int arg3 ; + FractionUnits::FractionUnitsEnum arg4 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (FuelLifeState::FuelLifeStateEnum)jarg2; + arg3 = (int)jarg3; + arg4 = (FractionUnits::FractionUnitsEnum)jarg4; + result = (double)((Surface const *)arg1)->getChaparralMoisture(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralTotalDeadFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralTotalDeadFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Surface_getChaparralTotalLiveFuelLoad(void * jarg1, int jarg2) { + double jresult ; + Surface *arg1 = 0 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (Surface *)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)((Surface const *)arg1)->getChaparralTotalLiveFuelLoad(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_Surface(void * jarg1) { + Surface *arg1 = 0 ; + + arg1 = (Surface *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_FireType() { + void * jresult ; + FireType *result = 0 ; + + result = (FireType *)new FireType(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_FireType(void * jarg1) { + FireType *arg1 = 0 ; + + arg1 = (FireType *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_Crown__SWIG_0(void * jarg1) { + void * jresult ; + FuelModels *arg1 = 0 ; + Crown *result = 0 ; + + arg1 = (FuelModels *)jarg1; + if (!arg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "FuelModels & is null", 0); + return 0; + } + result = (Crown *)new Crown(*arg1); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_Crown(void * jarg1) { + Crown *arg1 = 0 ; + + arg1 = (Crown *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_Crown__SWIG_1(void * jarg1) { + void * jresult ; + Crown *arg1 = 0 ; + Crown *result = 0 ; + + arg1 = (Crown *)jarg1; + if (!arg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Crown const & is null", 0); + return 0; + } + result = (Crown *)new Crown((Crown const &)*arg1); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_doCrownRunRothermel(void * jarg1) { + Crown *arg1 = 0 ; + + arg1 = (Crown *)jarg1; + (arg1)->doCrownRunRothermel(); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_doCrownRunScottAndReinhardt(void * jarg1) { + Crown *arg1 = 0 ; + + arg1 = (Crown *)jarg1; + (arg1)->doCrownRunScottAndReinhardt(); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_initializeMembers(void * jarg1) { + Crown *arg1 = 0 ; + + arg1 = (Crown *)jarg1; + (arg1)->initializeMembers(); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setFuelModels(void * jarg1, void * jarg2) { + Crown *arg1 = 0 ; + FuelModels *arg2 = 0 ; + + arg1 = (Crown *)jarg1; + arg2 = (FuelModels *)jarg2; + if (!arg2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "FuelModels & is null", 0); + return ; + } + (arg1)->setFuelModels(*arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_updateCrownInputs(void * jarg1, int jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8, int jarg9, double jarg10, int jarg11, int jarg12, double jarg13, int jarg14, double jarg15, int jarg16, double jarg17, double jarg18, int jarg19, double jarg20, double jarg21, int jarg22, double jarg23, int jarg24, double jarg25, int jarg26) { + Crown *arg1 = 0 ; + int arg2 ; + double arg3 ; + double arg4 ; + double arg5 ; + double arg6 ; + double arg7 ; + double arg8 ; + FractionUnits::FractionUnitsEnum arg9 ; + double arg10 ; + SpeedUnits::SpeedUnitsEnum arg11 ; + WindHeightInputMode::WindHeightInputModeEnum arg12 ; + double arg13 ; + WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum arg14 ; + double arg15 ; + SlopeUnits::SlopeUnitsEnum arg16 ; + double arg17 ; + double arg18 ; + FractionUnits::FractionUnitsEnum arg19 ; + double arg20 ; + double arg21 ; + LengthUnits::LengthUnitsEnum arg22 ; + double arg23 ; + FractionUnits::FractionUnitsEnum arg24 ; + double arg25 ; + DensityUnits::DensityUnitsEnum arg26 ; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (double)jarg3; + arg4 = (double)jarg4; + arg5 = (double)jarg5; + arg6 = (double)jarg6; + arg7 = (double)jarg7; + arg8 = (double)jarg8; + arg9 = (FractionUnits::FractionUnitsEnum)jarg9; + arg10 = (double)jarg10; + arg11 = (SpeedUnits::SpeedUnitsEnum)jarg11; + arg12 = (WindHeightInputMode::WindHeightInputModeEnum)jarg12; + arg13 = (double)jarg13; + arg14 = (WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum)jarg14; + arg15 = (double)jarg15; + arg16 = (SlopeUnits::SlopeUnitsEnum)jarg16; + arg17 = (double)jarg17; + arg18 = (double)jarg18; + arg19 = (FractionUnits::FractionUnitsEnum)jarg19; + arg20 = (double)jarg20; + arg21 = (double)jarg21; + arg22 = (LengthUnits::LengthUnitsEnum)jarg22; + arg23 = (double)jarg23; + arg24 = (FractionUnits::FractionUnitsEnum)jarg24; + arg25 = (double)jarg25; + arg26 = (DensityUnits::DensityUnitsEnum)jarg26; + (arg1)->updateCrownInputs(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21,arg22,arg23,arg24,arg25,arg26); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setCanopyBaseHeight(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + LengthUnits::LengthUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (LengthUnits::LengthUnitsEnum)jarg3; + (arg1)->setCanopyBaseHeight(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setCanopyBulkDensity(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + DensityUnits::DensityUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (DensityUnits::DensityUnitsEnum)jarg3; + (arg1)->setCanopyBulkDensity(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureFoliar(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureFoliar(arg2,arg3); +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCanopyBaseHeight(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getCanopyBaseHeight(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCanopyBulkDensity(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + DensityUnits::DensityUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (DensityUnits::DensityUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getCanopyBulkDensity(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureFoliar(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getMoistureFoliar(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCrownFireSpreadRate(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getCrownFireSpreadRate(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCrownFireSpreadDistance(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Crown *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Crown const *)arg1)->getCrownFireSpreadDistance(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getSurfaceFireSpreadRate(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getSurfaceFireSpreadRate(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getSurfaceFireSpreadDistance(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Crown *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Crown const *)arg1)->getSurfaceFireSpreadDistance(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCrownFirelineIntensity(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FirelineIntensityUnits::FirelineIntensityUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FirelineIntensityUnits::FirelineIntensityUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getCrownFirelineIntensity(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCrownFlameLength(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getCrownFlameLength(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Crown_getFireType(void * jarg1) { + int jresult ; + Crown *arg1 = 0 ; + FireType::FireTypeEnum result; + + arg1 = (Crown *)jarg1; + result = (FireType::FireTypeEnum)((Crown const *)arg1)->getFireType(); + jresult = (int)result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFinalSpreadRate(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getFinalSpreadRate(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFinalHeatPerUnitArea(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getFinalHeatPerUnitArea(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFinalFirelineIntesity(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FirelineIntensityUnits::FirelineIntensityUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FirelineIntensityUnits::FirelineIntensityUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getFinalFirelineIntesity(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFinalFlameLength(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getFinalFlameLength(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCrownFireLengthToWidthRatio(void * jarg1) { + double jresult ; + Crown *arg1 = 0 ; + double result; + + arg1 = (Crown *)jarg1; + result = (double)((Crown const *)arg1)->getCrownFireLengthToWidthRatio(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCrownFireArea(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Crown *arg1 = 0 ; + AreaUnits::AreaUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (AreaUnits::AreaUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Crown const *)arg1)->getCrownFireArea(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCrownFirePerimeter(void * jarg1, int jarg2, double jarg3, int jarg4) { + double jresult ; + Crown *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double arg3 ; + TimeUnits::TimeUnitsEnum arg4 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + arg3 = (double)jarg3; + arg4 = (TimeUnits::TimeUnitsEnum)jarg4; + result = (double)((Crown const *)arg1)->getCrownFirePerimeter(arg2,arg3,arg4); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCriticalOpenWindSpeed(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getCriticalOpenWindSpeed(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCrownFractionBurned(void * jarg1) { + double jresult ; + Crown *arg1 = 0 ; + double result; + + arg1 = (Crown *)jarg1; + result = (double)((Crown const *)arg1)->getCrownFractionBurned(); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelCode(void * jarg1, int jarg2) { + void * jresult ; + Crown *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = ((Crown const *)arg1)->getFuelCode(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelName(void * jarg1, int jarg2) { + void * jresult ; + Crown *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = ((Crown const *)arg1)->getFuelName(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelbedDepth(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + LengthUnits::LengthUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (LengthUnits::LengthUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelbedDepth(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelMoistureOfExtinctionDead(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelMoistureOfExtinctionDead(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelHeatOfCombustionDead(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelHeatOfCombustionDead(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelHeatOfCombustionLive(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelHeatOfCombustionLive(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelLoadOneHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelLoadOneHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelLoadTenHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelLoadTenHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelLoadHundredHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelLoadHundredHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelLoadLiveHerbaceous(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelLoadLiveHerbaceous(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelLoadLiveWoody(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelLoadLiveWoody(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelSavrOneHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelSavrOneHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelSavrLiveHerbaceous(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelSavrLiveHerbaceous(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelSavrLiveWoody(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg3; + result = (double)((Crown const *)arg1)->getFuelSavrLiveWoody(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Crown_isFuelDynamic(void * jarg1, int jarg2) { + unsigned int jresult ; + Crown *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = (bool)((Crown const *)arg1)->isFuelDynamic(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Crown_isFuelModelDefined(void * jarg1, int jarg2) { + unsigned int jresult ; + Crown *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = (bool)((Crown const *)arg1)->isFuelModelDefined(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Crown_isFuelModelReserved(void * jarg1, int jarg2) { + unsigned int jresult ; + Crown *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = (bool)((Crown const *)arg1)->isFuelModelReserved(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Crown_isAllFuelLoadZero(void * jarg1, int jarg2) { + unsigned int jresult ; + Crown *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = (bool)((Crown const *)arg1)->isAllFuelLoadZero(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_updateCrownsSurfaceInputs(void * jarg1, int jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, int jarg8, double jarg9, int jarg10, int jarg11, double jarg12, int jarg13, double jarg14, int jarg15, double jarg16, double jarg17, int jarg18, double jarg19, int jarg20, double jarg21, int jarg22) { + Crown *arg1 = 0 ; + int arg2 ; + double arg3 ; + double arg4 ; + double arg5 ; + double arg6 ; + double arg7 ; + FractionUnits::FractionUnitsEnum arg8 ; + double arg9 ; + SpeedUnits::SpeedUnitsEnum arg10 ; + WindHeightInputMode::WindHeightInputModeEnum arg11 ; + double arg12 ; + WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum arg13 ; + double arg14 ; + SlopeUnits::SlopeUnitsEnum arg15 ; + double arg16 ; + double arg17 ; + FractionUnits::FractionUnitsEnum arg18 ; + double arg19 ; + LengthUnits::LengthUnitsEnum arg20 ; + double arg21 ; + FractionUnits::FractionUnitsEnum arg22 ; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (double)jarg3; + arg4 = (double)jarg4; + arg5 = (double)jarg5; + arg6 = (double)jarg6; + arg7 = (double)jarg7; + arg8 = (FractionUnits::FractionUnitsEnum)jarg8; + arg9 = (double)jarg9; + arg10 = (SpeedUnits::SpeedUnitsEnum)jarg10; + arg11 = (WindHeightInputMode::WindHeightInputModeEnum)jarg11; + arg12 = (double)jarg12; + arg13 = (WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum)jarg13; + arg14 = (double)jarg14; + arg15 = (SlopeUnits::SlopeUnitsEnum)jarg15; + arg16 = (double)jarg16; + arg17 = (double)jarg17; + arg18 = (FractionUnits::FractionUnitsEnum)jarg18; + arg19 = (double)jarg19; + arg20 = (LengthUnits::LengthUnitsEnum)jarg20; + arg21 = (double)jarg21; + arg22 = (FractionUnits::FractionUnitsEnum)jarg22; + (arg1)->updateCrownsSurfaceInputs(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21,arg22); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setCanopyCover(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setCanopyCover(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setCanopyHeight(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + LengthUnits::LengthUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (LengthUnits::LengthUnitsEnum)jarg3; + (arg1)->setCanopyHeight(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setCrownRatio(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setCrownRatio(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setFuelModelNumber(void * jarg1, int jarg2) { + Crown *arg1 = 0 ; + int arg2 ; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + (arg1)->setFuelModelNumber(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureOneHour(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureOneHour(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureTenHour(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureTenHour(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureHundredHour(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureHundredHour(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureDeadAggregate(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureDeadAggregate(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureLiveHerbaceous(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureLiveHerbaceous(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureLiveWoody(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureLiveWoody(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureLiveAggregate(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + (arg1)->setMoistureLiveAggregate(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureScenarios(void * jarg1, void * jarg2) { + Crown *arg1 = 0 ; + MoistureScenarios *arg2 = 0 ; + + arg1 = (Crown *)jarg1; + arg2 = (MoistureScenarios *)jarg2; + if (!arg2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "MoistureScenarios & is null", 0); + return ; + } + (arg1)->setMoistureScenarios(*arg2); +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Crown_setCurrentMoistureScenarioByName(void * jarg1, void * jarg2) { + unsigned int jresult ; + Crown *arg1 = 0 ; + std::string arg2 ; + std::string *argp2 ; + bool result; + + arg1 = (Crown *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + result = (bool)(arg1)->setCurrentMoistureScenarioByName(SWIG_STD_MOVE(arg2)); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Crown_setCurrentMoistureScenarioByIndex(void * jarg1, int jarg2) { + unsigned int jresult ; + Crown *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = (bool)(arg1)->setCurrentMoistureScenarioByIndex(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setMoistureInputMode(void * jarg1, int jarg2) { + Crown *arg1 = 0 ; + MoistureInputMode::MoistureInputModeEnum arg2 ; + + arg1 = (Crown *)jarg1; + arg2 = (MoistureInputMode::MoistureInputModeEnum)jarg2; + (arg1)->setMoistureInputMode(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setSlope(void * jarg1, double jarg2, int jarg3) { + Crown *arg1 = 0 ; + double arg2 ; + SlopeUnits::SlopeUnitsEnum arg3 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (SlopeUnits::SlopeUnitsEnum)jarg3; + (arg1)->setSlope(arg2,arg3); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setAspect(void * jarg1, double jarg2) { + Crown *arg1 = 0 ; + double arg2 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + (arg1)->setAspect(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setWindSpeed(void * jarg1, double jarg2, int jarg3, int jarg4) { + Crown *arg1 = 0 ; + double arg2 ; + SpeedUnits::SpeedUnitsEnum arg3 ; + WindHeightInputMode::WindHeightInputModeEnum arg4 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + arg3 = (SpeedUnits::SpeedUnitsEnum)jarg3; + arg4 = (WindHeightInputMode::WindHeightInputModeEnum)jarg4; + (arg1)->setWindSpeed(arg2,arg3,arg4); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setWindDirection(void * jarg1, double jarg2) { + Crown *arg1 = 0 ; + double arg2 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + (arg1)->setWindDirection(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setWindHeightInputMode(void * jarg1, int jarg2) { + Crown *arg1 = 0 ; + WindHeightInputMode::WindHeightInputModeEnum arg2 ; + + arg1 = (Crown *)jarg1; + arg2 = (WindHeightInputMode::WindHeightInputModeEnum)jarg2; + (arg1)->setWindHeightInputMode(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setWindAndSpreadOrientationMode(void * jarg1, int jarg2) { + Crown *arg1 = 0 ; + WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum arg2 ; + + arg1 = (Crown *)jarg1; + arg2 = (WindAndSpreadOrientationMode::WindAndSpreadOrientationModeEnum)jarg2; + (arg1)->setWindAndSpreadOrientationMode(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setUserProvidedWindAdjustmentFactor(void * jarg1, double jarg2) { + Crown *arg1 = 0 ; + double arg2 ; + + arg1 = (Crown *)jarg1; + arg2 = (double)jarg2; + (arg1)->setUserProvidedWindAdjustmentFactor(arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_Crown_setWindAdjustmentFactorCalculationMethod(void * jarg1, int jarg2) { + Crown *arg1 = 0 ; + WindAdjustmentFactorCalculationMethod::WindAdjustmentFactorCalculationMethodEnum arg2 ; + + arg1 = (Crown *)jarg1; + arg2 = (WindAdjustmentFactorCalculationMethod::WindAdjustmentFactorCalculationMethodEnum)jarg2; + (arg1)->setWindAdjustmentFactorCalculationMethod(arg2); +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getDirectionOfMaxSpread(void * jarg1) { + double jresult ; + Crown *arg1 = 0 ; + double result; + + arg1 = (Crown *)jarg1; + result = (double)(arg1)->getDirectionOfMaxSpread(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getFireEccentricity(void * jarg1) { + double jresult ; + Crown *arg1 = 0 ; + double result; + + arg1 = (Crown *)jarg1; + result = (double)(arg1)->getFireEccentricity(); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Crown_getFuelModelNumber(void * jarg1) { + int jresult ; + Crown *arg1 = 0 ; + int result; + + arg1 = (Crown *)jarg1; + result = (int)((Crown const *)arg1)->getFuelModelNumber(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureOneHour(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getMoistureOneHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureTenHour(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getMoistureTenHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureHundredHour(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getMoistureHundredHour(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureLiveHerbaceous(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getMoistureLiveHerbaceous(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureLiveWoody(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getMoistureLiveWoody(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Crown_getNumberOfMoistureScenarios(void * jarg1) { + int jresult ; + Crown *arg1 = 0 ; + int result; + + arg1 = (Crown *)jarg1; + result = (int)(arg1)->getNumberOfMoistureScenarios(); + jresult = result; + return jresult; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioIndexByName(void * jarg1, void * jarg2) { + int jresult ; + Crown *arg1 = 0 ; + std::string arg2 ; + std::string *argp2 ; + int result; + + arg1 = (Crown *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + result = (int)(arg1)->getMoistureScenarioIndexByName(SWIG_STD_MOVE(arg2)); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Crown_getIsMoistureScenarioDefinedByName(void * jarg1, void * jarg2) { + unsigned int jresult ; + Crown *arg1 = 0 ; + std::string arg2 ; + std::string *argp2 ; + bool result; + + arg1 = (Crown *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + result = (bool)(arg1)->getIsMoistureScenarioDefinedByName(SWIG_STD_MOVE(arg2)); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioDescriptionByName(void * jarg1, void * jarg2) { + void * jresult ; + Crown *arg1 = 0 ; + std::string arg2 ; + std::string *argp2 ; + std::string result; + + arg1 = (Crown *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + result = (arg1)->getMoistureScenarioDescriptionByName(SWIG_STD_MOVE(arg2)); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioOneHourByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Crown *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioOneHourByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioTenHourByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Crown *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioTenHourByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioHundredHourByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Crown *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioHundredHourByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioLiveHerbaceousByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Crown *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioLiveHerbaceousByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioLiveWoodyByName(void * jarg1, void * jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + std::string arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + std::string *argp2 ; + double result; + + arg1 = (Crown *)jarg1; + argp2 = (std::string *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg2 = *argp2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioLiveWoodyByName(SWIG_STD_MOVE(arg2),arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_Crown_getIsMoistureScenarioDefinedByIndex(void * jarg1, int jarg2) { + unsigned int jresult ; + Crown *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = (bool)(arg1)->getIsMoistureScenarioDefinedByIndex(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioNameByIndex(void * jarg1, int jarg2) { + void * jresult ; + Crown *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = (arg1)->getMoistureScenarioNameByIndex(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioDescriptionByIndex(void * jarg1, int jarg2) { + void * jresult ; + Crown *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + result = (arg1)->getMoistureScenarioDescriptionByIndex(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioOneHourByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioOneHourByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioTenHourByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioTenHourByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioHundredHourByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioHundredHourByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioLiveHerbaceousByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioLiveHerbaceousByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getMoistureScenarioLiveWoodyByIndex(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)(arg1)->getMoistureScenarioLiveWoodyByIndex(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getWindSpeed(void * jarg1, int jarg2, int jarg3) { + double jresult ; + Crown *arg1 = 0 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + WindHeightInputMode::WindHeightInputModeEnum arg3 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + arg3 = (WindHeightInputMode::WindHeightInputModeEnum)jarg3; + result = (double)((Crown const *)arg1)->getWindSpeed(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getWindDirection(void * jarg1) { + double jresult ; + Crown *arg1 = 0 ; + double result; + + arg1 = (Crown *)jarg1; + result = (double)((Crown const *)arg1)->getWindDirection(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getSlope(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + SlopeUnits::SlopeUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (SlopeUnits::SlopeUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getSlope(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getAspect(void * jarg1) { + double jresult ; + Crown *arg1 = 0 ; + double result; + + arg1 = (Crown *)jarg1; + result = (double)((Crown const *)arg1)->getAspect(); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCanopyCover(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getCanopyCover(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCanopyHeight(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getCanopyHeight(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_Crown_getCrownRatio(void * jarg1, int jarg2) { + double jresult ; + Crown *arg1 = 0 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (Crown *)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)((Crown const *)arg1)->getCrownRatio(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_FuelModels__SWIG_0() { + void * jresult ; + FuelModels *result = 0 ; + + result = (FuelModels *)new FuelModels(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_FuelModels__SWIG_1(void * jarg1) { + void * jresult ; + FuelModels *arg1 = 0 ; + FuelModels *result = 0 ; + + arg1 = (FuelModels *)jarg1; + if (!arg1) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "FuelModels const & is null", 0); + return 0; + } + result = (FuelModels *)new FuelModels((FuelModels const &)*arg1); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_FuelModels(void * jarg1) { + FuelModels *arg1 = 0 ; + + arg1 = (FuelModels *)jarg1; + delete arg1; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_FuelModels_setCustomFuelModel(void * jarg1, int jarg2, void * jarg3, void * jarg4, double jarg5, int jarg6, double jarg7, int jarg8, double jarg9, double jarg10, int jarg11, double jarg12, double jarg13, double jarg14, double jarg15, double jarg16, int jarg17, double jarg18, double jarg19, double jarg20, int jarg21, unsigned int jarg22) { + unsigned int jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + std::string arg3 ; + std::string arg4 ; + double arg5 ; + LengthUnits::LengthUnitsEnum arg6 ; + double arg7 ; + FractionUnits::FractionUnitsEnum arg8 ; + double arg9 ; + double arg10 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg11 ; + double arg12 ; + double arg13 ; + double arg14 ; + double arg15 ; + double arg16 ; + LoadingUnits::LoadingUnitsEnum arg17 ; + double arg18 ; + double arg19 ; + double arg20 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg21 ; + bool arg22 ; + std::string *argp3 ; + std::string *argp4 ; + bool result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + argp3 = (std::string *)jarg3; + if (!argp3) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg3 = *argp3; + argp4 = (std::string *)jarg4; + if (!argp4) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null std::string", 0); + return 0; + } + arg4 = *argp4; + arg5 = (double)jarg5; + arg6 = (LengthUnits::LengthUnitsEnum)jarg6; + arg7 = (double)jarg7; + arg8 = (FractionUnits::FractionUnitsEnum)jarg8; + arg9 = (double)jarg9; + arg10 = (double)jarg10; + arg11 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg11; + arg12 = (double)jarg12; + arg13 = (double)jarg13; + arg14 = (double)jarg14; + arg15 = (double)jarg15; + arg16 = (double)jarg16; + arg17 = (LoadingUnits::LoadingUnitsEnum)jarg17; + arg18 = (double)jarg18; + arg19 = (double)jarg19; + arg20 = (double)jarg20; + arg21 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg21; + arg22 = jarg22 ? true : false; + result = (bool)(arg1)->setCustomFuelModel(arg2,SWIG_STD_MOVE(arg3),SWIG_STD_MOVE(arg4),arg5,arg6,arg7,arg8,arg9,arg10,arg11,arg12,arg13,arg14,arg15,arg16,arg17,arg18,arg19,arg20,arg21,arg22); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_FuelModels_clearCustomFuelModel(void * jarg1, int jarg2) { + unsigned int jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + result = (bool)(arg1)->clearCustomFuelModel(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_FuelModels_getFuelCode(void * jarg1, int jarg2) { + void * jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + result = ((FuelModels const *)arg1)->getFuelCode(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_FuelModels_getFuelName(void * jarg1, int jarg2) { + void * jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + std::string result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + result = ((FuelModels const *)arg1)->getFuelName(arg2); + jresult = new std::string(result); + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getFuelbedDepth(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + LengthUnits::LengthUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (LengthUnits::LengthUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getFuelbedDepth(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getMoistureOfExtinctionDead(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + FractionUnits::FractionUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (FractionUnits::FractionUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getMoistureOfExtinctionDead(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getHeatOfCombustionDead(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getHeatOfCombustionDead(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getHeatOfCombustionLive(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getHeatOfCombustionLive(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getFuelLoadOneHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getFuelLoadOneHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getFuelLoadTenHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getFuelLoadTenHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getFuelLoadHundredHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getFuelLoadHundredHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getFuelLoadLiveHerbaceous(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getFuelLoadLiveHerbaceous(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getFuelLoadLiveWoody(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + LoadingUnits::LoadingUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (LoadingUnits::LoadingUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getFuelLoadLiveWoody(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getSavrOneHour(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getSavrOneHour(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getSavrLiveHerbaceous(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getSavrLiveHerbaceous(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FuelModels_getSavrLiveWoody(void * jarg1, int jarg2, int jarg3) { + double jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg3 ; + double result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + arg3 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg3; + result = (double)((FuelModels const *)arg1)->getSavrLiveWoody(arg2,arg3); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_FuelModels_getIsDynamic(void * jarg1, int jarg2) { + unsigned int jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + result = (bool)((FuelModels const *)arg1)->getIsDynamic(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_FuelModels_isFuelModelDefined(void * jarg1, int jarg2) { + unsigned int jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + result = (bool)((FuelModels const *)arg1)->isFuelModelDefined(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_FuelModels_isFuelModelReserved(void * jarg1, int jarg2) { + unsigned int jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + result = (bool)((FuelModels const *)arg1)->isFuelModelReserved(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT unsigned int SWIGSTDCALL CSharp_BehaveCore_FuelModels_isAllFuelLoadZero(void * jarg1, int jarg2) { + unsigned int jresult ; + FuelModels *arg1 = 0 ; + int arg2 ; + bool result; + + arg1 = (FuelModels *)jarg1; + arg2 = (int)jarg2; + result = (bool)((FuelModels const *)arg1)->isAllFuelLoadZero(arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_MoistureClassInput() { + void * jresult ; + MoistureClassInput *result = 0 ; + + result = (MoistureClassInput *)new MoistureClassInput(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_MoistureClassInput(void * jarg1) { + MoistureClassInput *arg1 = 0 ; + + arg1 = (MoistureClassInput *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_AspenFireSeverity() { + void * jresult ; + AspenFireSeverity *result = 0 ; + + result = (AspenFireSeverity *)new AspenFireSeverity(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_AspenFireSeverity(void * jarg1) { + AspenFireSeverity *arg1 = 0 ; + + arg1 = (AspenFireSeverity *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_WindAdjustmentFactorShelterMethod() { + void * jresult ; + WindAdjustmentFactorShelterMethod *result = 0 ; + + result = (WindAdjustmentFactorShelterMethod *)new WindAdjustmentFactorShelterMethod(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_WindAdjustmentFactorShelterMethod(void * jarg1) { + WindAdjustmentFactorShelterMethod *arg1 = 0 ; + + arg1 = (WindAdjustmentFactorShelterMethod *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_WindAdjustmentFactorCalculationMethod() { + void * jresult ; + WindAdjustmentFactorCalculationMethod *result = 0 ; + + result = (WindAdjustmentFactorCalculationMethod *)new WindAdjustmentFactorCalculationMethod(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_WindAdjustmentFactorCalculationMethod(void * jarg1) { + WindAdjustmentFactorCalculationMethod *arg1 = 0 ; + + arg1 = (WindAdjustmentFactorCalculationMethod *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_WindHeightInputMode() { + void * jresult ; + WindHeightInputMode *result = 0 ; + + result = (WindHeightInputMode *)new WindHeightInputMode(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_WindHeightInputMode(void * jarg1) { + WindHeightInputMode *arg1 = 0 ; + + arg1 = (WindHeightInputMode *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_WindAndSpreadOrientationMode() { + void * jresult ; + WindAndSpreadOrientationMode *result = 0 ; + + result = (WindAndSpreadOrientationMode *)new WindAndSpreadOrientationMode(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_WindAndSpreadOrientationMode(void * jarg1) { + WindAndSpreadOrientationMode *arg1 = 0 ; + + arg1 = (WindAndSpreadOrientationMode *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_FuelLifeState() { + void * jresult ; + FuelLifeState *result = 0 ; + + result = (FuelLifeState *)new FuelLifeState(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_FuelLifeState(void * jarg1) { + FuelLifeState *arg1 = 0 ; + + arg1 = (FuelLifeState *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_FuelConstants() { + void * jresult ; + FuelConstants *result = 0 ; + + result = (FuelConstants *)new FuelConstants(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_FuelConstants(void * jarg1) { + FuelConstants *arg1 = 0 ; + + arg1 = (FuelConstants *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_SurfaceFireSpreadDirectionMode() { + void * jresult ; + SurfaceFireSpreadDirectionMode *result = 0 ; + + result = (SurfaceFireSpreadDirectionMode *)new SurfaceFireSpreadDirectionMode(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_SurfaceFireSpreadDirectionMode(void * jarg1) { + SurfaceFireSpreadDirectionMode *arg1 = 0 ; + + arg1 = (SurfaceFireSpreadDirectionMode *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_TwoFuelModelsMethod() { + void * jresult ; + TwoFuelModelsMethod *result = 0 ; + + result = (TwoFuelModelsMethod *)new TwoFuelModelsMethod(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_TwoFuelModelsMethod(void * jarg1) { + TwoFuelModelsMethod *arg1 = 0 ; + + arg1 = (TwoFuelModelsMethod *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_TwoFuelModelsContants() { + void * jresult ; + TwoFuelModelsContants *result = 0 ; + + result = (TwoFuelModelsContants *)new TwoFuelModelsContants(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_TwoFuelModelsContants(void * jarg1) { + TwoFuelModelsContants *arg1 = 0 ; + + arg1 = (TwoFuelModelsContants *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_MoistureInputMode() { + void * jresult ; + MoistureInputMode *result = 0 ; + + result = (MoistureInputMode *)new MoistureInputMode(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_MoistureInputMode(void * jarg1) { + MoistureInputMode *arg1 = 0 ; + + arg1 = (MoistureInputMode *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_ChaparralFuelType() { + void * jresult ; + ChaparralFuelType *result = 0 ; + + result = (ChaparralFuelType *)new ChaparralFuelType(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_ChaparralFuelType(void * jarg1) { + ChaparralFuelType *arg1 = 0 ; + + arg1 = (ChaparralFuelType *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_ChaparralContants() { + void * jresult ; + ChaparralContants *result = 0 ; + + result = (ChaparralContants *)new ChaparralContants(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_ChaparralContants(void * jarg1) { + ChaparralContants *arg1 = 0 ; + + arg1 = (ChaparralContants *)jarg1; + delete arg1; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_ChaparralFuelLoadInputMode() { + void * jresult ; + ChaparralFuelLoadInputMode *result = 0 ; + + result = (ChaparralFuelLoadInputMode *)new ChaparralFuelLoadInputMode(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_ChaparralFuelLoadInputMode(void * jarg1) { + ChaparralFuelLoadInputMode *arg1 = 0 ; + + arg1 = (ChaparralFuelLoadInputMode *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_AreaUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + AreaUnits::AreaUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (AreaUnits::AreaUnitsEnum)jarg2; + result = (double)AreaUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_AreaUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + AreaUnits::AreaUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (AreaUnits::AreaUnitsEnum)jarg2; + result = (double)AreaUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_AreaUnits() { + void * jresult ; + AreaUnits *result = 0 ; + + result = (AreaUnits *)new AreaUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_AreaUnits(void * jarg1) { + AreaUnits *arg1 = 0 ; + + arg1 = (AreaUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_BasalAreaUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + BasalAreaUnits::BasalAreaUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (BasalAreaUnits::BasalAreaUnitsEnum)jarg2; + result = (double)BasalAreaUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_BasalAreaUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + BasalAreaUnits::BasalAreaUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (BasalAreaUnits::BasalAreaUnitsEnum)jarg2; + result = (double)BasalAreaUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_BasalAreaUnits() { + void * jresult ; + BasalAreaUnits *result = 0 ; + + result = (BasalAreaUnits *)new BasalAreaUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_BasalAreaUnits(void * jarg1) { + BasalAreaUnits *arg1 = 0 ; + + arg1 = (BasalAreaUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_LengthUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)LengthUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_LengthUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + LengthUnits::LengthUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (LengthUnits::LengthUnitsEnum)jarg2; + result = (double)LengthUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_LengthUnits() { + void * jresult ; + LengthUnits *result = 0 ; + + result = (LengthUnits *)new LengthUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_LengthUnits(void * jarg1) { + LengthUnits *arg1 = 0 ; + + arg1 = (LengthUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_LoadingUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)LoadingUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_LoadingUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + LoadingUnits::LoadingUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (LoadingUnits::LoadingUnitsEnum)jarg2; + result = (double)LoadingUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_LoadingUnits() { + void * jresult ; + LoadingUnits *result = 0 ; + + result = (LoadingUnits *)new LoadingUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_LoadingUnits(void * jarg1) { + LoadingUnits *arg1 = 0 ; + + arg1 = (LoadingUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_PressureUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + PressureUnits::PressureUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (PressureUnits::PressureUnitsEnum)jarg2; + result = (double)PressureUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_PressureUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + PressureUnits::PressureUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (PressureUnits::PressureUnitsEnum)jarg2; + result = (double)PressureUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_PressureUnits() { + void * jresult ; + PressureUnits *result = 0 ; + + result = (PressureUnits *)new PressureUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_PressureUnits(void * jarg1) { + PressureUnits *arg1 = 0 ; + + arg1 = (PressureUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_SurfaceAreaToVolumeUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg2; + result = (double)SurfaceAreaToVolumeUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_SurfaceAreaToVolumeUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (SurfaceAreaToVolumeUnits::SurfaceAreaToVolumeUnitsEnum)jarg2; + result = (double)SurfaceAreaToVolumeUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_SurfaceAreaToVolumeUnits() { + void * jresult ; + SurfaceAreaToVolumeUnits *result = 0 ; + + result = (SurfaceAreaToVolumeUnits *)new SurfaceAreaToVolumeUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_SurfaceAreaToVolumeUnits(void * jarg1) { + SurfaceAreaToVolumeUnits *arg1 = 0 ; + + arg1 = (SurfaceAreaToVolumeUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_SpeedUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)SpeedUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_SpeedUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + SpeedUnits::SpeedUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (SpeedUnits::SpeedUnitsEnum)jarg2; + result = (double)SpeedUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_SpeedUnits() { + void * jresult ; + SpeedUnits *result = 0 ; + + result = (SpeedUnits *)new SpeedUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_SpeedUnits(void * jarg1) { + SpeedUnits *arg1 = 0 ; + + arg1 = (SpeedUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FractionUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)FractionUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FractionUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + FractionUnits::FractionUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (FractionUnits::FractionUnitsEnum)jarg2; + result = (double)FractionUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_FractionUnits() { + void * jresult ; + FractionUnits *result = 0 ; + + result = (FractionUnits *)new FractionUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_FractionUnits(void * jarg1) { + FractionUnits *arg1 = 0 ; + + arg1 = (FractionUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_SlopeUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + SlopeUnits::SlopeUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (SlopeUnits::SlopeUnitsEnum)jarg2; + result = (double)SlopeUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_SlopeUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + SlopeUnits::SlopeUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (SlopeUnits::SlopeUnitsEnum)jarg2; + result = (double)SlopeUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_SlopeUnits() { + void * jresult ; + SlopeUnits *result = 0 ; + + result = (SlopeUnits *)new SlopeUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_SlopeUnits(void * jarg1) { + SlopeUnits *arg1 = 0 ; + + arg1 = (SlopeUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_DensityUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + DensityUnits::DensityUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (DensityUnits::DensityUnitsEnum)jarg2; + result = (double)DensityUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_DensityUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + DensityUnits::DensityUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (DensityUnits::DensityUnitsEnum)jarg2; + result = (double)DensityUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_DensityUnits() { + void * jresult ; + DensityUnits *result = 0 ; + + result = (DensityUnits *)new DensityUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_DensityUnits(void * jarg1) { + DensityUnits *arg1 = 0 ; + + arg1 = (DensityUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_HeatOfCombustionUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg2; + result = (double)HeatOfCombustionUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_HeatOfCombustionUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + HeatOfCombustionUnits::HeatOfCombustionUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (HeatOfCombustionUnits::HeatOfCombustionUnitsEnum)jarg2; + result = (double)HeatOfCombustionUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_HeatOfCombustionUnits() { + void * jresult ; + HeatOfCombustionUnits *result = 0 ; + + result = (HeatOfCombustionUnits *)new HeatOfCombustionUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_HeatOfCombustionUnits(void * jarg1) { + HeatOfCombustionUnits *arg1 = 0 ; + + arg1 = (HeatOfCombustionUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_HeatSinkUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + HeatSinkUnits::HeatSinkUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (HeatSinkUnits::HeatSinkUnitsEnum)jarg2; + result = (double)HeatSinkUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_HeatSinkUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + HeatSinkUnits::HeatSinkUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (HeatSinkUnits::HeatSinkUnitsEnum)jarg2; + result = (double)HeatSinkUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_HeatSinkUnits() { + void * jresult ; + HeatSinkUnits *result = 0 ; + + result = (HeatSinkUnits *)new HeatSinkUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_HeatSinkUnits(void * jarg1) { + HeatSinkUnits *arg1 = 0 ; + + arg1 = (HeatSinkUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_HeatPerUnitAreaUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum)jarg2; + result = (double)HeatPerUnitAreaUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_HeatPerUnitAreaUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (HeatPerUnitAreaUnits::HeatPerUnitAreaUnitsEnum)jarg2; + result = (double)HeatPerUnitAreaUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_HeatPerUnitAreaUnits() { + void * jresult ; + HeatPerUnitAreaUnits *result = 0 ; + + result = (HeatPerUnitAreaUnits *)new HeatPerUnitAreaUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_HeatPerUnitAreaUnits(void * jarg1) { + HeatPerUnitAreaUnits *arg1 = 0 ; + + arg1 = (HeatPerUnitAreaUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_HeatSourceAndReactionIntensityUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + HeatSourceAndReactionIntensityUnits::HeatSourceAndReactionIntensityUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (HeatSourceAndReactionIntensityUnits::HeatSourceAndReactionIntensityUnitsEnum)jarg2; + result = (double)HeatSourceAndReactionIntensityUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_HeatSourceAndReactionIntensityUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + HeatSourceAndReactionIntensityUnits::HeatSourceAndReactionIntensityUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (HeatSourceAndReactionIntensityUnits::HeatSourceAndReactionIntensityUnitsEnum)jarg2; + result = (double)HeatSourceAndReactionIntensityUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_HeatSourceAndReactionIntensityUnits() { + void * jresult ; + HeatSourceAndReactionIntensityUnits *result = 0 ; + + result = (HeatSourceAndReactionIntensityUnits *)new HeatSourceAndReactionIntensityUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_HeatSourceAndReactionIntensityUnits(void * jarg1) { + HeatSourceAndReactionIntensityUnits *arg1 = 0 ; + + arg1 = (HeatSourceAndReactionIntensityUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FirelineIntensityUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + FirelineIntensityUnits::FirelineIntensityUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (FirelineIntensityUnits::FirelineIntensityUnitsEnum)jarg2; + result = (double)FirelineIntensityUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_FirelineIntensityUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + FirelineIntensityUnits::FirelineIntensityUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (FirelineIntensityUnits::FirelineIntensityUnitsEnum)jarg2; + result = (double)FirelineIntensityUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_FirelineIntensityUnits() { + void * jresult ; + FirelineIntensityUnits *result = 0 ; + + result = (FirelineIntensityUnits *)new FirelineIntensityUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_FirelineIntensityUnits(void * jarg1) { + FirelineIntensityUnits *arg1 = 0 ; + + arg1 = (FirelineIntensityUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_TemperatureUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + TemperatureUnits::TemperatureUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (TemperatureUnits::TemperatureUnitsEnum)jarg2; + result = (double)TemperatureUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_TemperatureUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + TemperatureUnits::TemperatureUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (TemperatureUnits::TemperatureUnitsEnum)jarg2; + result = (double)TemperatureUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_TemperatureUnits() { + void * jresult ; + TemperatureUnits *result = 0 ; + + result = (TemperatureUnits *)new TemperatureUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_TemperatureUnits(void * jarg1) { + TemperatureUnits *arg1 = 0 ; + + arg1 = (TemperatureUnits *)jarg1; + delete arg1; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_TimeUnits_toBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + TimeUnits::TimeUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (TimeUnits::TimeUnitsEnum)jarg2; + result = (double)TimeUnits::toBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT double SWIGSTDCALL CSharp_BehaveCore_TimeUnits_fromBaseUnits(double jarg1, int jarg2) { + double jresult ; + double arg1 ; + TimeUnits::TimeUnitsEnum arg2 ; + double result; + + arg1 = (double)jarg1; + arg2 = (TimeUnits::TimeUnitsEnum)jarg2; + result = (double)TimeUnits::fromBaseUnits(arg1,arg2); + jresult = result; + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_BehaveCore_new_TimeUnits() { + void * jresult ; + TimeUnits *result = 0 ; + + result = (TimeUnits *)new TimeUnits(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_BehaveCore_delete_TimeUnits(void * jarg1) { + TimeUnits *arg1 = 0 ; + + arg1 = (TimeUnits *)jarg1; + delete arg1; +} + + +#ifdef __cplusplus +} +#endif +