MAST
Multidisciplinary-design Adaptation and Sensitivity Toolkit (MAST)
MAST::FlutterSolutionBase Class Referenceabstract

Detailed Description

Definition at line 38 of file flutter_solution_base.h.

#include <flutter_solution_base.h>

Inheritance diagram for MAST::FlutterSolutionBase:

Public Member Functions

 FlutterSolutionBase ()
 
virtual ~FlutterSolutionBase ()
 delete the flutter root objects More...
 
const MAST::FlutterRootBaseget_root (const unsigned int i) const
 
MAST::FlutterRootBaseget_root (const unsigned int i)
 
unsigned int n_roots () const
 number of roots in this solution More...
 
virtual void print (std::ostream &output)=0
 prints the data and modes from this solution More...
 
Real ref_val () const
 the reduced frequency for this solution More...
 
virtual void sort (const MAST::FlutterSolutionBase &sol)=0
 sort this root with respect to the given solution from a previous eigen solution. More...
 
void swap_root (MAST::FlutterSolutionBase &sol, unsigned int root_num)
 

Protected Attributes

Real _ref_val
 Reference value of the sweeping parameter for which this solution was obtained. More...
 
std::vector< MAST::FlutterRootBase * > _roots
 

Constructor & Destructor Documentation

◆ FlutterSolutionBase()

MAST::FlutterSolutionBase::FlutterSolutionBase ( )
inline

Definition at line 41 of file flutter_solution_base.h.

◆ ~FlutterSolutionBase()

MAST::FlutterSolutionBase::~FlutterSolutionBase ( )
virtual

delete the flutter root objects

Definition at line 26 of file flutter_solution_base.cpp.

Member Function Documentation

◆ get_root() [1/2]

const MAST::FlutterRootBase& MAST::FlutterSolutionBase::get_root ( const unsigned int  i) const
inline
Returns
the root

Definition at line 70 of file flutter_solution_base.h.

◆ get_root() [2/2]

MAST::FlutterRootBase& MAST::FlutterSolutionBase::get_root ( const unsigned int  i)
inline
Returns
a non-const reference to the root

Definition at line 81 of file flutter_solution_base.h.

◆ n_roots()

unsigned int MAST::FlutterSolutionBase::n_roots ( ) const
inline

number of roots in this solution

Definition at line 61 of file flutter_solution_base.h.

◆ print()

virtual void MAST::FlutterSolutionBase::print ( std::ostream &  output)
pure virtual

prints the data and modes from this solution

Implemented in MAST::TimeDomainFlutterSolution, MAST::PKFlutterSolution, and MAST::UGFlutterSolution.

◆ ref_val()

Real MAST::FlutterSolutionBase::ref_val ( ) const
inline

the reduced frequency for this solution

Definition at line 54 of file flutter_solution_base.h.

◆ sort()

virtual void MAST::FlutterSolutionBase::sort ( const MAST::FlutterSolutionBase sol)
pure virtual

sort this root with respect to the given solution from a previous eigen solution.

This method relies on the modal participation. Flutter roots from previous and current solutions with highest dot product of modal participation vector are considered to be similar.

Implemented in MAST::TimeDomainFlutterSolution, MAST::PKFlutterSolution, and MAST::UGFlutterSolution.

◆ swap_root()

void MAST::FlutterSolutionBase::swap_root ( MAST::FlutterSolutionBase sol,
unsigned int  root_num 
)

Definition at line 38 of file flutter_solution_base.cpp.

Member Data Documentation

◆ _ref_val

Real MAST::FlutterSolutionBase::_ref_val
protected

Reference value of the sweeping parameter for which this solution was obtained.

For UG solver, this is k_red, and for time domain solver this could be velocity. PK solver will need additional reference values, provided in the inherited class.

Definition at line 119 of file flutter_solution_base.h.

◆ _roots

std::vector<MAST::FlutterRootBase*> MAST::FlutterSolutionBase::_roots
protected

Definition at line 121 of file flutter_solution_base.h.


The documentation for this class was generated from the following files: