|
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |
See:
Description
Class Summary | |
NonuniformMesh | The implementation of 1D ordered nonuniform mesh. |
SimpleMesh | The description of the simple 1D mesh. |
SimpleMeshWorkspace | An auxiliary class useful in 1D spline values calculations. |
StrictNonuniformMesh | The implementation of 1D ordered nonuniform mesh with strict representation of nodes in the double[] type internal array. |
UniformMesh | The implementation of 1D uniform mesh. |
The collection of 1D meshes and auxiliary classes.
The SimpleMesh
abstract class is the basic class for all 1D meshes. It
describes a mesh as a collection of nodes xi and cells [xi,xi+1]. The
internal representation of a mesh usually differ from the user defined mesh:
the user's mesh is affine transformed when the internal representation is
constructed for the algorithmic stability reason.
The class provides the findCell method, that transforms a point on the
real axis to the internal representation and finds the mesh cell to which the
transformed point belongs and the relative position of it in this cell. This
method works together with an instance of the SimpleMeshWorkspace
and
writes the results to it.
The distance method returns the distance between specified mesh nodes of the transformed mesh and the extendedMeshDistance method returns the distance between the nodes of the extended mesh. The transformed mesh is extended in both directions by a number of virtual nodes. The additional notes are usually placed with the same distance between each other. The left virtual nodes indices are -1, -2, ... and the right virtual nodes indices are size, size+1, ... .
The implementation of the SimpleMesh is done in the following
subclasses: the UniformMesh
class implements a uniform mesh; the
NonuniformMesh
class implements a nonuniform mesh internally stored in
the float type array; and the StrictNonuniformMesh
class implements a
nonuniform mesh internally stored in the double type array.
|
||||||||
PREV PACKAGE NEXT PACKAGE | FRAMES NO FRAMES |