ru.sscc.spline.polynomial
Class NonuniformPreparator

java.lang.Object
  |
  +--ru.sscc.spline.polynomial.MatrixPreparator
        |
        +--ru.sscc.spline.polynomial.NonuniformPreparator

public class NonuniformPreparator
extends MatrixPreparator

The implementation of MatrixPreparator for nonuniform mesh.

See Also:
Serialized Form

Fields inherited from class ru.sscc.spline.polynomial.MatrixPreparator
h
 
Constructor Summary
protected NonuniformPreparator(SimpleMesh mesh, int order)
          Constructs preparator of the required order.
 
Method Summary
 void calculateA(SymBandedMatrix a)
          Calculates the symmetric banded Laurent matrix for nonuniform mesh.
 
Methods inherited from class ru.sscc.spline.polynomial.MatrixPreparator
by, ensureValidMatrix, getH
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NonuniformPreparator

protected NonuniformPreparator(SimpleMesh mesh,
                               int order)
Constructs preparator of the required order.
Parameters:
mesh - a mesh
order - a difference order
Method Detail

calculateA

public void calculateA(SymBandedMatrix a)
Calculates the symmetric banded Laurent matrix for nonuniform mesh. The matrix size should be equal to the rows number of the finite differences matrix. The width of matrix half-band should be not less than the degree of the finite difference matrix.
Overrides:
calculateA in class MatrixPreparator
Parameters:
a - a matrix to store the result.