org.jscience.physics.solids.constraint
Class UnsupportedConstraint

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

public class UnsupportedConstraint
extends AtlasConstraint

Constrains a nodes motion in the specified degrees of freedom.


Field Summary
protected static java.lang.String TYPE
          DOCUMENT ME!
 
Constructor Summary
UnsupportedConstraint(java.lang.String id, AtlasNode[] node, int[] dof)
          Constrains the specified node in the degrees of freedom.
UnsupportedConstraint(java.lang.String id, AtlasNode nodes, int dof)
          Constrains the specified node in the degree of freedom.
UnsupportedConstraint(java.lang.String id, AtlasNode nodes, int[] dof)
          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!
 org.jdom.Element loadJDOMElement()
          Marshalls object to XML.
 java.lang.String toString()
          DOCUMENT ME!
static AtlasObject unloadJDOMElement(AtlasModel parent, org.jdom.Element e)
          Unmarshalls the object from XML.
 
Methods inherited from class org.jscience.physics.solids.AtlasObject
compareTo, equals, getId, getParentModel, populateGeometry, setId, setParentModel
 
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

UnsupportedConstraint

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


UnsupportedConstraint

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


UnsupportedConstraint

public UnsupportedConstraint(java.lang.String id,
                             AtlasNode[] node,
                             int[] dof)
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!

loadJDOMElement

public org.jdom.Element loadJDOMElement()
Marshalls object to XML.

Overrides:
loadJDOMElement in class AtlasObject
Returns:
DOCUMENT ME!

unloadJDOMElement

public static AtlasObject unloadJDOMElement(AtlasModel parent,
                                            org.jdom.Element e)
Unmarshalls the object from XML.

Parameters:
parent - DOCUMENT ME!
e - DOCUMENT ME!
Returns:
DOCUMENT ME!