org.jscience.physics.solids.constraint
Class EnforcedDisplacement

java.lang.Object
  extended by org.jscience.physics.solids.AtlasObject
      extended by org.jscience.physics.solids.AtlasConstraint
          extended by org.jscience.physics.solids.constraint.EnforcedDisplacement
All Implemented Interfaces:
java.lang.Comparable

public class EnforcedDisplacement
extends AtlasConstraint

Constrains a nodes motion in the specified degrees of freedom.


Field Summary
protected static java.lang.String TYPE
          DOCUMENT ME!
 
Constructor Summary
EnforcedDisplacement(java.lang.String id, AtlasNode[] node, int[] dof, double val)
          Constrains the specified node in the degrees of freedom.
EnforcedDisplacement(java.lang.String id, AtlasNode nodes, int dof, double val)
          Constrains the specified node in the degree of freedom.
 
Method Summary
 void contributeConstraint(SolutionMatrices m)
          DOCUMENT ME!
 int[] getConstrainedDOF()
          Returns which degrees of freedom are constrained.
 AtlasNode[] getNode()
          Returns the node that is being constrained.
 java.lang.String getType()
          DOCUMENT ME!
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.solids.AtlasObject
compareTo, equals, getId, getParentModel, loadJDOMElement, populateGeometry, setId, setParentModel, unloadJDOMElement
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TYPE

protected static java.lang.String TYPE
DOCUMENT ME!

Constructor Detail

EnforcedDisplacement

public EnforcedDisplacement(java.lang.String id,
                            AtlasNode nodes,
                            int dof,
                            double val)
Constrains the specified node in the degree of freedom. The degree of freedom to be constrained should be an integer.


EnforcedDisplacement

public EnforcedDisplacement(java.lang.String id,
                            AtlasNode[] node,
                            int[] dof,
                            double val)
Constrains the specified node in the degrees of freedom.

Method Detail

contributeConstraint

public void contributeConstraint(SolutionMatrices m)
DOCUMENT ME!

Specified by:
contributeConstraint in class AtlasConstraint
Parameters:
m - DOCUMENT ME!

getType

public java.lang.String getType()
DOCUMENT ME!

Specified by:
getType in class AtlasObject
Returns:
DOCUMENT ME!

getNode

public AtlasNode[] getNode()
Returns the node that is being constrained.

Returns:
DOCUMENT ME!

getConstrainedDOF

public int[] getConstrainedDOF()
Returns which degrees of freedom are constrained.

Returns:
DOCUMENT ME!

toString

public java.lang.String toString()
DOCUMENT ME!

Overrides:
toString in class AtlasObject
Returns:
DOCUMENT ME!