org.jscience.physics.solids.element
Class Rod3DElement

java.lang.Object
  extended by org.jscience.physics.solids.AtlasObject
      extended by org.jscience.physics.solids.AtlasElement
          extended by org.jscience.physics.solids.CurveElement
              extended by org.jscience.physics.solids.element.Rod3DElement
All Implemented Interfaces:
java.lang.Comparable

public class Rod3DElement
extends CurveElement

DOCUMENT ME!


Field Summary
protected  java.lang.String TYPE
          DOCUMENT ME!
 
Constructor Summary
Rod3DElement(java.lang.String id, AtlasNode endA, AtlasNode endB, double area, double modulus)
          Full constructor of a BasicRodElement
 
Method Summary
 double computeElementVolume()
          Volume of rod is cross-sectional area times length of element.
 void computeResults(SolutionMatrices m)
          DOCUMENT ME!
 void contributeDistLoad(DistLoad dl, SolutionMatrices m)
          DOCUMENT ME!
 void contributeMatrices(SolutionMatrices m)
          DOCUMENT ME!
 void contributeStiffness(SolutionMatrices m)
          DOCUMENT ME!
 double getArea()
          Returns the cross-sectional area of the element.
 AtlasCoordSys getLocalCoordSys()
          Returns element local coordinate system.
 double getModulus()
          Returns the material modulus of the element.
 java.util.ArrayList getResults()
          DOCUMENT ME!
 java.lang.String getType()
          Returns "Basic Rod Element".
 void setArea(double area)
          Sets the cross-sectional area of the element.
 void setModulus(double modulus)
          Sets the material modulus of the element.
 java.lang.String toString()
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.solids.CurveElement
computeLength, getEndA, getEndB, getNodes, setNodeA, setNodeB, setNodes
 
Methods inherited from class org.jscience.physics.solids.AtlasElement
getNumberNodes
 
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 java.lang.String TYPE
DOCUMENT ME!

Constructor Detail

Rod3DElement

public Rod3DElement(java.lang.String id,
                    AtlasNode endA,
                    AtlasNode endB,
                    double area,
                    double modulus)
Full constructor of a BasicRodElement

Method Detail

setArea

public void setArea(double area)
Sets the cross-sectional area of the element.

Parameters:
area - DOCUMENT ME!

getArea

public double getArea()
Returns the cross-sectional area of the element.

Returns:
DOCUMENT ME!

setModulus

public void setModulus(double modulus)
Sets the material modulus of the element.

Parameters:
modulus - DOCUMENT ME!

getModulus

public double getModulus()
Returns the material modulus of the element.

Returns:
DOCUMENT ME!

contributeMatrices

public void contributeMatrices(SolutionMatrices m)
DOCUMENT ME!

Specified by:
contributeMatrices in class AtlasElement
Parameters:
m - DOCUMENT ME!

contributeStiffness

public void contributeStiffness(SolutionMatrices m)
DOCUMENT ME!

Parameters:
m - DOCUMENT ME!

contributeDistLoad

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

Specified by:
contributeDistLoad in class CurveElement
Parameters:
dl - DOCUMENT ME!
m - DOCUMENT ME!

getLocalCoordSys

public AtlasCoordSys getLocalCoordSys()
Returns element local coordinate system. X axis is from endA to endB, and Y axis is arbitrarily taken as a non-colinear vector.

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

getType

public java.lang.String getType()
Returns "Basic Rod Element".

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

computeElementVolume

public double computeElementVolume()
Volume of rod is cross-sectional area times length of element.

Returns:
DOCUMENT ME!

computeResults

public void computeResults(SolutionMatrices m)
DOCUMENT ME!

Specified by:
computeResults in class AtlasElement
Parameters:
m - DOCUMENT ME!

getResults

public java.util.ArrayList getResults()
DOCUMENT ME!

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

toString

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

Overrides:
toString in class AtlasObject
Returns:
DOCUMENT ME!