MAST
structural_buckling_eigenproblem_elem_operations.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 
21 #ifndef __mast__structural_buckling_eigenproblem_elem_operations_h__
22 #define __mast__structural_buckling_eigenproblem_elem_operations_h__
23 
24 
25 // MAST includes
27 
28 
29 namespace MAST {
30 
33 
34  public:
35 
37 
39 
43  virtual void
44  set_elem_data(unsigned int dim,
45  const libMesh::Elem& ref_elem,
46  MAST::GeomElem& elem) const;
47 
53  virtual void
54  init(const MAST::GeomElem& elem);
55 
61  virtual void
63  RealMatrixX& mat_B);
64 
70  virtual void
72  bool base_sol,
73  RealMatrixX& mat_A,
74  RealMatrixX& mat_B);
75 
76  protected:
77 
78  };
79 }
80 
81 
82 #endif // __mast__structural_buckling_eigenproblem_elem_operations_h__
virtual void set_elem_data(unsigned int dim, const libMesh::Elem &ref_elem, MAST::GeomElem &elem) const
sets the structural element y-vector if 1D element is used.
virtual void init(const MAST::GeomElem &elem)
initializes the object for the geometric element elem.
Matrix< Real, Dynamic, Dynamic > RealMatrixX
This class acts as a wrapper around libMesh::Elem for the purpose of providing a uniform interface fo...
Definition: geom_elem.h:59
virtual void elem_calculations(RealMatrixX &mat_A, RealMatrixX &mat_B)
performs the element calculations over elem, and returns the element matrices for the eigenproblem ...
virtual void elem_sensitivity_calculations(const MAST::FunctionBase &f, bool base_sol, RealMatrixX &mat_A, RealMatrixX &mat_B)
performs the element sensitivity calculations over elem, and returns the element matrices for the eig...