MAST
time_domain_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__time_domain_flutter_solution_h__
21 #define __mast__time_domain_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 TimeDomainFlutterSolver;
35  class LAPACK_DGGEV;
36 
37 
40 
41  public:
43 
48 
49 
53  void init (const MAST::TimeDomainFlutterSolver& solver,
54  const Real v_ref,
55  const MAST::LAPACK_DGGEV& eig_sol);
56 
61  unsigned int n_unstable_roots_in_upper_complex_half (Real tol) const;
62 
70  virtual void sort(const MAST::FlutterSolutionBase& sol);
71 
72 
76  virtual void print(std::ostream& output);
77 
78 
83 
84 
85  protected:
86 
91 
92  };
93 
94 }
95 
96 
97 #endif // __mast__time_domain_flutter_solution_h__
98 
virtual void print(std::ostream &output)
prints the data and modes from this solution
unsigned int n_unstable_roots_in_upper_complex_half(Real tol) const
number of unstable roots in this solution.
libMesh::Real Real
virtual ~TimeDomainFlutterSolution()
delete the flutter root objects
void init(const MAST::TimeDomainFlutterSolver &solver, const Real v_ref, const MAST::LAPACK_DGGEV &eig_sol)
initializes the root
Matrix< Real, Dynamic, Dynamic > RealMatrixX
MAST::FlutterRootBase * get_critical_root(Real tol)
RealMatrixX _Amat
Matrix used for scaling of eigenvectors, and sorting of roots.
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...