org.jscience.physics.solids.element
Class Beam2DElement

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.Beam2DElement
All Implemented Interfaces:
java.lang.Comparable

public class Beam2DElement
extends CurveElement

DOCUMENT ME!


Field Summary
protected  java.lang.String TYPE
          DOCUMENT ME!
 
Constructor Summary
Beam2DElement(java.lang.String id, AtlasNode endA, AtlasNode endB, AtlasSection sect, BeamMat mat1)
          Full constructor of a BasicBeamElement
 
Method Summary
 double computeElementVolume()
          Volume of rod is cross-sectional area times length of element.
 void computeResults(SolutionMatrices m)
          DOCUMENT ME!
 void computeResults(SolutionMatrices m, double r, double s)
          DOCUMENT ME!
 void contributeDistLoad(DistLoad dl, SolutionMatrices m)
          DOCUMENT ME!
 void contributeMatrices(SolutionMatrices m)
          DOCUMENT ME!
 void contributeStiffness(SolutionMatrices m)
          DOCUMENT ME!
 DoubleMatrix getFe(DistLoad dl)
          DOCUMENT ME!
 AtlasCoordSys getLocalCoordSys()
          Returns element local coordinate system.
 BeamMat getMat()
          Returns the material modulus of the element.
 AtlasSection getProp()
          Returns the cross-sectional area of the element.
 java.util.ArrayList getResults()
          DOCUMENT ME!
 java.lang.String getType()
          Returns "Basic Rod Element".
 void setMat(BeamMat mat)
          Sets the material modulus of the element.
 void setProp(AtlasSection sect)
          Sets the cross-sectional area 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

Beam2DElement

public Beam2DElement(java.lang.String id,
                     AtlasNode endA,
                     AtlasNode endB,
                     AtlasSection sect,
                     BeamMat mat1)
Full constructor of a BasicBeamElement

Method Detail

setProp

public void setProp(AtlasSection sect)
Sets the cross-sectional area of the element.

Parameters:
sect - DOCUMENT ME!

getProp

public AtlasSection getProp()
Returns the cross-sectional area of the element.

Returns:
DOCUMENT ME!

setMat

public void setMat(BeamMat mat)
Sets the material modulus of the element.

Parameters:
mat - DOCUMENT ME!

getMat

public BeamMat getMat()
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!

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!

computeResults

public void computeResults(SolutionMatrices m,
                           double r,
                           double s)
DOCUMENT ME!

Parameters:
m - DOCUMENT ME!
r - DOCUMENT ME!
s - 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!

getFe

public DoubleMatrix getFe(DistLoad dl)
DOCUMENT ME!

Parameters:
dl - DOCUMENT ME!
Returns:
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!