Uses of Class
jabble.Field

Packages that use Field
jabble The core classes for Jabble that make up the framework. 
jabble.stencils Set of utility classes to calculate derivatives, averages and other operators on Fields. 
 

Uses of Field in jabble
 

Fields in jabble declared as Field
protected  Field[] Evolver.dDirs
          The differentials fields in coordinate order.
protected  Field[] CoordinateTransformation.newCoords
           
protected  Field[] CoordinateTransformation.newDiffs
           
protected  Field[] CoordinateTransformation.oldCoords
           
protected  Field[] CoordinateTransformation.oldDiffs
           
 

Methods in jabble that return Field
static Field Field.createField(Field field)
          Creates a new field that is the copy of the given Field.
abstract  Field DataStructuresFactory.createField(Field field)
          Creates a new field that is the copy of the given Field.
static Field Field.createField(java.lang.String name, double[] data, Grid grid)
          Creates a new field with the given name, data and Grid.
abstract  Field DataStructuresFactory.createField(java.lang.String name, double[] data, Grid grid)
          Creates a new field with the given name, data and Grid.
static Field Field.createField(java.lang.String name, Grid grid)
          Creates a new field with a value of zero at each point of the Grid.
abstract  Field DataStructuresFactory.createField(java.lang.String name, Grid grid)
          Creates a new field with a value of zero at each point of the Grid.
 Field ResultStore.getField(Field field, java.lang.String fieldName, int nSlice)
           
 Field Slice.getField(java.lang.String name)
          Returns the field that corresponds to the given name.
 Field ResultStore.getField(java.lang.String fieldName, int nSlice)
           
 Field Slice.getScalarField(java.lang.String name)
           
 Field[][] Slice.getTensorField(java.lang.String tensorName)
           
 Field[] Slice.getVectorField(java.lang.String vectorName)
           
 

Methods in jabble that return types with arguments of type Field
 java.util.List<Field> Slice.getCoordinateFields()
          Returns the list of fields associated to the coordinates, in the order in which the coordinates where defined.
 java.util.List<Field> Slice.getDifferentialFields()
          Returns the list of fields associated to the coordinate differentials, in the order in which the coordinates where defined.
 

Methods in jabble with parameters of type Field
 void Slice.addField(Field f)
          Includes in the given field in the slice.
 void MultigridOperation.calculate(Field[] coarseFields, Field[] fineFields)
          Calculates the multigrid operations on the given set of fields (paired in the array order).
 void MultigridOperation.calculate(Field[] coarseFields, Field[] fineFields)
          Calculates the multigrid operations on the given set of fields (paired in the array order).
 void Injection.calculate(Field[] coarseFields, Field[] fineFields)
           
 void Injection.calculate(Field[] coarseFields, Field[] fineFields)
           
protected abstract  void MultigridOperation.calculate(Point finePoint, Point coarsePoint, Field fineField, Field coarseField)
          Calculates the operation at the given point for the given field.
protected  void Injection.calculate(Point finePoint, Point coarsePoint, Field fineField, Field coarseField)
           
protected abstract  void CoordinateTransformation.calculateScalar(Point point, Field oldScalarField, Field newScalarField)
           
protected  void Cartesian2DToSpherical2DTransformation.calculateScalar(Point point, Field oldScalarField, Field newScalarField)
           
protected abstract  void CoordinateTransformation.calculateTensor(Point point, Field[][] oldTensorField, Field[][] newTensorField)
           
protected abstract  void CoordinateTransformation.calculateTensor(Point point, Field[][] oldTensorField, Field[][] newTensorField)
           
protected  void Cartesian2DToSpherical2DTransformation.calculateTensor(Point point, Field[][] oldTensorField, Field[][] newTensorField)
           
protected  void Cartesian2DToSpherical2DTransformation.calculateTensor(Point point, Field[][] oldTensorField, Field[][] newTensorField)
           
protected abstract  void CoordinateTransformation.calculateVector(Point point, Field[] oldVectorField, Field[] newVectorField)
           
protected abstract  void CoordinateTransformation.calculateVector(Point point, Field[] oldVectorField, Field[] newVectorField)
           
protected  void Cartesian2DToSpherical2DTransformation.calculateVector(Point point, Field[] oldVectorField, Field[] newVectorField)
           
protected  void Cartesian2DToSpherical2DTransformation.calculateVector(Point point, Field[] oldVectorField, Field[] newVectorField)
           
abstract  void Field.copyData(Field sourceField)
          Changes all values of the field to match the given one.
static Field Field.createField(Field field)
          Creates a new field that is the copy of the given Field.
abstract  Field DataStructuresFactory.createField(Field field)
          Creates a new field that is the copy of the given Field.
 Field ResultStore.getField(Field field, java.lang.String fieldName, int nSlice)
           
 void RungeKutta.solve(Field field)
          Solves the ODE over the given Field.
 void RungeKutta.solveAtPoint(Field field, Point point)
          Solves the ODE over the given Field at the given Point.
protected  double RungeKutta.valueOf(Field field)
          Returns the value of the Field at the current Point, or mid-Point.
 

Uses of Field in jabble.stencils
 

Methods in jabble.stencils with parameters of type Field
static double FirstDerivativeStencils.centeredDifference(Field field, int dirIndex)
          Calculates (F(x-1) - F(x+1)) / (2 * dx).
static double SecondDerivativeStencils.d2FieldBulk(Field field, int dirIndex)
          Calculates (F(x+1) - 2*F(x) + F(x-1)) / dx2.
static double SecondDerivativeStencils.d2FieldLowerBoundary(Field field, int dirIndex)
          Calculates (2*F(x) - 5*F(x+1) + 4*F(x+2) - F(x+3)) / dx2.
static double SecondDerivativeStencils.d2FieldMixedBulk(Field field, int dirIndex1, int dirIndex2)
          Calculates mixed second derivative using a nine-point stencil (F(x+1, y+1) - F(x+1, y-1) - F(x-1, y+1) + F(x-1, y-1) / dx*dy.
static double SecondDerivativeStencils.d2FieldUpperBoundary(Field field, int dirIndex)
          Calculates (2*F(x) - 5*F(x-1) + 4*F(x-2) - F(x-3)) / dx2.
static double FirstDerivativeStencils.dField(Field field, int dirIndex)
           
static double FirstDerivativeStencils.downwind2Difference(Field field, int dirIndex)
           
static double FirstDerivativeStencils.downwind3Difference(Field field, int dirIndex)
           
static double Average2DStencils.downwindAverage(Field field)
          Calculates (F(x, y) + F(x-1, y) + F(x, y-1) + F(x-1, y-1)) / 4.
static double Average1DStencils.downwindAverage(Field field)
          Calculates (F(x) + F(x-1)) / 2.
static double FirstDerivativeStencils.downwindDifference(Field field, int dirIndex)
          Calculates (F(x) - F(x-1)) / dx.
static double Cartesian2DStencils.laplacian(Field field)
           
static double Cartesian2DStencils.laplacianBoundary(Field field)
           
static double CartesianStencils.laplacianBulk(Field field)
           
static double Cartesian2DStencils.laplacianBulk(Field field)
          Calculates (F(x+1, y) - 2*F(x, y) + F(x-1, y)) / dx2 + (F(x, y+1) - 2*F(x, y) + F(x, y-1)) / dy2.
static double Average2DStencils.nearestNeighborAverage(Field field)
          Calculates (F(x+1, y) + F(x-1, y) + F(x, y+1) + F(x, y-1)) / 4.
static double Average1DStencils.nearestNeighborAverage(Field field)
          Calculates (F(x+1) + F(x-1)) / 2.
static void StencilUtils.setDiffFields(Field... dFields)
           
static double FirstDerivativeStencils.upwind2Difference(Field field, int dirIndex)
           
static double FirstDerivativeStencils.upwind3Difference(Field field, int dirIndex)
           
static double Average3DStencils.upwindAverage(Field field)
          Calculates ( F(x, y, z) + F(x+1, y, z) + F(x, y+1, z) + F(x, y, z+1)
+ F(x+1, y+1, z) + F(x, y+1, z+1) + F(x+1, y, z+1) + F(x+1, y+1, z+1)) / 8
.
static double Average2DStencils.upwindAverage(Field field)
          Calculates (F(x, y) + F(x+1, y) + F(x, y+1) + F(x+1, y+1)) / 4.
static double Average1DStencils.upwindAverage(Field field)
          Calculates (F(x+1) + F(x)) / 2.
static double FirstDerivativeStencils.upwindDifference(Field field, int dirIndex)
          Calculates (F(x+1) - F(x)) / dx.