All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface AT.Ac.univie.imp.loeffler.pde.threeD.fd.Stencil

public interface Stencil
A Stencil contains 27 doubles and can be used to represent the relationship between a grid element and its 26 nearest neighbours in 3D. Positions are identified by integer indices relative to the central element, which consequently has the position (0,0,0).

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

Method Index

 o get(int, int, int)
gets the element at the specified position.

Methods

 o get
 public abstract double get(int x,
                            int y,
                            int z)
gets the element at the specified position.

Parameters:
x - the index in the x-direction of the desired element (-1 <= x <= 1)
y - the index in the y-direction of the desired element (-1 <= y <= 1)
z - the index in the z-direction of the desired element (-1 <= z <= 1)
Returns:
s the element at the specified position

All Packages  Class Hierarchy  This Package  Previous  Next  Index