8class Flux :
public wxObject {
35 void LinkChangeRate(
double* rate) {
39 double* GetChangeRatePointer() {
43 double* GetAmountPointer() {
47 virtual bool IsForcing() {
51 virtual bool IsInstantaneous() {
63 bool NeedsWeighting() {
64 return m_needsWeighting;
67 void NeedsWeighting(
bool value) {
68 m_needsWeighting = value;
71 void SetFractionUnitArea(
double value) {
72 m_fractionUnitArea = value;
73 UpdateFractionTotal();
76 void SetFractionLandCover(
double value) {
77 m_fractionLandCover = value;
78 UpdateFractionTotal();
81 void UpdateFractionTotal() {
82 m_fractionTotal = m_fractionUnitArea * m_fractionLandCover;
89 void SetType(
const string& type) {
97 bool m_needsWeighting;
98 double m_fractionUnitArea;
99 double m_fractionLandCover;
100 double m_fractionTotal;