MAST
multilayer_2d_section_element_property_card.h
Go to the documentation of this file.
1 /*
2  * MAST: Multidisciplinary-design Adaptation and Sensitivity Toolkit
3  * Copyright (C) 2013-2019 Manav Bhatia
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
18  */
19 
20 #ifndef __mast__multilayer_2d_section_element_property_card__
21 #define __mast__multilayer_2d_section_element_property_card__
22 
23 
24 
25 // MAST includes
27 
28 
29 namespace MAST {
30 
31  // Forward declerations
32  class Solid2DSectionElementPropertyCard;
33 
34 
36 
37  public:
38 
41  { }
42 
43 
48 
52  virtual unsigned int dim() const;
53 
54 
62  void set_layers(const Real base,
63  std::vector<MAST::Solid2DSectionElementPropertyCard*>& layers);
64 
65 
69  const std::vector<MAST::Solid2DSectionElementPropertyCard*>& get_layers() const;
70 
74  virtual bool if_isotropic() const;
75 
79  virtual bool depends_on(const MAST::FunctionBase& f) const;
80 
81 
82 
83  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
85 
86  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
88 
89  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
91 
92  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
94 
95  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
97 
98  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
100 
101  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
103 
104  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
106 
107  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
109 
110  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
112 
113 
114  protected:
115 
116  std::vector<MAST::FieldFunction<Real>*> _layer_offsets;
117 
121  std::vector<MAST::Solid2DSectionElementPropertyCard*> _layers;
122  };
123 
124 }
125 
126 
127 
128 #endif // __mast__multilayer_2d_section_element_property_card__
virtual bool if_isotropic() const
return true if the property is isotropic
const std::vector< MAST::Solid2DSectionElementPropertyCard * > & get_layers() const
returns the layers of this section
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > damping_matrix(const MAST::ElementBase &e)
virtual unsigned int dim() const
dimension of the element for which this property is defined
void set_layers(const Real base, std::vector< MAST::Solid2DSectionElementPropertyCard * > &layers)
sets the layers of this section.
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > prestress_A_matrix(MAST::ElementBase &e)
libMesh::Real Real
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > thermal_expansion_A_matrix(const MAST::ElementBase &e)
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > prestress_B_matrix(MAST::ElementBase &e)
virtual bool depends_on(const MAST::FunctionBase &f) const
returns true if the property card depends on the function f
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > thermal_expansion_B_matrix(const MAST::ElementBase &e)
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > stiffness_D_matrix(const MAST::ElementBase &e)
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > inertia_matrix(const MAST::ElementBase &e)
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > transverse_shear_stiffness_matrix(const MAST::ElementBase &e)
std::vector< MAST::Solid2DSectionElementPropertyCard * > _layers
vector of thickness function for each layer
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > stiffness_A_matrix(const MAST::ElementBase &e)
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > stiffness_B_matrix(const MAST::ElementBase &e)
This is the base class for elements that implement calculation of finite element quantities over the ...
Definition: elem_base.h:72