Class ScalarFieldUtils.ScalarFieldFromEnv
java.lang.Object
ScalarFieldUtils.ScalarFieldFromEnv
- All Implemented Interfaces:
- IScalarField
- Enclosing class:
- ScalarFieldUtils
public static class ScalarFieldUtils.ScalarFieldFromEnv
- extends java.lang.Object
- implements IScalarField
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ScalarFieldUtils.ScalarFieldFromEnv
public ScalarFieldUtils.ScalarFieldFromEnv()
ScalarFieldUtils.ScalarFieldFromEnv
public ScalarFieldUtils.ScalarFieldFromEnv(IEnvironment envToWrap,
int nIdxField)
ScalarFieldUtils.ScalarFieldFromEnv
public ScalarFieldUtils.ScalarFieldFromEnv(ScalarFieldUtils.ScalarFieldFromEnv src)
getGradient
public double[] getGradient(double[] arrLoc)
- Gradient at a particular location
- Specified by:
getGradient
in interface IScalarField
- Parameters:
arrLoc
- place at which to take gradient
- Returns:
- gradient (of proper dimensionality) as a double []
getGradient
public void getGradient(double[] arrLoc,
double[] arrRslt)
- Gradient at a particular location
- Specified by:
getGradient
in interface IScalarField
- Parameters:
arrLoc
- place at which to take gradientarrRslt
- gradient (of proper dimensionality) as a double []
getVal
public double getVal(double[] arrLfLoc)
- Specified by:
getVal
in interface IScalarField
makeCopy
public IScalarField makeCopy()
- Specified by:
makeCopy
in interface IScalarField