xc
ShellNLCrdTransf3d.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 //ShellNLCrdTransf3d.h
29 
30 #ifndef ShellNLCrdTransf3d_h
31 #define ShellNLCrdTransf3d_h
32 
33 #include "ShellCrdTransf3dBase.h"
34 
35 namespace XC {
36 
37 class Matrix;
38 
40 //
43  {
44  public:
45  ShellNLCrdTransf3d(void);
46  ShellNLCrdTransf3d(const Vector &,const Vector &,const Vector &);
47  ShellNLCrdTransf3d(const NodePtrs &t);
48  virtual ShellCrdTransf3dBase *getCopy(void) const;
49 
50  virtual int initialize(const NodePtrs &);
51  virtual int update(void);
52 
53  virtual int commitState(void);
54  virtual int revertToLastCommit(void);
55  virtual int revertToStart(void);
56 
57  virtual Vector getBasicTrialDisp(const int &) const;
58  virtual Vector getBasicTrialVel(const int &) const;
59  virtual Vector getBasicTrialAccel(const int &) const;
60 
61  int sendSelf(Communicator &);
62  int recvSelf(const Communicator &);
63  };
64 
65 } // end of XC namespace
66 
67 #endif
Float vector abstraction.
Definition: Vector.h:94
int sendSelf(Communicator &)
Send the object through the communicator argument.
Definition: ShellNLCrdTransf3d.cc:228
Communication parameters between processes.
Definition: Communicator.h:66
virtual ShellCrdTransf3dBase * getCopy(void) const
Virtual constructor.
Definition: ShellNLCrdTransf3d.cc:54
virtual int initialize(const NodePtrs &)
Sets the transformation from the positions of the nodes.
Definition: ShellNLCrdTransf3d.cc:58
Base class for 3D coordinate transformations.
Definition: ShellCrdTransf3dBase.h:49
virtual Vector getBasicTrialVel(const int &) const
Returns the velocities vector expressed on the basic system.
Definition: ShellNLCrdTransf3d.cc:220
Element pointers to nodes.
Definition: NodePtrs.h:60
virtual int revertToStart(void)
Returns to the initial state.
Definition: ShellNLCrdTransf3d.cc:212
virtual int commitState(void)
Commits state (normally after convergence is achieved).
Definition: ShellNLCrdTransf3d.cc:202
Base class for small displacement 3D coordinate transformations.
Definition: ShellNLCrdTransf3d.h:42
Open source finite element program for structural analysis.
Definition: ContinuaReprComponent.h:35
virtual int update(void)
Updates the transformation.
Definition: ShellNLCrdTransf3d.cc:125
virtual Vector getBasicTrialAccel(const int &) const
Returns the accelerations vector expressed on the basic system.
Definition: ShellNLCrdTransf3d.cc:224
virtual int revertToLastCommit(void)
Returns to the las committed state.
Definition: ShellNLCrdTransf3d.cc:207
int recvSelf(const Communicator &)
Receives object through the communicator argument.
Definition: ShellNLCrdTransf3d.cc:243
virtual Vector getBasicTrialDisp(const int &) const
Returns the displacements vector expressed on the basic system.
Definition: ShellNLCrdTransf3d.cc:216
ShellNLCrdTransf3d(void)
Default constructor.
Definition: ShellNLCrdTransf3d.cc:40