ucar.visad.quantities
Class SaturationMixingRatio.MyFunction

java.lang.Object
  extended by visad.ThingImpl
      extended by visad.DataImpl
          extended by visad.FunctionImpl
              extended by 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:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class visad.DataImpl
DataImpl.Syncher
 
Field Summary
 
Fields inherited from interface visad.Data
ABS, ACOS, ACOS_DEGREES, ADD, ASIN, ASIN_DEGREES, ATAN, ATAN_DEGREES, ATAN2, ATAN2_DEGREES, CEIL, COS, COS_DEGREES, DEGREES_TO_RADIANS, DEPENDENT, DIVIDE, EXP, FLOOR, INDEPENDENT, INV_ATAN2, INV_ATAN2_DEGREES, INV_DIVIDE, INV_POW, INV_REMAINDER, INV_SUBTRACT, LOG, MAX, MIN, MULTIPLY, NEAREST_NEIGHBOR, NEGATE, NO_ERRORS, NOP, POW, RADIANS_TO_DEGREES, REMAINDER, RINT, ROUND, SIN, SIN_DEGREES, SQRT, SUBTRACT, TAN, TAN_DEGREES, WEIGHTED_AVERAGE
 
Constructor Summary
SaturationMixingRatio.MyFunction()
          Constructs from nothing.
 
Method Summary
 Object clone()
          Returns this instance.
 DataShadow computeRanges(ShadowType type, DataShadow shadow)
          Returns null.
 Data derivative(int errorMode)
          Returns the partial derivatives of this function with respect to pressure and temperature.
 Data derivative(MathType[] partials, int errorMode)
          Returns null.
 Data derivative(RealTuple location, RealType[] inputPartials, MathType[] outputPartials, int errorMode)
          Returns null.
 Function derivative(RealType inputPartial, int errorMode)
          Returns null.
 Function derivative(RealType inputPartial, MathType ouputType, int errorMode)
          Returns null.
 boolean isMissing()
          Returns true.
 Field resample(Set domain, int samplingMode, int errorMode)
          Returns null.
 
Methods inherited from class visad.FunctionImpl
__getitem__, __getitem__, evaluate, evaluate, evaluate, evaluate, getDomainCoordinateSystem, getDomainDimension, getDomainUnits, resample
 
Methods inherited from class visad.DataImpl
__add__, __add__, __div__, __div__, __mod__, __mod__, __mul__, __mul__, __neg__, __pow__, __pow__, __radd__, __rdiv__, __rmod__, __rmul__, __rpow__, __rsub__, __sub__, __sub__, abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, longString, main, max, max, min, min, multiply, multiply, negate, negate, notifyReferences, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, toString, unary, unary
 
Methods inherited from class visad.ThingImpl
addReference, removeReference
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface visad.Data
abs, abs, acos, acos, acosDegrees, acosDegrees, add, add, adjustSamplingError, asin, asin, asinDegrees, asinDegrees, atan, atan, atan2, atan2, atan2Degrees, atan2Degrees, atanDegrees, atanDegrees, binary, binary, ceil, ceil, changeMathType, computeRanges, computeRanges, cos, cos, cosDegrees, cosDegrees, dataClone, divide, divide, exp, exp, floor, floor, getType, local, log, log, longString, longString, max, max, min, min, multiply, multiply, negate, negate, pow, pow, remainder, remainder, rint, rint, round, round, sin, sin, sinDegrees, sinDegrees, sqrt, sqrt, subtract, subtract, tan, tan, tanDegrees, tanDegrees, unary, unary
 
Methods inherited from interface visad.Thing
addReference, removeReference
 

Constructor Detail

SaturationMixingRatio.MyFunction

public SaturationMixingRatio.MyFunction()
                                 throws VisADException
Constructs from nothing.

Throws:
VisADException - if a core VisAD failure occurs.
Method Detail

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.