Class ScalarFieldUtils.ScalarFieldProduct

java.lang.Object
  extended by ScalarFieldUtils.ScalarFieldProduct
All Implemented Interfaces:
IScalarField
Enclosing class:
ScalarFieldUtils

public static class ScalarFieldUtils.ScalarFieldProduct
extends java.lang.Object
implements IScalarField


Constructor Summary
ScalarFieldUtils.ScalarFieldProduct()
           
ScalarFieldUtils.ScalarFieldProduct(IScalarField src)
           
ScalarFieldUtils.ScalarFieldProduct(IScalarField src1, IScalarField src2)
           
ScalarFieldUtils.ScalarFieldProduct(ScalarFieldUtils.ScalarFieldProduct src)
           
 
Method Summary
 void addField(IScalarField src)
           
 double[] getGradient(double[] arrLoc)
          Gradient at a particular location
 void getGradient(double[] arrLoc, double[] arrRslt)
          Gradient at a particular location
 double getVal(double[] arrLfLoc)
           
 IScalarField makeCopy()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScalarFieldUtils.ScalarFieldProduct

public ScalarFieldUtils.ScalarFieldProduct()

ScalarFieldUtils.ScalarFieldProduct

public ScalarFieldUtils.ScalarFieldProduct(IScalarField src)

ScalarFieldUtils.ScalarFieldProduct

public ScalarFieldUtils.ScalarFieldProduct(IScalarField src1,
                                           IScalarField src2)

ScalarFieldUtils.ScalarFieldProduct

public ScalarFieldUtils.ScalarFieldProduct(ScalarFieldUtils.ScalarFieldProduct src)
Method Detail

addField

public void addField(IScalarField src)

getVal

public double getVal(double[] arrLfLoc)
Specified by:
getVal in interface IScalarField

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 gradient
arrRslt - gradient (of proper dimensionality) as a double []

makeCopy

public IScalarField makeCopy()
Specified by:
makeCopy in interface IScalarField