net.cercis.jstruct.input
Class LsprCalc

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

public class LsprCalc
extends java.lang.Object

LsprCalc Object. This object stores the information of the linear springs of the model that is going to be calculated


Constructor Summary
LsprCalc(int node, int nodeCalc, float kx, float ky, float kz)
          Class Constructor where the final values are stored
 
Method Summary
 float kx()
          Returns the value of the spring constant in the x direction
 float ky()
          Returns the value of the spring constant in the y direction
 float kz()
          Returns the value of the spring constant in the z direction
 int nc()
          Returns the value of the calculation node identifier
 int node()
          Returns the value of the node identifier
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LsprCalc

public LsprCalc(int node,
                int nodeCalc,
                float kx,
                float ky,
                float kz)
Class Constructor where the final values are stored

Parameters:
node - Integer number with the identifier of the node where the linear spring is applied
nodeCalc - Integer number with the calculation identifier of the node where the linear spring is applied
kx - Float number storing the spring constant in the x direction
ky - Float number storing the spring constant in the y direction
kz - Float number storing the spring constant in the z direction
Method Detail

nc

public int nc()
Returns the value of the calculation node identifier

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

node

public int node()
Returns the value of the node identifier

Returns:
Integer number with the value of the node identifier

kx

public float kx()
Returns the value of the spring constant in the x direction

Returns:
Float number with the value of the spring constant in the x direction

ky

public float ky()
Returns the value of the spring constant in the y direction

Returns:
Float number with the value of the spring constant in the y direction

kz

public float kz()
Returns the value of the spring constant in the z direction

Returns:
Float number with the value of the spring constant in the z direction