xc
BeamColumnWithSectionFDTrf3d.h
1 // -*-c++-*-
2 //----------------------------------------------------------------------------
3 // XC program; finite element analysis code
4 // for structural analysis and design.
5 //
6 // Copyright (C) Luis C. Pérez Tato
7 //
8 // This program derives from OpenSees <http://opensees.berkeley.edu>
9 // developed by the «Pacific earthquake engineering research center».
10 //
11 // Except for the restrictions that may arise from the copyright
12 // of the original program (see copyright_opensees.txt)
13 // XC is free software: you can redistribute it and/or modify
14 // it under the terms of the GNU General Public License as published by
15 // the Free Software Foundation, either version 3 of the License, or
16 // (at your option) any later version.
17 //
18 // This software is distributed in the hope that it will be useful, but
19 // WITHOUT ANY WARRANTY; without even the implied warranty of
20 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21 // GNU General Public License for more details.
22 //
23 //
24 // You should have received a copy of the GNU General Public License
25 // along with this program.
26 // If not, see <http://www.gnu.org/licenses/>.
27 //----------------------------------------------------------------------------
28 /* ****************************************************************** **
29 ** OpenSees - Open System for Earthquake Engineering Simulation **
30 ** Pacific Earthquake Engineering Research Center **
31 ** **
32 ** **
33 ** (C) Copyright 1999, The Regents of the University of California **
34 ** All Rights Reserved. **
35 ** **
36 ** Commercial use of this program without express permission of the **
37 ** University of California, Berkeley, is strictly prohibited. See **
38 ** file 'COPYRIGHT' in main directory for information on usage and **
39 ** redistribution, and for a DISCLAIMER OF ALL WARRANTIES. **
40 ** **
41 ** Developed by: **
42 ** Frank McKenna (fmckenna@ce.berkeley.edu) **
43 ** Gregory L. Fenves (fenves@ce.berkeley.edu) **
44 ** Filip C. Filippou (filippou@ce.berkeley.edu) **
45 ** **
46 ** ****************************************************************** */
47 
48 // $Revision: 1.11 $
49 // $Date: 2003/02/25 23:32:47 $
50 // $Source: /usr/local/cvs/OpenSees/SRC/element/beamWithHinges/BeamWithHinges3d.h,v $
51 
52 #ifndef BeamColumnWithSectionFDTrf3d_h
53 #define BeamColumnWithSectionFDTrf3d_h
54 
55 #include <domain/mesh/element/truss_beam_column/BeamColumnWithSectionFD.h>
56 
57 namespace XC {
58 class Node;
59 
60 class CrdTransf;
61 class CrdTransf3d;
62 
64 //
67  {
69  protected:
70  CrdTransf3d *theCoordTransf;
71 
72  int sendData(Communicator &comm);
73  int recvData(const Communicator &comm);
74 
75  void set_transf(const CrdTransf *trf);
76  public:
77  BeamColumnWithSectionFDTrf3d(int tag,int classTag,int numSec);
78  BeamColumnWithSectionFDTrf3d(int tag,int classTag,int numSec,const Material *mat,const CrdTransf *trf);
79  BeamColumnWithSectionFDTrf3d(int tag, int classTag,int numSec, int nodeI, int nodeJ,CrdTransf3d &coordTransf);
82  virtual CrdTransf *getCoordTransf(void);
83  virtual const CrdTransf *getCoordTransf(void) const;
84 
85  Vector getVDirStrongAxisLocalCoord(const size_t &i) const;
86  Vector getVDirWeakAxisLocalCoord(const size_t &i) const;
87  double getStrongAxisAngle(const size_t &i) const;
88  double getWeakAxisAngle(const size_t &i) const;
89  const Vector &getVDirStrongAxisGlobalCoord(const size_t &i, bool initialGeometry) const;
90  const Vector &getVDirWeakAxisGlobalCoord(const size_t &i, bool initialGeometry) const;
91  };
92 } // end of XC namespace
93 
94 #endif
~BeamColumnWithSectionFDTrf3d(void)
Destructor.
Definition: BeamColumnWithSectionFDTrf3d.cc:86
Float vector abstraction.
Definition: Vector.h:94
Communication parameters between processes.
Definition: Communicator.h:66
virtual CrdTransf * getCoordTransf(void)
Returns (if possible) a pointer to the coordinate transformation.
Definition: BeamColumnWithSectionFDTrf3d.cc:93
CrdTransf provides the abstraction of a frame coordinate transformation.
Definition: CrdTransf.h:88
Base class for materials.
Definition: Material.h:93
const Vector & getVDirWeakAxisGlobalCoord(const size_t &i, bool initialGeometry) const
Returns i-th cross section weak axis direction vector expressed in global coordinates.
Definition: BeamColumnWithSectionFDTrf3d.cc:177
int recvData(const Communicator &comm)
Receives members through the communicator argument.
Definition: BeamColumnWithSectionFDTrf3d.cc:204
3D beam colun element with PrismaticBarCrossSection material type.
Definition: BeamColumnWithSectionFDTrf3d.h:66
Vector getVDirStrongAxisLocalCoord(const size_t &i) const
Returns i-th cross section strong axis direction vector expressed in local coordinates.
Definition: BeamColumnWithSectionFDTrf3d.cc:101
double getStrongAxisAngle(const size_t &i) const
Returns the angle between i-th cross section strong axis and the local XZ plane.
Definition: BeamColumnWithSectionFDTrf3d.cc:143
Vector getVDirWeakAxisLocalCoord(const size_t &i) const
Returns i-th cross section weak axis direction vector expressed in local coordinates.
Definition: BeamColumnWithSectionFDTrf3d.cc:121
int sendData(Communicator &comm)
Send members through the communicator argument.
Definition: BeamColumnWithSectionFDTrf3d.cc:196
const Vector & getVDirStrongAxisGlobalCoord(const size_t &i, bool initialGeometry) const
Returns i-th cross section strong axis direction vector expressed in global coordinates.
Definition: BeamColumnWithSectionFDTrf3d.cc:158
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
double getWeakAxisAngle(const size_t &i) const
Returns the angle between i-th cross section weak axis and the local XZ plane.
Definition: BeamColumnWithSectionFDTrf3d.cc:151
Beam-column element with PrismaticBarCrossSection material.
Definition: BeamColumnWithSectionFD.h:43
Base class for 3D coordinate transformation.
Definition: CrdTransf3d.h:81