All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class CH.epfl.lcvm.mccc.FDDiscretizationContact

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

public class FDDiscretizationContact
extends Object
implements Function
A finite difference 1D discretization with contact terms for the dimension 15 rod problem. This is a very special class and only solves the above problem.


Variable Index

 o domain_
 o range_

Constructor Index

 o FDDiscretizationContact(OneDMesh)
A discretization creation function which takes a mesh and returns the finite difference discretization for the Rod problem with contact terms.

Method Index

 o call(Matrix)
Returns the value of the discretized function over the given mesh
 o getDomain()
Returns the dimension of the domain of the discretized function
 o getRange()
Returns the dimension of the range of the discretized function
 o main(String[])
Exercise the class by trying the various functions

Variables

 o domain_
 protected int domain_
 o range_
 protected int range_

Constructors

 o FDDiscretizationContact
 public FDDiscretizationContact(OneDMesh mesh)
A discretization creation function which takes a mesh and returns the finite difference discretization for the Rod problem with contact terms.

Parameters:
mesh - The 1D mesh over which to discretize it

Methods

 o call
 public Matrix call(Matrix input)
Returns the value of the discretized function over the given mesh

Parameters:
value - the point at which to call the function. It assumes that the input has rows in the following order par1,...,parM, x0(mesh[0]), x1(mesh[0]), ...xn(mesh[0]),x0(mesh[1])...
Returns:
the return value of the function.
 o getRange
 public int getRange()
Returns the dimension of the range of the discretized function

Returns:
the dimension of the range of the function.
 o getDomain
 public int getDomain()
Returns the dimension of the domain of the discretized function

Returns:
the dimension of the domain of the function.
 o main
 public static void main(String argv[]) throws MCCCException
Exercise the class by trying the various functions

Throws: MCCCException
In case something fails in the test harness it throws this exception.

All Packages  Class Hierarchy  This Package  Previous  Next  Index