|
mbsim
4.0.0
MBSim Kernel
|
Eigenanalyzer for dynamic systems. More...
#include <eigenanalyzer.h>
Public Types | |
| enum | Task { eigenmodes, eigenmotion, unknown } |
Public Types inherited from fmatvec::Atom | |
| enum | MsgType |
Public Member Functions | |
| Eigenanalyzer () | |
| Standard constructor. | |
| void | execute () |
| Perform an eigenanalysis of the system. | |
| void | setInitialDeviation (const fmatvec::Vec &deltaz0_) |
| Set the initial deviation of the equilibrium. More... | |
| void | setAmplitude (double A_) |
| Set the amplitude of all modes for animation. More... | |
| void | setModeAmplitudeTable (const fmatvec::Matrix< fmatvec::General, fmatvec::Var, fmatvec::Fixed< 2 >, double > &MA_) |
| Set the amplitude per mode for animation. More... | |
| void | setLoops (double loops_) |
| Set the number of loops for animation of each mode. More... | |
| void | setStartTime (double tStart_) |
| Set the start time for the analysis. More... | |
| void | setEndTime (double tEnd_) |
| Set the end time for the analysis. More... | |
| void | setPlotStepSize (double dtPlot_) |
| Set the plot step size for the analysis. More... | |
| void | setInitialState (const fmatvec::Vec &z0) |
| Set the initital state for the analysis. More... | |
| void | setTask (Task task_) |
| const fmatvec::Vec & | getInitialState () const |
| const fmatvec::Vector< fmatvec::Ref, std::complex< double > > & | getEigenvalues () const |
| Get the eigenvalues. More... | |
| const fmatvec::SquareMatrix< fmatvec::Ref, std::complex< double > > & | getEigenvectors () const |
| Get the eigenvectors. More... | |
| fmatvec::Vec | getEigenfrequencies () const |
| Get the eigenfrequencies. More... | |
| void | initializeUsingXML (xercesc::DOMElement *element) |
Public Member Functions inherited from MBSim::Solver | |
| Solver () | |
| constructor | |
| ~Solver () override=default | |
| destructor | |
| void | throwError (const std::string &msg) const |
| void | setSystem (DynamicSystemSolver *s) |
| MBSim::DynamicSystemSolver * | getSystem () |
| const MBXMLUtils::DOMEvalException & | getDOMEvalError () const |
Public Member Functions inherited from fmatvec::Atom | |
| Atom & | operator= (const Atom &) |
| void | setMessageStreamActive (MsgType type, bool activeFlag) |
| void | getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const |
| void | adoptMessageStreams (const Atom *src=nullptr) |
| std::ostream & | msg (MsgType type) const |
| bool | msgAct (MsgType type) const |
Protected Member Functions | |
| void | saveEigenanalyis () |
| void | computeEigenvalues () |
| void | computeEigenmodes () |
| void | computeEigenmotion () |
Protected Member Functions inherited from fmatvec::Atom | |
| Atom (const Atom &src) | |
Protected Attributes | |
| fmatvec::Vec | zEq |
| fmatvec::Vec | deltaz0 |
| fmatvec::SqrMat | A_ |
| double | tStart |
| double | tEnd |
| double | dtPlot |
| double | A |
| int | loops |
| int | plotsPerLoop |
| Task | task |
| fmatvec::SquareMatrix< fmatvec::Ref, std::complex< double > > | V |
| fmatvec::Vector< fmatvec::Ref, std::complex< double > > | w |
| std::vector< std::pair< double, int > > | f |
| fmatvec::Matrix< fmatvec::General, fmatvec::Var, fmatvec::Fixed< 2 >, double > | MA |
Protected Attributes inherited from MBSim::Solver | |
| MBSim::DynamicSystemSolver * | system |
| dynamic system | |
| MBXMLUtils::DOMEvalException | domEvalError |
| Special XML helper variable. | |
Additional Inherited Members | |
Static Public Member Functions inherited from fmatvec::Atom | |
| static void | setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf())) |
| static std::ostream & | msgStatic (MsgType type) |
| static bool | msgActStatic (MsgType type) |
Eigenanalyzer for dynamic systems.
| Vec MBSim::Eigenanalyzer::getEigenfrequencies | ( | ) | const |
Get the eigenfrequencies.
|
inline |
Get the eigenvalues.
|
inline |
Get the eigenvectors.
|
inline |
Set the amplitude of all modes for animation.
| A_ | The amplitude |
|
inline |
Set the end time for the analysis.
| tEnd_ | The end time |
|
inline |
Set the initial deviation of the equilibrium.
| deltaz_ | The deviation |
|
inline |
Set the initital state for the analysis.
| z0 | The initital state |
|
inline |
Set the number of loops for animation of each mode.
| loops_ | The number of loops |
|
inline |
Set the amplitude per mode for animation.
| A_ | A table with mode number and amplitude |
|
inline |
Set the plot step size for the analysis.
| dtPlot_ | The plot step size |
|
inline |
Set the start time for the analysis.
| tStart_ | The start time |