XC Open source finite element analysis program
FVectorShell.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 //FVectorShell.h
28 
29 #ifndef FVectorShell_h
30 #define FVectorShell_h
31 
32 #include "domain/mesh/element/utils/fvectors/FVectorData.h"
33 
34 namespace XC {
35 class Vector;
36 
38 //
40 class FVectorShell: public FVectorData<24>
41  {
42  public:
43  FVectorShell(void);
44  FVectorShell(const FVectorShell &otro);
45  explicit FVectorShell(const Vector &);
46  FVectorShell &operator=(const FVectorShell &otro);
47  void zero(void);
48 
49  FVectorShell &operator*=(const double &d);
50  FVectorShell &operator+=(const FVectorShell &otro);
51  FVectorShell &operator-=(const FVectorShell &otro);
52 
53  void addForce(const size_t &inod,const double &,const double &,const double &);
54  void addMoment(const size_t &inod,const double &,const double &,const double &);
55 
56  void Print(std::ostream &os) const;
57  };
58 
59 } // end of XC namespace
60 
61 #endif
62 
63 
Definition: Vector.h:82
Auxiliary class for the internal forces in a beam-column element.
Definition: FVectorData.h:43
FVectorShell(void)
Default constructor.
Definition: FVectorShell.cc:33
void addForce(const size_t &inod, const double &, const double &, const double &)
Adds the force being passed as parameter.
Definition: FVectorShell.cc:247
Ingernal forces for a shell element.
Definition: FVectorShell.h:40
FVectorShell & operator=(const FVectorShell &otro)
Assignment operator.
Definition: FVectorShell.cc:102
================================================================================
Definition: ContinuaReprComponent.h:34
void addMoment(const size_t &inod, const double &, const double &, const double &)
Adds the bending moment being passed as parameter.
Definition: FVectorShell.cc:259