net.cercis.jstruct.ui
Class Hele

java.lang.Object
  extended bynet.cercis.jstruct.ui.Hele

public class Hele
extends java.lang.Object

Hele Object. This object stores the information concerning an element load. It belongs to the Model and so, its variables are not final. Currently only an element load is available. It is of type 1 and is an uniformly distributed load along the element. Others loads may be added by defining their restraing nodal loads


Constructor Summary
Hele()
          Void Class Constructor
Hele(int id, int elem, int type, float q, float par)
          Class Constructor where all the values of the different variables are given
Hele(int id, java.lang.String cad)
          Class Constructor where the values are passed in a String that is tokenized to obtain the information
 
Method Summary
 float e_alpha()
          Returns the value of the angle of the element in radians
 float e_length()
          Returns the value of the length of the element
 int elem()
          Returns the value of the type of the element where the load is applied
 double fglobx_i()
          Returns the value of the restraining force in the global x axis in the first node
 double fglobx_j()
          Returns the value of the restraining force in the global x axis in the second node
 double fgloby_i()
          Returns the value of the restraining force in the global y axis in the first node
 double fgloby_j()
          Returns the value of the restraining force in the global y axis in the second node
 double fglobz_i()
          Returns the value of the restraining force in the global z axis in the first node
 double fglobz_j()
          Returns the value of the restraining force in the global z axis in the second node
 double flocM_i()
          Returns the value of the restraining force in the local z axis in the first node
 double flocM_j()
          Returns the value of the restraining force in the local z axis in the second node
 double flocN_i()
          Returns the value of the restraining force in the local x axis in the first node
 double flocN_j()
          Returns the value of the restraining force in the local x axis in the second node
 double flocQ_i()
          Returns the value of the restraining force in the local y axis in the first node
 double flocQ_j()
          Returns the value of the restraining force in the local y axis in the second node
 int id()
          Returns the value of the identifier of the element load
 int nic()
          Returns the value of the first calculation node of the element
 int njc()
          Returns the value of the second calculation node of the element
 int nodi()
          Returns the value of the first node of the element
 int nodj()
          Returns the value of the second node of the element
 float par()
          Returns the value of the auxiliary parameter.
 float q()
          Returns the value of the element load
 void setelem(int elem)
          Sets the number of element where the load is applied
 void setIdc(int nic, int njc)
          Sets the calculation nodes of the element
 void setpar(float par)
          Sets the value of the auxiliary parameter
 void setq(float q)
          Sets the value of the element load
 void setRestraintLoads(java.util.Map mnodes, java.util.Map melems)
          Calculates the value of the restraint loads (in globlal and local axis)
 void settype(int type)
          Sets the type of element load
 int type()
          Returns the value of the type of element load.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hele

public Hele(int id,
            java.lang.String cad)
Class Constructor where the values are passed in a String that is tokenized to obtain the information

Parameters:
id - Integer number with the identifier of the element load
cad - String where the information is passed and that has to be tokenized (elem - type of load - q.value of the load - par.angle or auxiliary parameter) in order

Hele

public Hele(int id,
            int elem,
            int type,
            float q,
            float par)
Class Constructor where all the values of the different variables are given

Parameters:
id - Integer number with the identifier of the element load
elem - Integer number with the number of the element where the load is applied
type - Integer number with the type of element load applied
q - Float number with the value of the element load applied
par - Float number with the value of the element load angle or other auxiliary value

Hele

public Hele()
Void Class Constructor

Method Detail

id

public int id()
Returns the value of the identifier of the element load

Returns:
Integer number with the value of the element load identifier

type

public int type()
Returns the value of the type of element load.

Returns:
Integer number with the type of element load

elem

public int elem()
Returns the value of the type of the element where the load is applied

Returns:
Integer number with the number of the element

q

public float q()
Returns the value of the element load

Returns:
Float number with the value of the load

par

public float par()
Returns the value of the auxiliary parameter. If the load is type 1, then the auxiliary parameter is the angle with the X axis

Returns:
Float number with the value of the additional parameter

nodi

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

Returns:
Integer number with the number of the first node of the element

nic

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

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

nodj

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

Returns:
Integer number with the number of the second node of the element

njc

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

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

setIdc

public void setIdc(int nic,
                   int njc)
Sets the calculation nodes of the element

Parameters:
nic - Integer number with the first calculation node
njc - Integer number with the second calculation node

e_length

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

Returns:
Float number with the value of the length of the element

e_alpha

public float e_alpha()
Returns the value of the angle of the element in radians

Returns:
Float number with the value of the angle of the element in radians

settype

public void settype(int type)
Sets the type of element load

Parameters:
type - Integer number with the type of element load

setelem

public void setelem(int elem)
Sets the number of element where the load is applied

Parameters:
elem - Integer number with the number of element where the load is applied

setq

public void setq(float q)
Sets the value of the element load

Parameters:
q - Float number with the value of the element load

setpar

public void setpar(float par)
Sets the value of the auxiliary parameter

Parameters:
par - Float number with the value of the auxiliary parameter

setRestraintLoads

public void setRestraintLoads(java.util.Map mnodes,
                              java.util.Map melems)
Calculates the value of the restraint loads (in globlal and local axis)

Parameters:
mnodes - Map containing the different objects of type Node
melems - Map containing the different objects of type Elem

fglobx_i

public double fglobx_i()
Returns the value of the restraining force in the global x axis in the first node

Returns:
Float number with the value of the restraining force in the global x axis in the first node

fgloby_i

public double fgloby_i()
Returns the value of the restraining force in the global y axis in the first node

Returns:
Float number with the value of the restraining force in the global y axis in the first node

fglobz_i

public double fglobz_i()
Returns the value of the restraining force in the global z axis in the first node

Returns:
Float number with the value of the restraining force in the global z axis in the first node

fglobx_j

public double fglobx_j()
Returns the value of the restraining force in the global x axis in the second node

Returns:
Float number with the value of the restraining force in the global x axis in the second node

fgloby_j

public double fgloby_j()
Returns the value of the restraining force in the global y axis in the second node

Returns:
Float number with the value of the restraining force in the global y axis in the second node

fglobz_j

public double fglobz_j()
Returns the value of the restraining force in the global z axis in the second node

Returns:
Float number with the value of the restraining force in the global z axis in the second node

flocN_i

public double flocN_i()
Returns the value of the restraining force in the local x axis in the first node

Returns:
Float number with the value of the restraining force in the local x axis in the first node

flocQ_i

public double flocQ_i()
Returns the value of the restraining force in the local y axis in the first node

Returns:
Float number with the value of the restraining force in the local y axis in the first node

flocM_i

public double flocM_i()
Returns the value of the restraining force in the local z axis in the first node

Returns:
Float number with the value of the restraining force in the local z axis in the first node

flocN_j

public double flocN_j()
Returns the value of the restraining force in the local x axis in the second node

Returns:
Float number with the value of the restraining force in the local x axis in the second node

flocQ_j

public double flocQ_j()
Returns the value of the restraining force in the local y axis in the second node

Returns:
Float number with the value of the restraining force in the local y axis in the second node

flocM_j

public double flocM_j()
Returns the value of the restraining force in the local z axis in the second node

Returns:
Float number with the value of the restraining force in the local z axis in the second node