HarmonicResponseAnalyzer for dynamic systems. More...
#include <harmonic_response_analyzer.h>
Public Types | |
| enum | Task { frequencyResponse, unknown } |
Public Types inherited from fmatvec::Atom | |
| enum | MsgType |
Public Member Functions | |
| HarmonicResponseAnalyzer () | |
| Standard constructor. | |
| void | execute () |
| Perform a harmonic response analysis of the system. | |
| void | setStartTime (double tStart_) |
| Set the start time for the analysis. More... | |
| void | setExcitationFrequencies (const fmatvec::VecV &fE_) |
| void | setSystemFrequencies (const fmatvec::VecV &fS_) |
| 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 |
| void | setOutputFileName (const std::string &fileName_) |
| Set the name of the output file. 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 | computeFrequencyResponse () |
Protected Member Functions inherited from fmatvec::Atom | |
| Atom (const Atom &src) | |
Protected Attributes | |
| fmatvec::Vec | zEq |
| fmatvec::Vec | zh |
| fmatvec::VecV | fE |
| fmatvec::VecV | fS |
| fmatvec::Mat | Zh |
| double | tStart |
| double | dtPlot |
| bool | compEq |
| Task | task |
| std::string | fileName |
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) |
HarmonicResponseAnalyzer for dynamic systems.
|
inline |
Set the initital state for the analysis.
| z0 | The initital state |
|
inline |
Set the name of the output file.
| fileName_ | The output file name |
|
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 |