31 #ifndef _ANALYSIS_HPP_ 32 #define _ANALYSIS_HPP_ 58 Analysis(std::shared_ptr<LoadCombo> &loadcombo,
unsigned int nteps);
71 void UpdateMesh(std::shared_ptr<Mesh> &mesh, std::shared_ptr<Integrator> &integrator);
76 void SetRecorder(std::shared_ptr<Recorder> &recorder);
92 void StartRecorders(std::shared_ptr<Mesh> &mesh,
unsigned int nsteps);
97 void WriteRecorders(std::shared_ptr<Mesh> &mesh,
unsigned int step);
void WriteRecorders(std::shared_ptr< Mesh > &mesh, unsigned int step)
Writes information on the recorders.
unsigned int NumberOfSteps
Total number of time increments.
Definition: Analysis.hpp:108
This file contains the "Load Combination" class declarations, which defines how the loads are going t...
void EndRecorders()
Finalize recorder.
Analysis(std::shared_ptr< LoadCombo > &loadcombo, unsigned int nteps)
Creates a Analysis object.
This file contains the "Recorder object" declarations, for which Node, Element, Section responses are...
std::string GetCombinationName()
Returns the combination name.
std::shared_ptr< LoadCombo > theLoadCombo
The load combination to be used.
Definition: Analysis.hpp:111
void StartRecorders(std::shared_ptr< Mesh > &mesh, unsigned int nsteps)
Initialize recorder.
void PrintProgress(unsigned int percent)
Prints out solving bar for the analysis.
virtual ~Analysis()=0
Destroys this Analysis object.
void UpdateMesh(std::shared_ptr< Mesh > &mesh, std::shared_ptr< Integrator > &integrator)
Update internal variables in Mesh according to form of simulation.
Virtual class for defining the analysis type to be performed.
Definition: Analysis.hpp:52
This file contains the "Integrator object" declarations, and defines how the dynamic solution between...
void SetRecorder(std::shared_ptr< Recorder > &recorder)
Sets the recorder for the analysis.
void ReducedParallelReaction(Eigen::VectorXd &Reaction)
Construct the reaction vector force from each processor.
virtual bool Analyze()=0
Performs the required analysis on the domain.
This file contains the "Mesh object" declarations, which stores nodes, materials, elements...
std::vector< std::unique_ptr< Recorder > > theRecorders
The recorder associated to analysis.
Definition: Analysis.hpp:114