All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.epfl.lcvm.mccc.OneDMeshUniform

java.lang.Object
   |
   +----CH.epfl.lcvm.mccc.OneDMeshUniform

public class OneDMeshUniform
extends Object
implements OneDMesh
A 1D uniform mesh.


Constructor Index

 o OneDMeshUniform(double, double, int)
Create a uniform mesh over the interval start to end, including the end points

Method Index

 o getMesh()
Return the s values of the mesh points
 o main(String[])
Exercise the class by trying the various functions

Constructors

 o OneDMeshUniform
 public OneDMeshUniform(double start,
                        double end,
                        int steps)
Create a uniform mesh over the interval start to end, including the end points

Parameters:
start - The starting value of the mesh
end - The ending value of the mesh
steps - The number of sub intervals

Methods

 o getMesh
 public double[] getMesh()
Return the s values of the mesh points

Returns:
a double array with the s values of the mesh points
 o main
 public static void main(String argv[])
Exercise the class by trying the various functions


All Packages  Class Hierarchy  This Package  Previous  Next  Index