20 #ifndef _HARMONIC_RESPONSE_ANALYSER_H_
21 #define _HARMONIC_RESPONSE_ANALYSER_H_
23 #include "fmatvec/fmatvec.h"
24 #include "mbsim/functions/function.h"
25 #include "mbsim/solver.h"
37 enum Task { frequencyResponse, unknown };
55 void setExcitationFrequencies(
const fmatvec::VecV& fE_) { fE = fE_; }
57 void setSystemFrequencies(
const fmatvec::VecV& fS_) { fS = fS_; }
71 void setTask(Task task_) { task = task_; }
73 const fmatvec::Vec& getInitialState()
const {
return zEq; }
81 void initializeUsingXML(xercesc::DOMElement *element);
88 double tStart, dtPlot;
94 void computeFrequencyResponse();
void setStartTime(double tStart_)
Set the start time for the analysis.
Definition: harmonic_response_analyzer.h:53
solver-interface for dynamic systems
Definition: solver.h:38
HarmonicResponseAnalyzer for dynamic systems.
Definition: harmonic_response_analyzer.h:33
void setInitialState(const fmatvec::Vec &z0)
Set the initital state for the analysis.
Definition: harmonic_response_analyzer.h:69
void setOutputFileName(const std::string &fileName_)
Set the name of the output file.
Definition: harmonic_response_analyzer.h:79
void setPlotStepSize(double dtPlot_)
Set the plot step size for the analysis.
Definition: harmonic_response_analyzer.h:63
HarmonicResponseAnalyzer()
Standard constructor.
Definition: harmonic_response_analyzer.h:42
void execute()
Perform a harmonic response analysis of the system.
Definition: harmonic_response_analyzer.cc:35