net.cercis.jstruct.engine
Class NodeResForSolver

java.lang.Object
  extended bynet.cercis.jstruct.engine.NodeResForSolver

public class NodeResForSolver
extends java.lang.Object

NodeResForSolver Object. This object is used in the solution process performed by the Solver to store the results of the nodes and is not final. When this calculation ends, the node is stored into a Object called NodeRes.


Constructor Summary
NodeResForSolver(int id)
          Class Constructor when only the identifier of the Object is known
 
Method Summary
 int id()
          Returns the value of the identifier
 void setval(java.lang.String type, double dx, double dy, double dz)
          Sets the value (movement or reaction) for all coordinates
 double val(java.lang.String type, java.lang.String coor)
          Returns the value (movement or reaction) of a certain coordinate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeResForSolver

public NodeResForSolver(int id)
Class Constructor when only the identifier of the Object is known

Parameters:
id - Integer number with the identifier of the object
Method Detail

id

public int id()
Returns the value of the identifier

Returns:
Integer number with the value of the identifier

setval

public void setval(java.lang.String type,
                   double dx,
                   double dy,
                   double dz)
Sets the value (movement or reaction) for all coordinates

Parameters:
type - String containing the type of data to be stored "move" means to store a movement; "reac" means to store a reaction value
dx - Double number with the value in the X direction
dy - Double number with the value in the Y direction
dz - Double number with the value in the Z direction

val

public double val(java.lang.String type,
                  java.lang.String coor)
Returns the value (movement or reaction) of a certain coordinate

Parameters:
type - String containing the type of data to be stored "move" means to store a movement; "reac" means to store a reaction value
coor - String containing the direction where the value has to be stored. The possible values are "x"; "y" and "z"