Record Class AMPSomFunctions.SOMParameters
java.lang.Object
java.lang.Record
net.simplace.sim.components.experimental.som.AMPSomFunctions.SOMParameters
- Enclosing class:
- AMPSomFunctions
public static record AMPSomFunctions.SOMParameters(double VPom, double VDom, double VNecro, double KMicPerc, double MicDom, double CN12FreeMicrob, double Cue, double Nue, Double[] TempFactor1, Double[] TempFactor2, Double[] SwcFactor, Double[] KPom, Double[] KDom, Double[] KNecro, Double[] VAdsDom, Double[] VAdsNecro, Double[] KAdsDom, Double[] KAdsNecro, Double[] KDesDom, Double[] KDesNecro, Double[] SoilLayerDepth, Double[] DbAdjacentMean, Double[] DbDz, Double[] R12DeadRootsInput, Double[] R14DeadRootsInput, Double[] NDeadRootsInput, Double[] R12RhizoDepositionInput, Double[] R14RhizoDepositionInput, Double[] NRhizoDepositionInput, Double[] dNDomFlow, Double[] dC12DomFlow, Double[] dC14DomFlow, Double[] dNMinExternal, Double[] C12DomRateFromLitter, Double[] C14DomRateFromLitter, Double[] NDomRateFromLitter, Double[] C12PomRateFromLitter, Double[] C14PomRateFromLitter, Double[] NPomRateFromLitter)
extends Record
Record that holds the parameters for the rate function in a "human readable" form
-
Constructor Summary
ConstructorsConstructorDescriptionSOMParameters(double VPom, double VDom, double VNecro, double KMicPerc, double MicDom, double CN12FreeMicrob, double Cue, double Nue, Double[] TempFactor1, Double[] TempFactor2, Double[] SwcFactor, Double[] KPom, Double[] KDom, Double[] KNecro, Double[] VAdsDom, Double[] VAdsNecro, Double[] KAdsDom, Double[] KAdsNecro, Double[] KDesDom, Double[] KDesNecro, Double[] SoilLayerDepth, Double[] DbAdjacentMean, Double[] DbDz, Double[] R12DeadRootsInput, Double[] R14DeadRootsInput, Double[] NDeadRootsInput, Double[] R12RhizoDepositionInput, Double[] R14RhizoDepositionInput, Double[] NRhizoDepositionInput, Double[] dNDomFlow, Double[] dC12DomFlow, Double[] dC14DomFlow, Double[] dNMinExternal, Double[] C12DomRateFromLitter, Double[] C14DomRateFromLitter, Double[] NDomRateFromLitter, Double[] C12PomRateFromLitter, Double[] C14PomRateFromLitter, Double[] NPomRateFromLitter) Creates an instance of aSOMParametersrecord class. -
Method Summary
Modifier and TypeMethodDescriptionDouble[]Returns the value of theC12DomRateFromLitterrecord component.Double[]Returns the value of theC12PomRateFromLitterrecord component.Double[]Returns the value of theC14DomRateFromLitterrecord component.Double[]Returns the value of theC14PomRateFromLitterrecord component.doubleReturns the value of theCN12FreeMicrobrecord component.doubleCue()Returns the value of theCuerecord component.Double[]Returns the value of theDbAdjacentMeanrecord component.Double[]DbDz()Returns the value of theDbDzrecord component.Double[]Returns the value of thedC12DomFlowrecord component.Double[]Returns the value of thedC14DomFlowrecord component.Double[]Returns the value of thedNDomFlowrecord component.Double[]Returns the value of thedNMinExternalrecord component.final booleanIndicates whether some other object is "equal to" this one.Creates the record from an arrayfinal inthashCode()Returns a hash code value for this object.Double[]KAdsDom()Returns the value of theKAdsDomrecord component.Double[]Returns the value of theKAdsNecrorecord component.Double[]KDesDom()Returns the value of theKDesDomrecord component.Double[]Returns the value of theKDesNecrorecord component.Double[]KDom()Returns the value of theKDomrecord component.doubleKMicPerc()Returns the value of theKMicPercrecord component.Double[]KNecro()Returns the value of theKNecrorecord component.Double[]KPom()Returns the value of theKPomrecord component.doubleMicDom()Returns the value of theMicDomrecord component.Double[]Returns the value of theNDeadRootsInputrecord component.Double[]Returns the value of theNDomRateFromLitterrecord component.Double[]Returns the value of theNPomRateFromLitterrecord component.Double[]Returns the value of theNRhizoDepositionInputrecord component.doubleNue()Returns the value of theNuerecord component.Double[]Returns the value of theR12DeadRootsInputrecord component.Double[]Returns the value of theR12RhizoDepositionInputrecord component.Double[]Returns the value of theR14DeadRootsInputrecord component.Double[]Returns the value of theR14RhizoDepositionInputrecord component.Double[]Returns the value of theSoilLayerDepthrecord component.Double[]Returns the value of theSwcFactorrecord component.Double[]Returns the value of theTempFactor1record component.Double[]Returns the value of theTempFactor2record component.Double[]toArray()Puts all record values into a single arrayfinal StringtoString()Returns a string representation of this record class.Double[]VAdsDom()Returns the value of theVAdsDomrecord component.Double[]Returns the value of theVAdsNecrorecord component.doubleVDom()Returns the value of theVDomrecord component.doubleVNecro()Returns the value of theVNecrorecord component.doubleVPom()Returns the value of theVPomrecord component.
-
Constructor Details
-
SOMParameters
public SOMParameters(double VPom, double VDom, double VNecro, double KMicPerc, double MicDom, double CN12FreeMicrob, double Cue, double Nue, Double[] TempFactor1, Double[] TempFactor2, Double[] SwcFactor, Double[] KPom, Double[] KDom, Double[] KNecro, Double[] VAdsDom, Double[] VAdsNecro, Double[] KAdsDom, Double[] KAdsNecro, Double[] KDesDom, Double[] KDesNecro, Double[] SoilLayerDepth, Double[] DbAdjacentMean, Double[] DbDz, Double[] R12DeadRootsInput, Double[] R14DeadRootsInput, Double[] NDeadRootsInput, Double[] R12RhizoDepositionInput, Double[] R14RhizoDepositionInput, Double[] NRhizoDepositionInput, Double[] dNDomFlow, Double[] dC12DomFlow, Double[] dC14DomFlow, Double[] dNMinExternal, Double[] C12DomRateFromLitter, Double[] C14DomRateFromLitter, Double[] NDomRateFromLitter, Double[] C12PomRateFromLitter, Double[] C14PomRateFromLitter, Double[] NPomRateFromLitter) Creates an instance of aSOMParametersrecord class.- Parameters:
VPom- the value for theVPomrecord componentVDom- the value for theVDomrecord componentVNecro- the value for theVNecrorecord componentKMicPerc- the value for theKMicPercrecord componentMicDom- the value for theMicDomrecord componentCN12FreeMicrob- the value for theCN12FreeMicrobrecord componentCue- the value for theCuerecord componentNue- the value for theNuerecord componentTempFactor1- the value for theTempFactor1record componentTempFactor2- the value for theTempFactor2record componentSwcFactor- the value for theSwcFactorrecord componentKPom- the value for theKPomrecord componentKDom- the value for theKDomrecord componentKNecro- the value for theKNecrorecord componentVAdsDom- the value for theVAdsDomrecord componentVAdsNecro- the value for theVAdsNecrorecord componentKAdsDom- the value for theKAdsDomrecord componentKAdsNecro- the value for theKAdsNecrorecord componentKDesDom- the value for theKDesDomrecord componentKDesNecro- the value for theKDesNecrorecord componentSoilLayerDepth- the value for theSoilLayerDepthrecord componentDbAdjacentMean- the value for theDbAdjacentMeanrecord componentDbDz- the value for theDbDzrecord componentR12DeadRootsInput- the value for theR12DeadRootsInputrecord componentR14DeadRootsInput- the value for theR14DeadRootsInputrecord componentNDeadRootsInput- the value for theNDeadRootsInputrecord componentR12RhizoDepositionInput- the value for theR12RhizoDepositionInputrecord componentR14RhizoDepositionInput- the value for theR14RhizoDepositionInputrecord componentNRhizoDepositionInput- the value for theNRhizoDepositionInputrecord componentdNDomFlow- the value for thedNDomFlowrecord componentdC12DomFlow- the value for thedC12DomFlowrecord componentdC14DomFlow- the value for thedC14DomFlowrecord componentdNMinExternal- the value for thedNMinExternalrecord componentC12DomRateFromLitter- the value for theC12DomRateFromLitterrecord componentC14DomRateFromLitter- the value for theC14DomRateFromLitterrecord componentNDomRateFromLitter- the value for theNDomRateFromLitterrecord componentC12PomRateFromLitter- the value for theC12PomRateFromLitterrecord componentC14PomRateFromLitter- the value for theC14PomRateFromLitterrecord componentNPomRateFromLitter- the value for theNPomRateFromLitterrecord component
-
-
Method Details
-
fromArray
Creates the record from an array- Parameters:
arr- Array with valuesn- size of the record's arrays- Returns:
- the record
-
toArray
Puts all record values into a single array- Returns:
- array with all values
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='. -
VPom
public double VPom()Returns the value of theVPomrecord component.- Returns:
- the value of the
VPomrecord component
-
VDom
public double VDom()Returns the value of theVDomrecord component.- Returns:
- the value of the
VDomrecord component
-
VNecro
public double VNecro()Returns the value of theVNecrorecord component.- Returns:
- the value of the
VNecrorecord component
-
KMicPerc
public double KMicPerc()Returns the value of theKMicPercrecord component.- Returns:
- the value of the
KMicPercrecord component
-
MicDom
public double MicDom()Returns the value of theMicDomrecord component.- Returns:
- the value of the
MicDomrecord component
-
CN12FreeMicrob
public double CN12FreeMicrob()Returns the value of theCN12FreeMicrobrecord component.- Returns:
- the value of the
CN12FreeMicrobrecord component
-
Cue
public double Cue()Returns the value of theCuerecord component.- Returns:
- the value of the
Cuerecord component
-
Nue
public double Nue()Returns the value of theNuerecord component.- Returns:
- the value of the
Nuerecord component
-
TempFactor1
Returns the value of theTempFactor1record component.- Returns:
- the value of the
TempFactor1record component
-
TempFactor2
Returns the value of theTempFactor2record component.- Returns:
- the value of the
TempFactor2record component
-
SwcFactor
Returns the value of theSwcFactorrecord component.- Returns:
- the value of the
SwcFactorrecord component
-
KPom
Returns the value of theKPomrecord component.- Returns:
- the value of the
KPomrecord component
-
KDom
Returns the value of theKDomrecord component.- Returns:
- the value of the
KDomrecord component
-
KNecro
Returns the value of theKNecrorecord component.- Returns:
- the value of the
KNecrorecord component
-
VAdsDom
Returns the value of theVAdsDomrecord component.- Returns:
- the value of the
VAdsDomrecord component
-
VAdsNecro
Returns the value of theVAdsNecrorecord component.- Returns:
- the value of the
VAdsNecrorecord component
-
KAdsDom
Returns the value of theKAdsDomrecord component.- Returns:
- the value of the
KAdsDomrecord component
-
KAdsNecro
Returns the value of theKAdsNecrorecord component.- Returns:
- the value of the
KAdsNecrorecord component
-
KDesDom
Returns the value of theKDesDomrecord component.- Returns:
- the value of the
KDesDomrecord component
-
KDesNecro
Returns the value of theKDesNecrorecord component.- Returns:
- the value of the
KDesNecrorecord component
-
SoilLayerDepth
Returns the value of theSoilLayerDepthrecord component.- Returns:
- the value of the
SoilLayerDepthrecord component
-
DbAdjacentMean
Returns the value of theDbAdjacentMeanrecord component.- Returns:
- the value of the
DbAdjacentMeanrecord component
-
DbDz
Returns the value of theDbDzrecord component.- Returns:
- the value of the
DbDzrecord component
-
R12DeadRootsInput
Returns the value of theR12DeadRootsInputrecord component.- Returns:
- the value of the
R12DeadRootsInputrecord component
-
R14DeadRootsInput
Returns the value of theR14DeadRootsInputrecord component.- Returns:
- the value of the
R14DeadRootsInputrecord component
-
NDeadRootsInput
Returns the value of theNDeadRootsInputrecord component.- Returns:
- the value of the
NDeadRootsInputrecord component
-
R12RhizoDepositionInput
Returns the value of theR12RhizoDepositionInputrecord component.- Returns:
- the value of the
R12RhizoDepositionInputrecord component
-
R14RhizoDepositionInput
Returns the value of theR14RhizoDepositionInputrecord component.- Returns:
- the value of the
R14RhizoDepositionInputrecord component
-
NRhizoDepositionInput
Returns the value of theNRhizoDepositionInputrecord component.- Returns:
- the value of the
NRhizoDepositionInputrecord component
-
dNDomFlow
Returns the value of thedNDomFlowrecord component.- Returns:
- the value of the
dNDomFlowrecord component
-
dC12DomFlow
Returns the value of thedC12DomFlowrecord component.- Returns:
- the value of the
dC12DomFlowrecord component
-
dC14DomFlow
Returns the value of thedC14DomFlowrecord component.- Returns:
- the value of the
dC14DomFlowrecord component
-
dNMinExternal
Returns the value of thedNMinExternalrecord component.- Returns:
- the value of the
dNMinExternalrecord component
-
C12DomRateFromLitter
Returns the value of theC12DomRateFromLitterrecord component.- Returns:
- the value of the
C12DomRateFromLitterrecord component
-
C14DomRateFromLitter
Returns the value of theC14DomRateFromLitterrecord component.- Returns:
- the value of the
C14DomRateFromLitterrecord component
-
NDomRateFromLitter
Returns the value of theNDomRateFromLitterrecord component.- Returns:
- the value of the
NDomRateFromLitterrecord component
-
C12PomRateFromLitter
Returns the value of theC12PomRateFromLitterrecord component.- Returns:
- the value of the
C12PomRateFromLitterrecord component
-
C14PomRateFromLitter
Returns the value of theC14PomRateFromLitterrecord component.- Returns:
- the value of the
C14PomRateFromLitterrecord component
-
NPomRateFromLitter
Returns the value of theNPomRateFromLitterrecord component.- Returns:
- the value of the
NPomRateFromLitterrecord component
-