Beam2dTempLoad.hGo 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.3 $ 00022 // $Date: 2003/10/07 18:59:16 $ 00023 // $Source: /usr/local/cvs/OpenSees/SRC/domain/load/Beam2dTempLoad.h,v $ 00024 00025 #ifndef Beam2dTempLoad_h 00026 #define Beam2dTempLoad_h 00027 00028 // Written: Scott R. Hamilton 15 July 2002 00029 00030 // Purpose: This file contains the class definition for Beam2dTempLoad, 00031 // and is modeleed after Beam2dPointLoad by fmk. 00032 00033 #include <ElementalLoad.h> 00034 00035 class Beam2dTempLoad : public ElementalLoad 00036 { 00037 public: 00038 // Constructors based on 4, 2, 1 or 0 temperature changes given 00039 Beam2dTempLoad(int tag, 00040 double Ttop1, double Tbot1, double Ttop2, 00041 double Tbot2, 00042 const ID &theElementTags); 00043 00044 Beam2dTempLoad(int tag, 00045 double Tuniform, 00046 const ID &theElementTags); 00047 00048 Beam2dTempLoad(int tag, 00049 double Ttop, double Tbot, 00050 const ID &theElementTags); 00051 00052 Beam2dTempLoad(int tag, const ID &theElementTags); 00053 00054 Beam2dTempLoad(); 00055 00056 ~Beam2dTempLoad(); 00057 00058 const Vector &getData(int &type, double loadFactor); 00059 00060 int sendSelf(int commitTag, Channel &theChannel); 00061 int recvSelf(int commitTag, Channel &theChannel, 00062 FEM_ObjectBroker &theBroker); 00063 void Print(OPS_Stream &s, int flag =0); 00064 00065 protected: 00066 00067 private: 00068 double Ttop1; // Temp change at top node 1 end of member 00069 double Tbot1; // Temp change at bottom node 1 end of member 00070 double Ttop2; // Temp change at top node 2 end of member 00071 double Tbot2; // Temp change at bottom node 2 end of member 00072 static Vector data; // data for temp loads 00073 }; 00074 00075 #endif 00076 |