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

PDeltaCrdTransf2d.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/05/30 07:14:38 $
00023 // $Source: /usr/local/cvs/OpenSees/SRC/coordTransformation/PDeltaCrdTransf2d.h,v $
00024                                                                         
00025                                                                         
00026 // File: ~/crdTransf/PDeltaCrdTransf2d.h
00027 //
00028 // Written: Remo Magalhaes de Souza (rmsouza@ce.berkeley.edu)
00029 // Created: 04/2000
00030 // Revision: A
00031 //
00032 // Modified: May 2001 
00033 //
00034 // Description: This file contains the class definition for
00035 // PDeltaCrdTransf2d.h. PDeltaCrdTransf2d provides the
00036 // abstraction of a linear transformation for a spatial frame
00037 // between the global and basic coordinate systems
00038 
00039 // What: "@(#) PDeltaCrdTransf2d.h, revA"
00040 
00041 #ifndef PDeltaCrdTransf2d_h
00042 #define PDeltaCrdTransf2d_h
00043 
00044 #include <CrdTransf2d.h>
00045 #include <Vector.h>
00046 #include <Matrix.h>
00047 
00049 class PDeltaCrdTransf2d: public CrdTransf2d
00050 {
00051   public:
00053     PDeltaCrdTransf2d (int tag);
00055     PDeltaCrdTransf2d (int tag,
00056   const Vector &rigJntOffsetI,
00057   const Vector &rigJntOffsetJ);
00058     
00060     PDeltaCrdTransf2d();
00062     ~PDeltaCrdTransf2d();
00063 
00065     int    initialize(Node *node1Pointer, Node *node2Pointer);
00067     int    update(void);
00069     double getInitialLength(void);
00071     double getDeformedLength(void);
00072 
00074     int commitState(void);
00076     int revertToLastCommit(void);        
00078     int revertToStart(void);
00079     
00081     const Vector &getBasicTrialDisp     (void);
00083     const Vector &getBasicIncrDisp      (void);
00085     const Vector &getBasicIncrDeltaDisp (void);
00086 
00088     const Vector &getGlobalResistingForce (const Vector &basicForce, const Vector &uniformLoad);
00090     const Matrix &getGlobalStiffMatrix    (const Matrix &basicStiff, const Vector &basicForce);
00091 
00093     CrdTransf2d *getCopy(void);
00094     
00096     int sendSelf(int cTag, Channel &theChannel);
00098     int recvSelf(int cTag, Channel &theChannel, FEM_ObjectBroker &theBroker);
00099 
00101     void Print(ostream &s, int flag =0);
00102   
00104     const Vector &getPointGlobalCoordFromLocal (const Vector &localCoords);
00106     const Vector &getPointGlobalDisplFromBasic (double xi, const Vector &basicDisps);
00107   
00108   private:
00110     int  computeElemtLengthAndOrient (void);
00111     
00113     Node *nodeIPtr, 
00114   *nodeJPtr;          
00115 
00116     double *nodeIOffset, *nodeJOffset; 
00117 
00118     double cosTheta, sinTheta;
00119 
00121     double L;                
00122  double ul14; // Transverse local displacement offset of P-Delta
00123 };
00124 
00125 #endif
00126 
00127 ÿ
Copyright Contact Us