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 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 a SOMParameters record class.
      Parameters:
      VPom - the value for the VPom record component
      VDom - the value for the VDom record component
      VNecro - the value for the VNecro record component
      KMicPerc - the value for the KMicPerc record component
      MicDom - the value for the MicDom record component
      CN12FreeMicrob - the value for the CN12FreeMicrob record component
      Cue - the value for the Cue record component
      Nue - the value for the Nue record component
      TempFactor1 - the value for the TempFactor1 record component
      TempFactor2 - the value for the TempFactor2 record component
      SwcFactor - the value for the SwcFactor record component
      KPom - the value for the KPom record component
      KDom - the value for the KDom record component
      KNecro - the value for the KNecro record component
      VAdsDom - the value for the VAdsDom record component
      VAdsNecro - the value for the VAdsNecro record component
      KAdsDom - the value for the KAdsDom record component
      KAdsNecro - the value for the KAdsNecro record component
      KDesDom - the value for the KDesDom record component
      KDesNecro - the value for the KDesNecro record component
      SoilLayerDepth - the value for the SoilLayerDepth record component
      DbAdjacentMean - the value for the DbAdjacentMean record component
      DbDz - the value for the DbDz record component
      R12DeadRootsInput - the value for the R12DeadRootsInput record component
      R14DeadRootsInput - the value for the R14DeadRootsInput record component
      NDeadRootsInput - the value for the NDeadRootsInput record component
      R12RhizoDepositionInput - the value for the R12RhizoDepositionInput record component
      R14RhizoDepositionInput - the value for the R14RhizoDepositionInput record component
      NRhizoDepositionInput - the value for the NRhizoDepositionInput record component
      dNDomFlow - the value for the dNDomFlow record component
      dC12DomFlow - the value for the dC12DomFlow record component
      dC14DomFlow - the value for the dC14DomFlow record component
      dNMinExternal - the value for the dNMinExternal record component
      C12DomRateFromLitter - the value for the C12DomRateFromLitter record component
      C14DomRateFromLitter - the value for the C14DomRateFromLitter record component
      NDomRateFromLitter - the value for the NDomRateFromLitter record component
      C12PomRateFromLitter - the value for the C12PomRateFromLitter record component
      C14PomRateFromLitter - the value for the C14PomRateFromLitter record component
      NPomRateFromLitter - the value for the NPomRateFromLitter record component
  • Method Details

    • fromArray

      public static AMPSomFunctions.SOMParameters fromArray(Double[] arr)
      Creates the record from an array
      Parameters:
      arr - Array with values
      n - size of the record's arrays
      Returns:
      the record
    • toArray

      public Double[] toArray()
      Puts all record values into a single array
      Returns:
      array with all values
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with '=='.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • VPom

      public double VPom()
      Returns the value of the VPom record component.
      Returns:
      the value of the VPom record component
    • VDom

      public double VDom()
      Returns the value of the VDom record component.
      Returns:
      the value of the VDom record component
    • VNecro

      public double VNecro()
      Returns the value of the VNecro record component.
      Returns:
      the value of the VNecro record component
    • KMicPerc

      public double KMicPerc()
      Returns the value of the KMicPerc record component.
      Returns:
      the value of the KMicPerc record component
    • MicDom

      public double MicDom()
      Returns the value of the MicDom record component.
      Returns:
      the value of the MicDom record component
    • CN12FreeMicrob

      public double CN12FreeMicrob()
      Returns the value of the CN12FreeMicrob record component.
      Returns:
      the value of the CN12FreeMicrob record component
    • Cue

      public double Cue()
      Returns the value of the Cue record component.
      Returns:
      the value of the Cue record component
    • Nue

      public double Nue()
      Returns the value of the Nue record component.
      Returns:
      the value of the Nue record component
    • TempFactor1

      public Double[] TempFactor1()
      Returns the value of the TempFactor1 record component.
      Returns:
      the value of the TempFactor1 record component
    • TempFactor2

      public Double[] TempFactor2()
      Returns the value of the TempFactor2 record component.
      Returns:
      the value of the TempFactor2 record component
    • SwcFactor

      public Double[] SwcFactor()
      Returns the value of the SwcFactor record component.
      Returns:
      the value of the SwcFactor record component
    • KPom

      public Double[] KPom()
      Returns the value of the KPom record component.
      Returns:
      the value of the KPom record component
    • KDom

      public Double[] KDom()
      Returns the value of the KDom record component.
      Returns:
      the value of the KDom record component
    • KNecro

      public Double[] KNecro()
      Returns the value of the KNecro record component.
      Returns:
      the value of the KNecro record component
    • VAdsDom

      public Double[] VAdsDom()
      Returns the value of the VAdsDom record component.
      Returns:
      the value of the VAdsDom record component
    • VAdsNecro

      public Double[] VAdsNecro()
      Returns the value of the VAdsNecro record component.
      Returns:
      the value of the VAdsNecro record component
    • KAdsDom

      public Double[] KAdsDom()
      Returns the value of the KAdsDom record component.
      Returns:
      the value of the KAdsDom record component
    • KAdsNecro

      public Double[] KAdsNecro()
      Returns the value of the KAdsNecro record component.
      Returns:
      the value of the KAdsNecro record component
    • KDesDom

      public Double[] KDesDom()
      Returns the value of the KDesDom record component.
      Returns:
      the value of the KDesDom record component
    • KDesNecro

      public Double[] KDesNecro()
      Returns the value of the KDesNecro record component.
      Returns:
      the value of the KDesNecro record component
    • SoilLayerDepth

      public Double[] SoilLayerDepth()
      Returns the value of the SoilLayerDepth record component.
      Returns:
      the value of the SoilLayerDepth record component
    • DbAdjacentMean

      public Double[] DbAdjacentMean()
      Returns the value of the DbAdjacentMean record component.
      Returns:
      the value of the DbAdjacentMean record component
    • DbDz

      public Double[] DbDz()
      Returns the value of the DbDz record component.
      Returns:
      the value of the DbDz record component
    • R12DeadRootsInput

      public Double[] R12DeadRootsInput()
      Returns the value of the R12DeadRootsInput record component.
      Returns:
      the value of the R12DeadRootsInput record component
    • R14DeadRootsInput

      public Double[] R14DeadRootsInput()
      Returns the value of the R14DeadRootsInput record component.
      Returns:
      the value of the R14DeadRootsInput record component
    • NDeadRootsInput

      public Double[] NDeadRootsInput()
      Returns the value of the NDeadRootsInput record component.
      Returns:
      the value of the NDeadRootsInput record component
    • R12RhizoDepositionInput

      public Double[] R12RhizoDepositionInput()
      Returns the value of the R12RhizoDepositionInput record component.
      Returns:
      the value of the R12RhizoDepositionInput record component
    • R14RhizoDepositionInput

      public Double[] R14RhizoDepositionInput()
      Returns the value of the R14RhizoDepositionInput record component.
      Returns:
      the value of the R14RhizoDepositionInput record component
    • NRhizoDepositionInput

      public Double[] NRhizoDepositionInput()
      Returns the value of the NRhizoDepositionInput record component.
      Returns:
      the value of the NRhizoDepositionInput record component
    • dNDomFlow

      public Double[] dNDomFlow()
      Returns the value of the dNDomFlow record component.
      Returns:
      the value of the dNDomFlow record component
    • dC12DomFlow

      public Double[] dC12DomFlow()
      Returns the value of the dC12DomFlow record component.
      Returns:
      the value of the dC12DomFlow record component
    • dC14DomFlow

      public Double[] dC14DomFlow()
      Returns the value of the dC14DomFlow record component.
      Returns:
      the value of the dC14DomFlow record component
    • dNMinExternal

      public Double[] dNMinExternal()
      Returns the value of the dNMinExternal record component.
      Returns:
      the value of the dNMinExternal record component
    • C12DomRateFromLitter

      public Double[] C12DomRateFromLitter()
      Returns the value of the C12DomRateFromLitter record component.
      Returns:
      the value of the C12DomRateFromLitter record component
    • C14DomRateFromLitter

      public Double[] C14DomRateFromLitter()
      Returns the value of the C14DomRateFromLitter record component.
      Returns:
      the value of the C14DomRateFromLitter record component
    • NDomRateFromLitter

      public Double[] NDomRateFromLitter()
      Returns the value of the NDomRateFromLitter record component.
      Returns:
      the value of the NDomRateFromLitter record component
    • C12PomRateFromLitter

      public Double[] C12PomRateFromLitter()
      Returns the value of the C12PomRateFromLitter record component.
      Returns:
      the value of the C12PomRateFromLitter record component
    • C14PomRateFromLitter

      public Double[] C14PomRateFromLitter()
      Returns the value of the C14PomRateFromLitter record component.
      Returns:
      the value of the C14PomRateFromLitter record component
    • NPomRateFromLitter

      public Double[] NPomRateFromLitter()
      Returns the value of the NPomRateFromLitter record component.
      Returns:
      the value of the NPomRateFromLitter record component