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
ConstructorDescriptionSOMParameters
(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 aSOMParameters
record class. -
Method Summary
Modifier and TypeMethodDescriptionDouble[]
Returns the value of theC12DomRateFromLitter
record component.Double[]
Returns the value of theC12PomRateFromLitter
record component.Double[]
Returns the value of theC14DomRateFromLitter
record component.Double[]
Returns the value of theC14PomRateFromLitter
record component.double
Returns the value of theCN12FreeMicrob
record component.double
Cue()
Returns the value of theCue
record component.Double[]
Returns the value of theDbAdjacentMean
record component.Double[]
DbDz()
Returns the value of theDbDz
record component.Double[]
Returns the value of thedC12DomFlow
record component.Double[]
Returns the value of thedC14DomFlow
record component.Double[]
Returns the value of thedNDomFlow
record component.Double[]
Returns the value of thedNMinExternal
record component.final boolean
Indicates whether some other object is "equal to" this one.Creates the record from an arrayfinal int
hashCode()
Returns a hash code value for this object.Double[]
KAdsDom()
Returns the value of theKAdsDom
record component.Double[]
Returns the value of theKAdsNecro
record component.Double[]
KDesDom()
Returns the value of theKDesDom
record component.Double[]
Returns the value of theKDesNecro
record component.Double[]
KDom()
Returns the value of theKDom
record component.double
KMicPerc()
Returns the value of theKMicPerc
record component.Double[]
KNecro()
Returns the value of theKNecro
record component.Double[]
KPom()
Returns the value of theKPom
record component.double
MicDom()
Returns the value of theMicDom
record component.Double[]
Returns the value of theNDeadRootsInput
record component.Double[]
Returns the value of theNDomRateFromLitter
record component.Double[]
Returns the value of theNPomRateFromLitter
record component.Double[]
Returns the value of theNRhizoDepositionInput
record component.double
Nue()
Returns the value of theNue
record component.Double[]
Returns the value of theR12DeadRootsInput
record component.Double[]
Returns the value of theR12RhizoDepositionInput
record component.Double[]
Returns the value of theR14DeadRootsInput
record component.Double[]
Returns the value of theR14RhizoDepositionInput
record component.Double[]
Returns the value of theSoilLayerDepth
record component.Double[]
Returns the value of theSwcFactor
record component.Double[]
Returns the value of theTempFactor1
record component.Double[]
Returns the value of theTempFactor2
record component.Double[]
toArray()
Puts all record values into a single arrayfinal String
toString()
Returns a string representation of this record class.Double[]
VAdsDom()
Returns the value of theVAdsDom
record component.Double[]
Returns the value of theVAdsNecro
record component.double
VDom()
Returns the value of theVDom
record component.double
VNecro()
Returns the value of theVNecro
record component.double
VPom()
Returns the value of theVPom
record 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 aSOMParameters
record class.- Parameters:
VPom
- the value for theVPom
record componentVDom
- the value for theVDom
record componentVNecro
- the value for theVNecro
record componentKMicPerc
- the value for theKMicPerc
record componentMicDom
- the value for theMicDom
record componentCN12FreeMicrob
- the value for theCN12FreeMicrob
record componentCue
- the value for theCue
record componentNue
- the value for theNue
record componentTempFactor1
- the value for theTempFactor1
record componentTempFactor2
- the value for theTempFactor2
record componentSwcFactor
- the value for theSwcFactor
record componentKPom
- the value for theKPom
record componentKDom
- the value for theKDom
record componentKNecro
- the value for theKNecro
record componentVAdsDom
- the value for theVAdsDom
record componentVAdsNecro
- the value for theVAdsNecro
record componentKAdsDom
- the value for theKAdsDom
record componentKAdsNecro
- the value for theKAdsNecro
record componentKDesDom
- the value for theKDesDom
record componentKDesNecro
- the value for theKDesNecro
record componentSoilLayerDepth
- the value for theSoilLayerDepth
record componentDbAdjacentMean
- the value for theDbAdjacentMean
record componentDbDz
- the value for theDbDz
record componentR12DeadRootsInput
- the value for theR12DeadRootsInput
record componentR14DeadRootsInput
- the value for theR14DeadRootsInput
record componentNDeadRootsInput
- the value for theNDeadRootsInput
record componentR12RhizoDepositionInput
- the value for theR12RhizoDepositionInput
record componentR14RhizoDepositionInput
- the value for theR14RhizoDepositionInput
record componentNRhizoDepositionInput
- the value for theNRhizoDepositionInput
record componentdNDomFlow
- the value for thedNDomFlow
record componentdC12DomFlow
- the value for thedC12DomFlow
record componentdC14DomFlow
- the value for thedC14DomFlow
record componentdNMinExternal
- the value for thedNMinExternal
record componentC12DomRateFromLitter
- the value for theC12DomRateFromLitter
record componentC14DomRateFromLitter
- the value for theC14DomRateFromLitter
record componentNDomRateFromLitter
- the value for theNDomRateFromLitter
record componentC12PomRateFromLitter
- the value for theC12PomRateFromLitter
record componentC14PomRateFromLitter
- the value for theC14PomRateFromLitter
record componentNPomRateFromLitter
- the value for theNPomRateFromLitter
record 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 theVPom
record component.- Returns:
- the value of the
VPom
record component
-
VDom
public double VDom()Returns the value of theVDom
record component.- Returns:
- the value of the
VDom
record component
-
VNecro
public double VNecro()Returns the value of theVNecro
record component.- Returns:
- the value of the
VNecro
record component
-
KMicPerc
public double KMicPerc()Returns the value of theKMicPerc
record component.- Returns:
- the value of the
KMicPerc
record component
-
MicDom
public double MicDom()Returns the value of theMicDom
record component.- Returns:
- the value of the
MicDom
record component
-
CN12FreeMicrob
public double CN12FreeMicrob()Returns the value of theCN12FreeMicrob
record component.- Returns:
- the value of the
CN12FreeMicrob
record component
-
Cue
public double Cue()Returns the value of theCue
record component.- Returns:
- the value of the
Cue
record component
-
Nue
public double Nue()Returns the value of theNue
record component.- Returns:
- the value of the
Nue
record component
-
TempFactor1
Returns the value of theTempFactor1
record component.- Returns:
- the value of the
TempFactor1
record component
-
TempFactor2
Returns the value of theTempFactor2
record component.- Returns:
- the value of the
TempFactor2
record component
-
SwcFactor
Returns the value of theSwcFactor
record component.- Returns:
- the value of the
SwcFactor
record component
-
KPom
Returns the value of theKPom
record component.- Returns:
- the value of the
KPom
record component
-
KDom
Returns the value of theKDom
record component.- Returns:
- the value of the
KDom
record component
-
KNecro
Returns the value of theKNecro
record component.- Returns:
- the value of the
KNecro
record component
-
VAdsDom
Returns the value of theVAdsDom
record component.- Returns:
- the value of the
VAdsDom
record component
-
VAdsNecro
Returns the value of theVAdsNecro
record component.- Returns:
- the value of the
VAdsNecro
record component
-
KAdsDom
Returns the value of theKAdsDom
record component.- Returns:
- the value of the
KAdsDom
record component
-
KAdsNecro
Returns the value of theKAdsNecro
record component.- Returns:
- the value of the
KAdsNecro
record component
-
KDesDom
Returns the value of theKDesDom
record component.- Returns:
- the value of the
KDesDom
record component
-
KDesNecro
Returns the value of theKDesNecro
record component.- Returns:
- the value of the
KDesNecro
record component
-
SoilLayerDepth
Returns the value of theSoilLayerDepth
record component.- Returns:
- the value of the
SoilLayerDepth
record component
-
DbAdjacentMean
Returns the value of theDbAdjacentMean
record component.- Returns:
- the value of the
DbAdjacentMean
record component
-
DbDz
Returns the value of theDbDz
record component.- Returns:
- the value of the
DbDz
record component
-
R12DeadRootsInput
Returns the value of theR12DeadRootsInput
record component.- Returns:
- the value of the
R12DeadRootsInput
record component
-
R14DeadRootsInput
Returns the value of theR14DeadRootsInput
record component.- Returns:
- the value of the
R14DeadRootsInput
record component
-
NDeadRootsInput
Returns the value of theNDeadRootsInput
record component.- Returns:
- the value of the
NDeadRootsInput
record component
-
R12RhizoDepositionInput
Returns the value of theR12RhizoDepositionInput
record component.- Returns:
- the value of the
R12RhizoDepositionInput
record component
-
R14RhizoDepositionInput
Returns the value of theR14RhizoDepositionInput
record component.- Returns:
- the value of the
R14RhizoDepositionInput
record component
-
NRhizoDepositionInput
Returns the value of theNRhizoDepositionInput
record component.- Returns:
- the value of the
NRhizoDepositionInput
record component
-
dNDomFlow
Returns the value of thedNDomFlow
record component.- Returns:
- the value of the
dNDomFlow
record component
-
dC12DomFlow
Returns the value of thedC12DomFlow
record component.- Returns:
- the value of the
dC12DomFlow
record component
-
dC14DomFlow
Returns the value of thedC14DomFlow
record component.- Returns:
- the value of the
dC14DomFlow
record component
-
dNMinExternal
Returns the value of thedNMinExternal
record component.- Returns:
- the value of the
dNMinExternal
record component
-
C12DomRateFromLitter
Returns the value of theC12DomRateFromLitter
record component.- Returns:
- the value of the
C12DomRateFromLitter
record component
-
C14DomRateFromLitter
Returns the value of theC14DomRateFromLitter
record component.- Returns:
- the value of the
C14DomRateFromLitter
record component
-
NDomRateFromLitter
Returns the value of theNDomRateFromLitter
record component.- Returns:
- the value of the
NDomRateFromLitter
record component
-
C12PomRateFromLitter
Returns the value of theC12PomRateFromLitter
record component.- Returns:
- the value of the
C12PomRateFromLitter
record component
-
C14PomRateFromLitter
Returns the value of theC14PomRateFromLitter
record component.- Returns:
- the value of the
C14PomRateFromLitter
record component
-
NPomRateFromLitter
Returns the value of theNPomRateFromLitter
record component.- Returns:
- the value of the
NPomRateFromLitter
record component
-