public final class DomainEvaluatorCell extends ComputeCell
Set
domain.Constructor and Description |
---|
DomainEvaluatorCell(visad.DataReference funcRef,
visad.DataReference domainRef,
visad.Data noData)
Constructs from a data reference for the function, a data reference for
the
Set domain, and a missing data value. |
Modifier and Type | Method and Description |
---|---|
protected visad.Data |
compute(visad.Data[] datums)
Computes the output value by evaluating the function at the domain
points.
|
clean, disableRef, enableAllInputRefs, getInputRefs, getOutputRef, noDataField, toString
public DomainEvaluatorCell(visad.DataReference funcRef, visad.DataReference domainRef, visad.Data noData) throws visad.VisADException, java.rmi.RemoteException
Set
domain, and a missing data value.funcRef
- The function reference.domainRef
- The evaluation domain reference.noData
- The missing data value.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.protected visad.Data compute(visad.Data[] datums) throws visad.TypeException, visad.VisADException, java.rmi.RemoteException
compute
in class ComputeCell
datums
- The input data. datums[0]
is the function to evaluate and
datums[1]
is the Set
domain at which to evaluate the function.Field
.java.lang.ClassCastException
- if an input data reference has the wrong
type of data object.visad.TypeException
- if a VisAD data object has the wrong type.visad.VisADException
- if a VisAD failure occurs.java.rmi.RemoteException
- if a Java RMI failure occurs.