Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PDeltaCrdTransf3d.h

Go to the documentation of this file.
00001 /* ****************************************************************** **
00002 **    OpenSees - Open System for Earthquake Engineering Simulation    **
00003 **          Pacific Earthquake Engineering Research Center            **
00004 **                                                                    **
00005 **                                                                    **
00006 ** (C) Copyright 1999, The Regents of the University of California    **
00007 ** All Rights Reserved.                                               **
00008 **                                                                    **
00009 ** Commercial use of this program without express permission of the   **
00010 ** University of California, Berkeley, is strictly prohibited.  See   **
00011 ** file 'COPYRIGHT'  in main directory for information on usage and   **
00012 ** redistribution,  and for a DISCLAIMER OF ALL WARRANTIES.           **
00013 **                                                                    **
00014 ** Developed by:                                                      **
00015 **   Frank McKenna (fmckenna@ce.berkeley.edu)                         **
00016 **   Gregory L. Fenves (fenves@ce.berkeley.edu)                       **
00017 **   Filip C. Filippou (filippou@ce.berkeley.edu)                     **
00018 **                                                                    **
00019 ** ****************************************************************** */
00020                                                                         
00021 // $Revision: 1.1 $
00022 // $Date: 2001/06/05 06:01:09 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/coordTransformation/PDeltaCrdTransf3d.h,v $
00024                                                                         
00025                                                                         
00026 // File: ~/crdTransf/PDeltaCrdTransf3d.h
00027 //
00028 // Written: Remo Magalhaes de Souza (rmsouza@ce.berkeley.edu)
00029 // Created: 04/2000
00030 // Revision: A
00031 //
00032 // Description: This file contains the class definition for
00033 // PDeltaCrdTransf3d.h. PDeltaCrdTransf3d provides the
00034 // abstraction of a linear transformation for a spatial frame
00035 // between the global and basic coordinate systems
00036 
00037 // What: "@(#) PDeltaCrdTransf3d.h, revA"
00038 
00039 #ifndef PDeltaCrdTransf3d_h
00040 #define PDeltaCrdTransf3d_h
00041 
00042 #include <CrdTransf3d.h>
00043 #include <Vector.h>
00044 #include <Matrix.h>
00045 
00047 class PDeltaCrdTransf3d: public CrdTransf3d
00048 {
00049   public:
00051     PDeltaCrdTransf3d (int tag, const Vector &vecInLocXZPlane);
00053     PDeltaCrdTransf3d (int tag, const Vector &vecInLocXZPlane,
00054   const Vector &rigJntOffsetI,
00055   const Vector &rigJntOffsetJ);
00056     
00058     PDeltaCrdTransf3d();
00060     ~PDeltaCrdTransf3d();
00061 
00063     int    initialize(Node *node1Pointer, Node *node2Pointer);
00065     int    update(void);
00067     double getInitialLength(void);
00069     double getDeformedLength(void);
00070 
00072     int commitState(void);
00074     int revertToLastCommit(void);        
00076     int revertToStart(void);
00077     
00079     const Vector &getBasicTrialDisp     (void);
00081     const Vector &getBasicIncrDisp      (void);
00083     const Vector &getBasicIncrDeltaDisp (void);
00084 
00086     const Vector &getGlobalResistingForce (const Vector &basicForce, const Vector &uniformLoad);
00088     const Matrix &getGlobalStiffMatrix    (const Matrix &basicStiff, const Vector &basicForce);
00089 
00091     CrdTransf3d *getCopy(void);
00092     
00094     int sendSelf(int cTag, Channel &theChannel);
00096     int recvSelf(int cTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00097 
00099     void Print(ostream &s, int flag =0);
00100   
00102     const Vector &getPointGlobalCoordFromLocal (const Vector &localCoords);
00104     const Vector &getPointGlobalDisplFromBasic (double xi, const Vector &basicDisps);
00105   
00106   private:
00108     int  computeElemtLengthAndOrient (void);
00110     int  getLocalAxes (void);
00111 
00113     Node *nodeIPtr, 
00114   *nodeJPtr;          
00115 
00116     double *nodeIOffset, *nodeJOffset; 
00117 
00118     double R[3][3]; 
00119 
00120     double L;                
00121  double ul17; 
00122  double ul28;
00123 };
00124 
00125 #endif
00126 
00127 ÿ
Copyright Contact Us