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.
-
domain_
-
-
range_
-
-
FDDiscretizationContact(OneDMesh)
-
A discretization creation function which takes
a mesh and returns the finite difference
discretization for the Rod problem with contact
terms.
-
call(Matrix)
-
Returns the value of the discretized function over the given
mesh
-
getDomain()
- Returns the dimension of the domain of the discretized function
-
getRange()
- Returns the dimension of the range of the discretized function
-
main(String[])
-
Exercise the class by trying the various functions
domain_
protected int domain_
range_
protected int range_
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
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.
getRange
public int getRange()
- Returns the dimension of the range of the discretized function
- Returns:
- the dimension of the range of the function.
getDomain
public int getDomain()
- Returns the dimension of the domain of the discretized function
- Returns:
- the dimension of the domain of the function.
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