org.jscience.physics.solids
Class CurveElement

java.lang.Object
  extended by org.jscience.physics.solids.AtlasObject
      extended by org.jscience.physics.solids.AtlasElement
          extended by org.jscience.physics.solids.CurveElement
All Implemented Interfaces:
java.lang.Comparable
Direct Known Subclasses:
Beam2DElement, Rod2DElement, Rod3DElement

public abstract class CurveElement
extends AtlasElement

Abstract class that represents a one-dimensional element topology. This will be extended by specific element types (rods, bars, etc...)


Constructor Summary
CurveElement()
           
 
Method Summary
 double computeLength()
          Returns the length of the element.
abstract  void contributeDistLoad(DistLoad load, SolutionMatrices m)
          DOCUMENT ME!
 AtlasNode getEndA()
          Returns the first node.
 AtlasNode getEndB()
          Returns the second node.
 AtlasNode[] getNodes()
          DOCUMENT ME!
 void setNodeA(AtlasNode node)
          Sets the first node.
 void setNodeB(AtlasNode node)
          Sets the second node.
 void setNodes(AtlasNode[] nodes)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.solids.AtlasElement
computeResults, contributeMatrices, getLocalCoordSys, getNumberNodes, getResults
 
Methods inherited from class org.jscience.physics.solids.AtlasObject
compareTo, equals, getId, getParentModel, getType, loadJDOMElement, populateGeometry, setId, setParentModel, toString, unloadJDOMElement
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CurveElement

public CurveElement()
Method Detail

setNodes

public void setNodes(AtlasNode[] nodes)
DOCUMENT ME!

Parameters:
nodes - DOCUMENT ME!

getNodes

public AtlasNode[] getNodes()
DOCUMENT ME!

Specified by:
getNodes in class AtlasElement
Returns:
DOCUMENT ME!

contributeDistLoad

public abstract void contributeDistLoad(DistLoad load,
                                        SolutionMatrices m)
DOCUMENT ME!

Parameters:
load - DOCUMENT ME!
m - DOCUMENT ME!

computeLength

public double computeLength()
Returns the length of the element.

Returns:
DOCUMENT ME!

setNodeA

public void setNodeA(AtlasNode node)
Sets the first node.

Parameters:
node - DOCUMENT ME!

getEndA

public AtlasNode getEndA()
Returns the first node.

Returns:
DOCUMENT ME!

getEndB

public AtlasNode getEndB()
Returns the second node.

Returns:
DOCUMENT ME!

setNodeB

public void setNodeB(AtlasNode node)
Sets the second node.

Parameters:
node - DOCUMENT ME!