XC Open source finite element analysis program
ShellLinearCrdTransf3d.h
1 //----------------------------------------------------------------------------
2 // XC program; finite element analysis code
3 // for structural analysis and design.
4 //
5 // Copyright (C) Luis Claudio Pérez Tato
6 //
7 // This program derives from OpenSees <http://opensees.berkeley.edu>
8 // developed by the «Pacific earthquake engineering research center».
9 //
10 // Except for the restrictions that may arise from the copyright
11 // of the original program (see copyright_opensees.txt)
12 // XC is free software: you can redistribute it and/or modify
13 // it under the terms of the GNU General Public License as published by
14 // the Free Software Foundation, either version 3 of the License, or
15 // (at your option) any later version.
16 //
17 // This software is distributed in the hope that it will be useful, but
18 // WITHOUT ANY WARRANTY; without even the implied warranty of
19 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
20 // GNU General Public License for more details.
21 //
22 //
23 // You should have received a copy of the GNU General Public License
24 // along with this program.
25 // If not, see <http://www.gnu.org/licenses/>.
26 //----------------------------------------------------------------------------
27 //ShellLinearCrdTransf3d.h
28 
29 #ifndef ShellLinearCrdTransf3d_h
30 #define ShellLinearCrdTransf3d_h
31 
32 #include "ShellCrdTransf3dBase.h"
33 
34 namespace XC {
35 
36 class Matrix;
37 
39 //
42  {
43  protected:
44  const Vector &local_to_global_resisting_force(const Vector &pl) const;
45  const Matrix &local_to_global_stiff_matrix(const Matrix &kl) const;
46  public:
48  ShellLinearCrdTransf3d(const Vector &,const Vector &,const Vector &);
50  virtual ShellCrdTransf3dBase *getCopy(void) const;
51 
52  virtual int initialize(const NodePtrs &);
53  virtual int update(void);
54 
55  virtual int commitState(void);
56  virtual int revertToLastCommit(void);
57  virtual int revertToStart(void);
58 
59  virtual Vector getBasicTrialDisp(const int &) const;
60  virtual Vector getBasicTrialVel(const int &) const;
61  virtual Vector getBasicTrialAccel(const int &) const;
62 
63  virtual const Vector &getGlobalResistingForce(const Vector &p0) const;
64 
65  int sendSelf(CommParameters &);
66  int recvSelf(const CommParameters &);
67  };
68 
69 } // end of XC namespace
70 
71 #endif
int recvSelf(const CommParameters &)
Receives object through the channel being passed as parameter.
Definition: ShellLinearCrdTransf3d.cc:194
ShellLinearCrdTransf3d(void)
Default constructor.
Definition: ShellLinearCrdTransf3d.cc:40
virtual int revertToStart(void)
Returns to the initial state.
Definition: ShellLinearCrdTransf3d.cc:139
Definition: Vector.h:82
const Vector & local_to_global_resisting_force(const Vector &pl) const
Returs the load vector in global coordinates.
Definition: ShellLinearCrdTransf3d.cc:155
virtual Vector getBasicTrialVel(const int &) const
Returns the vector de velocidades expresado en el sistema básico.
Definition: ShellLinearCrdTransf3d.cc:147
int sendSelf(CommParameters &)
Envia el objeto through the channel being passed as parameter.
Definition: ShellLinearCrdTransf3d.cc:180
virtual int initialize(const NodePtrs &)
Sets the transformation from the positions of the nodes.
Definition: ShellLinearCrdTransf3d.cc:58
virtual ShellCrdTransf3dBase * getCopy(void) const
Virtual constructor.
Definition: ShellLinearCrdTransf3d.cc:54
Pointers to nodes.
Definition: NodePtrs.h:54
const Matrix & local_to_global_stiff_matrix(const Matrix &kl) const
Returns the stiffenes matrix in global coordinates.
Definition: ShellLinearCrdTransf3d.cc:166
Definition: Matrix.h:82
Base class for small displacement 3D coordinate transformations.
Definition: ShellLinearCrdTransf3d.h:41
virtual Vector getBasicTrialDisp(const int &) const
Returns the vector de desplazamientos expresado en el sistema básico.
Definition: ShellLinearCrdTransf3d.cc:143
virtual int commitState(void)
Commits state (normally after convergence is achieved).
Definition: ShellLinearCrdTransf3d.cc:129
virtual const Vector & getGlobalResistingForce(const Vector &p0) const
Returns the load vector expresado en el sistema global of the element.
Definition: ShellLinearCrdTransf3d.cc:176
virtual Vector getBasicTrialAccel(const int &) const
Returns the vector de aceleraciones expresado en el sistema básico.
Definition: ShellLinearCrdTransf3d.cc:151
virtual int revertToLastCommit(void)
Returns to the las commited state.
Definition: ShellLinearCrdTransf3d.cc:134
Communication parameters between processes.
Definition: CommParameters.h:65
virtual int update(void)
Updates the transformation.
Definition: ShellLinearCrdTransf3d.cc:125
================================================================================
Definition: ContinuaReprComponent.h:34
Base class for 3D coordinate transformations.
Definition: ShellCrdTransf3dBase.h:48