Class SaturationMixingRatio.MyFunction

java.lang.Object
visad.ThingImpl
visad.DataImpl
visad.FunctionImpl
ucar.visad.quantities.SaturationMixingRatio.MyFunction
All Implemented Interfaces:
Serializable, Cloneable, Data, Function, Thing
Enclosing class:
SaturationMixingRatio

protected static class SaturationMixingRatio.MyFunction extends FunctionImpl
The SaturationMixingRatio(pressure, temperature) function.
See Also:
  • Constructor Details

  • Method Details

    • derivative

      public Data derivative(int errorMode)
      Returns the partial derivatives of this function with respect to pressure and temperature.
      Specified by:
      derivative in interface Function
      Specified by:
      derivative in class FunctionImpl
      Parameters:
      errorMode - The error mode. Ignored.
      Returns:
      The partial derivatives of this function.
    • derivative

      public Data derivative(MathType[] partials, int errorMode)
      Returns null.
      Specified by:
      derivative in interface Function
      Specified by:
      derivative in class FunctionImpl
      Parameters:
      partials - mathtypes of partials
      errorMode - error mode for resampling
      Returns:
      null.
    • derivative

      public Data derivative(RealTuple location, RealType[] inputPartials, MathType[] outputPartials, int errorMode)
      Returns null.
      Specified by:
      derivative in interface Function
      Specified by:
      derivative in class FunctionImpl
      Parameters:
      location - location
      inputPartials - partial types
      outputPartials - output partial types
      errorMode - error mode for resampling
      Returns:
      null.
    • derivative

      public Function derivative(RealType inputPartial, int errorMode)
      Returns null.
      Specified by:
      derivative in interface Function
      Specified by:
      derivative in class FunctionImpl
      Parameters:
      inputPartial - partial derivative RealType
      errorMode - error mode
      Returns:
      null.
    • derivative

      public Function derivative(RealType inputPartial, MathType ouputType, int errorMode)
      Returns null.
      Specified by:
      derivative in interface Function
      Specified by:
      derivative in class FunctionImpl
      Parameters:
      inputPartial - partial derivative RealType
      ouputType - output MathType
      errorMode - error mode
      Returns:
      null.
    • resample

      public Field resample(Set domain, int samplingMode, int errorMode)
      Returns null.
      Specified by:
      resample in interface Function
      Specified by:
      resample in class FunctionImpl
      Parameters:
      domain - sampling set
      samplingMode - sampling mode
      errorMode - error mode
      Returns:
      null.
    • computeRanges

      public DataShadow computeRanges(ShadowType type, DataShadow shadow)
      Returns null.
      Parameters:
      type - The shadow type.
      shadow - Another shadow?
      Returns:
      A shadow?
    • clone

      public Object clone()
      Returns this instance.
      Overrides:
      clone in class DataImpl
      Returns:
      This.
    • isMissing

      public boolean isMissing()
      Returns true.
      Returns:
      true.