Virtual class for defining the analysis type to be performed.
More...
#include <Analysis.hpp>
Virtual class for defining the analysis type to be performed.
- See also
- StaticAnalysis.hpp DynamicAnalysis.hpp
◆ Analysis()
Analysis::Analysis |
( |
std::shared_ptr< LoadCombo > & |
loadcombo, |
|
|
unsigned int |
nteps |
|
) |
| |
Creates a Analysis object.
- Parameters
-
loadcombo | Pointer to the LoadCombo object. |
nteps | The number of time steps to evolve solution. |
◆ ~Analysis()
virtual Analysis::~Analysis |
( |
| ) |
|
|
pure virtual |
◆ Analyze()
virtual bool Analysis::Analyze |
( |
| ) |
|
|
pure virtual |
Performs the required analysis on the domain.
- Returns
- Whether or not the analysis was successful.
Implemented in StaticAnalysis, and DynamicAnalysis.
◆ EndRecorders()
void Analysis::EndRecorders |
( |
| ) |
|
|
protected |
◆ GetCombinationName()
std::string Analysis::GetCombinationName |
( |
| ) |
|
Returns the combination name.
- Returns
- The analysis combination name.
◆ PrintProgress()
void Analysis::PrintProgress |
( |
unsigned int |
percent | ) |
|
|
protected |
Prints out solving bar for the analysis.
- Parameters
-
percent | The progress bar percentage in analysis. |
◆ ReducedParallelReaction()
void Analysis::ReducedParallelReaction |
( |
Eigen::VectorXd & |
Reaction | ) |
|
Construct the reaction vector force from each processor.
- Parameters
-
Reaction | The reaction vector in this partition. |
numberOfTotalDofs | The number of total degree-of-freedom. |
- Note
- In parallel execution Reaction is gathered across processors.
◆ SetRecorder()
void Analysis::SetRecorder |
( |
std::shared_ptr< Recorder > & |
recorder | ) |
|
Sets the recorder for the analysis.
- Parameters
-
recorder | Pointer to the recorder where solution is stored. |
- See also
- Analysis::theRecorders.
◆ StartRecorders()
void Analysis::StartRecorders |
( |
std::shared_ptr< Mesh > & |
mesh, |
|
|
unsigned int |
nsteps |
|
) |
| |
|
protected |
Initialize recorder.
- Parameters
-
mesh | Pointer to the Mesh object. |
nsteps | The number of time steps to be recorded. |
◆ UpdateMesh()
void Analysis::UpdateMesh |
( |
std::shared_ptr< Mesh > & |
mesh, |
|
|
std::shared_ptr< Integrator > & |
integrator |
|
) |
| |
Update internal variables in Mesh according to form of simulation.
- Parameters
-
mesh | The finite element mesh object where changes are performed |
integrator | The integrator object where changed are taken from |
- See also
- Mesh::Nodes Mesh::Elements.
◆ WriteRecorders()
void Analysis::WriteRecorders |
( |
std::shared_ptr< Mesh > & |
mesh, |
|
|
unsigned int |
step |
|
) |
| |
|
protected |
Writes information on the recorders.
- Parameters
-
mesh | Pointer to the Mesh object. |
step | The time step to be recorded. |
◆ NumberOfSteps
unsigned int Analysis::NumberOfSteps |
|
private |
Total number of time increments.
◆ theLoadCombo
std::shared_ptr<LoadCombo> Analysis::theLoadCombo |
|
private |
The load combination to be used.
◆ theRecorders
std::vector<std::unique_ptr<Recorder> > Analysis::theRecorders |
|
private |
The recorder associated to analysis.