net.cercis.jstruct.output
Class ElemRes

java.lang.Object
  extended bynet.cercis.jstruct.output.ElemRes

public class ElemRes
extends java.lang.Object

ElemRes Object. This class stores the information obtained in the calculation process and that has been temporary stored in the ModResForSolver Object.


Constructor Summary
ElemRes(ElemResForSolver er)
          Class Constructor where a ElemResForSolver object is copied
 
Method Summary
 int id()
          Returns the value of the identifier
 int nodeI()
          Returns the value of the first node of the element
 int nodeJ()
          Returns the value of the second node of the element
 double val(java.lang.String type, java.lang.String coor)
          Returns the value (axial load, shear load or bending moment) in one of the two possible nodes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElemRes

public ElemRes(ElemResForSolver er)
Class Constructor where a ElemResForSolver object is copied

Parameters:
er - ElemResForSolver object to be copied
Method Detail

id

public int id()
Returns the value of the identifier

Returns:
String with the name of the identifier

val

public double val(java.lang.String type,
                  java.lang.String coor)
Returns the value (axial load, shear load or bending moment) in one of the two possible nodes

Parameters:
type - String containing the number of node whose value is desired "i" means first node; "j" means second node
coor - String containing the type of nodal load whose value is desired: "a" means axial load; "s" means shear load; "m" means bending moment
Returns:
Double value with the requested value

nodeI

public int nodeI()
Returns the value of the first node of the element

Returns:
Double value with the requested first node of the element

nodeJ

public int nodeJ()
Returns the value of the second node of the element

Returns:
Double value with the second node of the element