XC Open source finite element analysis program
ShellBData.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 //ShellBData.h,v $
28 
29 #ifndef ShellBData_h
30 #define ShellBData_h
31 
32 #include <cstdlib>
33 #include <vector>
34 
35 namespace XC {
36 
37 class Matrix;
38 
40 //
43  {
44  private:
45 
46  //B-bar data
47  std::vector<Matrix> GammaB1pointer;
48  std::vector<Matrix> GammaD1pointer;
49  std::vector<Matrix> GammaA2pointer;
50  std::vector<Matrix> GammaC2pointer;
51 
52  //Bhat data
53  std::vector<Matrix> Bhat;
54 
55 
56  void shear_matrix_ptrs_setup(void);
57  void bhat_setup(void);
58  public:
59  ShellBData(void);
60 
61  const Matrix &getGammaB1(const size_t &node) const;
62  Matrix &getGammaB1(const size_t &node);
63  const Matrix &getGammaD1(const size_t &node) const;
64  Matrix &getGammaD1(const size_t &node);
65  const Matrix &getGammaA2(const size_t &node) const;
66  Matrix &getGammaA2(const size_t &node);
67  const Matrix &getGammaC2(const size_t &node) const;
68  Matrix &getGammaC2(const size_t &node);
69  const Matrix &getBhat(const size_t &j) const;
70  Matrix &getBhat(const size_t &j);
71 
72  void ZeroBHat(void);
73  void DivideBHat(const double &);
74  const Matrix &computeBshear(const size_t &,const double shp[3][4] ) const;
75  const Matrix &computeBbarShear(const size_t &,const double &,const double &,const Matrix &) const;
76  void computeB(const double shp[3][4],const double &,const double &,const Matrix &,const double &);
77  };
78 
79 } // end of XC namespace
80 #endif
ShellBData(void)
Constructor.
Definition: ShellBData.cc:90
Auxiliary data for shell elements.
Definition: ShellBData.h:42
const Matrix & computeBbarShear(const size_t &, const double &, const double &, const Matrix &) const
compute Bbar shear matrix
Definition: ShellBData.cc:160
Definition: Matrix.h:82
const Matrix & computeBshear(const size_t &, const double shp[3][4]) const
compute standard Bshear matrix
Definition: ShellBData.cc:135
================================================================================
Definition: ContinuaReprComponent.h:34