All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class AT.Ac.univie.imp.loeffler.pde.threeD.fd.StencilImpl

java.lang.Object
   |
   +----AT.Ac.univie.imp.loeffler.pde.threeD.fd.StencilImpl

public final class StencilImpl
extends Object
implements Stencil
A concrete implementation of interface Stencil.

Author:
Gerald Loeffler (Gerald.Loeffler@univie.ac.at)

Constructor Index

 o StencilImpl(double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double, double)
construct from the 27 double values
 o StencilImpl(double[][][])
construct from the 27 double values in an array

Method Index

 o get(int, int, int)
implements method from Stencil.

Constructors

 o StencilImpl
 public StencilImpl(double array[][][])
construct from the 27 double values in an array

Parameters:
array - a 3x3x3 array holding the 27 double values for the stencil
 o StencilImpl
 public StencilImpl(double d01,
                    double d02,
                    double d03,
                    double d04,
                    double d05,
                    double d06,
                    double d07,
                    double d08,
                    double d09,
                    double d10,
                    double d11,
                    double d12,
                    double d13,
                    double d14,
                    double d15,
                    double d16,
                    double d17,
                    double d18,
                    double d19,
                    double d20,
                    double d21,
                    double d22,
                    double d23,
                    double d24,
                    double d25,
                    double d26,
                    double d27)
construct from the 27 double values

Parameters:
d01 - double value for position (-1,-1,-1) of the stencil
d02 - double value for position (-1,-1,0) of the stencil
d03-d25 - intermediary double values
d26 - double value for position (1,1,0) of the stencil
d27 - double value for position (1,1,1) of the stencil

Methods

 o get
 public double get(int x,
                   int y,
                   int z)
implements method from Stencil.

See Also:
get

All Packages  Class Hierarchy  This Package  Previous  Next  Index