net.cercis.jstruct.input
Class ElemCalc

java.lang.Object
  extended bynet.cercis.jstruct.input.ElemCalc

public class ElemCalc
extends java.lang.Object

ElemCalc Object. This object stores the information of the element of the model that is going to be calculated. So, all of its variables are final.


Constructor Summary
ElemCalc(int id, int mate, int nod_i, int nod_j, int nic, int njc, float length, float alpha)
          Class Constructor where the values are stored
 
Method Summary
 float alpha()
          Returns the value of the angle of the element with the X axis
 int id()
          Returns the value of the identifier
 float length()
          Returns the value of the length of the element
 int mate()
          Returns the value of the material of the element
 int ni()
          Returns the value of the first node
 int nic()
          Returns the value of the first calculation node
 int nj()
          Returns the value of the second node
 int njc()
          Returns the value of the second calculation node
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElemCalc

public ElemCalc(int id,
                int mate,
                int nod_i,
                int nod_j,
                int nic,
                int njc,
                float length,
                float alpha)
Class Constructor where the values are stored

Parameters:
id - Integer number identifier of the element
mate - Float Integer number identifier of the material
nod_i - Integer number identifier of the first node
nod_j - Integer number identifier of the second node
nic - Integer number identifier of the first calculation node
njc - Integer number identifier of the second calculation node
length - Float number with the value of the length of the element
alpha - Float number with the value of the angle of the element
Method Detail

id

public int id()
Returns the value of the identifier

Returns:
Integer number with the value of the identifier

mate

public int mate()
Returns the value of the material of the element

Returns:
Integer number with the value of the material identifier

ni

public int ni()
Returns the value of the first node

Returns:
Integer number with the value of the first node

nic

public int nic()
Returns the value of the first calculation node

Returns:
Integer number with the value of the first calculation node

nj

public int nj()
Returns the value of the second node

Returns:
Integer number with the value of the second node

njc

public int njc()
Returns the value of the second calculation node

Returns:
Integer number with the value of the second calculation node

length

public float length()
Returns the value of the length of the element

Returns:
Float number with the length of the element

alpha

public float alpha()
Returns the value of the angle of the element with the X axis

Returns:
Float number with the value of the angle of the element with the X axis