MAST
multilayer_1d_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_1d_section_element_property_card__
21 #define __mast__multilayer_1d_section_element_property_card__
22 
23 
24 // MAST includes
26 
27 
28 namespace MAST {
29 
30  // Forward declerations
31  class Solid1DSectionElementPropertyCard;
32 
33 
36 
37  public:
38 
41  { }
42 
43 
48 
49 
57  void set_layers(const Real base,
58  std::vector<MAST::Solid1DSectionElementPropertyCard*>& layers);
59 
60 
64  const std::vector<MAST::Solid1DSectionElementPropertyCard*>& get_layers() const;
65 
66 
70  virtual bool if_isotropic() const;
71 
72 
76  virtual bool depends_on(const MAST::FunctionBase& f) const;
77 
78 
79  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
81 
82  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
84 
85  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
87 
88  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
90 
91  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
93 
94  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
96 
97  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
99 
100  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
102 
103  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
105 
106  virtual std::unique_ptr<MAST::FieldFunction<RealMatrixX> >
108 
109 
110  protected:
111 
112  std::vector<MAST::FieldFunction<Real>*> _layer_offsets;
113 
117  std::vector<MAST::Solid1DSectionElementPropertyCard*> _layers;
118  };
119 
120 }
121 
122 
123 
124 
125 #endif // __mast__multilayer_1d_section_element_property_card__
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > damping_matrix(const MAST::ElementBase &e)
virtual bool if_isotropic() const
return true if the property is isotropic
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > stiffness_D_matrix(const 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 > > inertia_matrix(const MAST::ElementBase &e)
std::vector< MAST::Solid1DSectionElementPropertyCard * > _layers
vector of thickness function for each layer
libMesh::Real Real
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > prestress_A_matrix(MAST::ElementBase &e)
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > thermal_expansion_A_matrix(const MAST::ElementBase &e)
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > stiffness_B_matrix(const MAST::ElementBase &e)
const std::vector< MAST::Solid1DSectionElementPropertyCard * > & get_layers() const
returns the layers of this section
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > prestress_B_matrix(MAST::ElementBase &e)
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > transverse_shear_stiffness_matrix(const MAST::ElementBase &e)
void set_layers(const Real base, std::vector< MAST::Solid1DSectionElementPropertyCard * > &layers)
sets the layers of this section.
virtual std::unique_ptr< MAST::FieldFunction< RealMatrixX > > stiffness_A_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