LESM
Class Drv

LESM.Drv

public class Drv

This is a class that defines an object that drives the structural analysis in the LESM program


Field Summary
(package private)  Anm anm
          Handle to an object of the Anm class
(package private)  double[] D
          Global displacement vector
(package private)  Elem[] elems
          Vector of handles to objects of the Elem class
(package private)  double[] F
          Global forcing vector
(package private)  int[][] ID
          Global degree of freedom numbering matrix
(package private)  double[][] K
          Global stiffness matrix
(package private)  Material[] materials
          Vector of handles to objects of the Material class
(package private)  int nel
          Number of elements
(package private)  int neq
          Number of equations
(package private)  int neqfixed
          Number of equations of fixed degrees of freedom
(package private)  int neqfree
          Number of equations of free degrees of freedom
(package private)  int nmat
          Number of materials
(package private)  int nnp
          Number of nodal points
(package private)  Node[] nodes
          Vector of handles to objects of the Node class
(package private)  int nsec
          Number of cross-sections
(package private)  Section[] sections
          Vector of handles to objects of the Section class
 
Method Summary
 void assembleDOFNum()
          Assembles global degree of freedom numbering matrix
 void assembleElemMtx(double[][] keg, int e)
          Assembles element stiffness matrix to global stiffness matrix
 void assembleENL(double[] feg, int e)
          Assembles equivalent nodal load vector to global forcing vector
 void assembleGle()
          Assembles elements gather vector
 void clean()
          Destructor method
 void dimKFD()
          Dimensions and initializes global stiffness matrix, global forcing vector, and global displacement vector
 Drv Drv()
          Constructor method
 void elemIntDispl()
          Computes element internal displacements
 void elemIntForce()
          Computes element internal forces on element ends
 void elemLoads()
          Adds equivalent nodal loads to global forcing vector
 void fictRotConstraint(int fict)
          Creates or removes fictitious rotation constraints on nodes where all incident elements are hinged, to force global stability
 void gblMtx()
          Assembles global stiffness matrix
 int process()
          Processes current model data according to the direct stiffness method
 int solveEqnSystem()
          Partitions and solves the system of equations
 

Field Detail

anm

Anm anm
Handle to an object of the Anm class


materials

Material[] materials
Vector of handles to objects of the Material class


sections

Section[] sections
Vector of handles to objects of the Section class


nodes

Node[] nodes
Vector of handles to objects of the Node class


elems

Elem[] elems
Vector of handles to objects of the Elem class


K

double[][] K
Global stiffness matrix


F

double[] F
Global forcing vector


D

double[] D
Global displacement vector


ID

int[][] ID
Global degree of freedom numbering matrix


nmat

int nmat
Number of materials


nsec

int nsec
Number of cross-sections


nnp

int nnp
Number of nodal points


nel

int nel
Number of elements


neq

int neq
Number of equations


neqfree

int neqfree
Number of equations of free degrees of freedom


neqfixed

int neqfixed
Number of equations of fixed degrees of freedom

Method Detail

Drv

public Drv Drv()
Constructor method


fictRotConstraint

public void fictRotConstraint(int fict)
Creates or removes fictitious rotation constraints on nodes where all incident elements are hinged, to force global stability


dimKFD

public void dimKFD()
Dimensions and initializes global stiffness matrix, global forcing vector, and global displacement vector


assembleDOFNum

public void assembleDOFNum()
Assembles global degree of freedom numbering matrix


assembleGle

public void assembleGle()
Assembles elements gather vector


gblMtx

public void gblMtx()
Assembles global stiffness matrix


assembleElemMtx

public void assembleElemMtx(double[][] keg,
                            int e)
Assembles element stiffness matrix to global stiffness matrix


elemLoads

public void elemLoads()
Adds equivalent nodal loads to global forcing vector


assembleENL

public void assembleENL(double[] feg,
                        int e)
Assembles equivalent nodal load vector to global forcing vector


solveEqnSystem

public int solveEqnSystem()
Partitions and solves the system of equations


elemIntForce

public void elemIntForce()
Computes element internal forces on element ends


elemIntDispl

public void elemIntDispl()
Computes element internal displacements


process

public int process()
Processes current model data according to the direct stiffness method


clean

public void clean()
Destructor method