jabble
Interface FunctionField

All Known Implementing Classes:
DivisionFunctionField, FieldFunctionField, MethodFunctionField, NanOrInfinityFunctionField, SpaceDerivativeFunctionField, SumFunctionField, TimeDerivativeFunctionField, TimeDifferenceFunctionField

public interface FunctionField

Calculates an expression at each given Point; it's used by FieldCalculators and Indicators.


Method Summary
 double calculateAt(Point point)
          Calculates the expression at a given point.
 void setupFields(java.util.List<Slice> slices)
          Sets the set of slices on which the expression will be calculated.
 

Method Detail

setupFields

void setupFields(java.util.List<Slice> slices)
Sets the set of slices on which the expression will be calculated. The implementation of this method should extract all the fields and constants that are going to be needed for calculateAt().

Parameters:
slices - a list of slices in reverse evolution order (newest first)

calculateAt

double calculateAt(Point point)
Calculates the expression at a given point.

Parameters:
point - the Point at which the expression is calculated.
Returns:
the value of the expression.