MAST
ug_flutter_solution.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__ug_flutter_solution_h__
21 #define __mast__ug_flutter_solution_h__
22 
23 // C++ includes
24 #include <vector>
25 
26 
27 // MAST includes
29 
30 
31 namespace MAST {
32 
33  // Forward declerations
34  class UGFlutterSolver;
35  class LAPACK_ZGGEV_Base;
36 
37 
40 
41  public:
42 
44 
48  virtual ~UGFlutterSolution();
49 
50 
54  void init (const MAST::UGFlutterSolver& solver,
55  const Real v_ref,
56  const Real b_ref,
57  const MAST::LAPACK_ZGGEV_Base& eig_sol);
58 
59 
67  virtual void sort(const MAST::FlutterSolutionBase& sol);
68 
69 
70 
74  virtual void print(std::ostream& output);
75 
76 
77  protected:
78 
83 
84  };
85 
86 }
87 
88 
89 #endif // __mast__ug_flutter_solution_h__
90 
ComplexMatrixX _Amat
Matrix used for scaling of eigenvectors, and sorting of roots.
libMesh::Real Real
virtual ~UGFlutterSolution()
delete the flutter root objects
virtual void print(std::ostream &output)
prints the data and modes from this solution
Matrix< Complex, Dynamic, Dynamic > ComplexMatrixX
void init(const MAST::UGFlutterSolver &solver, const Real v_ref, const Real b_ref, const MAST::LAPACK_ZGGEV_Base &eig_sol)
initializes the root
virtual void sort(const MAST::FlutterSolutionBase &sol)
sort this root with respect to the given solution from a previous eigen solution. ...
This implements a solver for a single parameter instability problem, for example a flutter solver whe...