xc
SmallDispCrdTransf3d.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 //SmallDispCrdTransf3d.h
29 
30 #ifndef SmallDispCrdTransf3d_h
31 #define SmallDispCrdTransf3d_h
32 
33 #include "CrdTransf3d.h"
34 
35 namespace XC {
36 
38 //
41  {
42  const Matrix &computeRW(const Vector &nodeOffset) const;
43  protected:
44  virtual int computeElemtLengthAndOrient(void) const;
45  virtual int computeLocalAxis(void) const;
46  Vector &basic_to_local_resisting_force(const Vector &pb, const Vector &p0) const;
47  const Vector &local_to_global_resisting_force(const Vector &pl) const;
48  Matrix &basic_to_local_stiff_matrix(const Matrix &KB) const;
49  const Matrix &local_to_global_stiff_matrix(const Matrix &kl) const;
50  DbTagData &getDbTagData(void) const;
51  public:
52  SmallDispCrdTransf3d(int tag, int classTag);
53  SmallDispCrdTransf3d(int tag, int classTag, const Vector &vecInLocXZPlane);
54 
55  double getInitialLength(void) const;
56  double getDeformedLength(void) const;
57 
58  const Vector &getBasicTrialDisp(void) const;
59  const Vector &getBasicIncrDisp(void) const;
60  const Vector &getBasicIncrDeltaDisp(void) const;
61  const Vector &getBasicTrialVel(void) const;
62  const Vector &getBasicTrialAccel(void) const;
63 
64  const Matrix &getInitialGlobalStiffMatrix(const Matrix &basicStiff) const;
65 
66  int sendSelf(Communicator &);
67  int recvSelf(const Communicator &);
68  };
69 } // end of XC namespace
70 
71 #endif
Float vector abstraction.
Definition: Vector.h:94
Communication parameters between processes.
Definition: Communicator.h:66
double getDeformedLength(void) const
Return the length of the deformed element.
Definition: SmallDispCrdTransf3d.cc:145
Vector that stores the dbTags of the class members.
Definition: DbTagData.h:44
double getInitialLength(void) const
Return the initial length of the element.
Definition: SmallDispCrdTransf3d.cc:140
int recvSelf(const Communicator &)
Receives object members through the communicator argument.
Definition: SmallDispCrdTransf3d.cc:484
int sendSelf(Communicator &)
Sends object members through the communicator argument.
Definition: SmallDispCrdTransf3d.cc:468
Base class for small displacements 3D coordinate transformations.
Definition: SmallDispCrdTransf3d.h:40
Vector & basic_to_local_resisting_force(const Vector &pb, const Vector &p0) const
Transform resisting forces from the basic system to local coordinates.
Definition: SmallDispCrdTransf3d.cc:255
DbTagData & getDbTagData(void) const
Returns a vector to store the dbTags of the class members.
Definition: SmallDispCrdTransf3d.cc:461
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
Matrix of floats.
Definition: Matrix.h:111
const Vector & getBasicTrialDisp(void) const
Returns the displacements of the element to which the transformation belongs Returns the following qu...
Definition: SmallDispCrdTransf3d.cc:157
SmallDispCrdTransf3d(int tag, int classTag)
Default constructor.
Definition: SmallDispCrdTransf3d.cc:36
Base class for 3D coordinate transformation.
Definition: CrdTransf3d.h:81