Class for creating a dynamic analysis and updating the states variables in mesh. More...
#include <DynamicAnalysis.hpp>
Public Member Functions | |
DynamicAnalysis (std::shared_ptr< Mesh > &mesh, std::shared_ptr< Algorithm > &algorithm, std::shared_ptr< Integrator > &integrator, std::shared_ptr< LoadCombo > &loadcombo, unsigned int nSteps=0) | |
Creates a DynamicAnalysis object. More... | |
~DynamicAnalysis () | |
Destroys this DynamicAnalysis object. More... | |
bool | Analyze () |
Analyze the current incremental step. More... | |
void | UpdateDomain (unsigned int k) |
Performs changes in mesh. More... | |
Public Member Functions inherited from Analysis | |
Analysis (std::shared_ptr< LoadCombo > &loadcombo, unsigned int nteps) | |
Creates a Analysis object. More... | |
virtual | ~Analysis ()=0 |
Destroys this Analysis object. More... | |
void | UpdateMesh (std::shared_ptr< Mesh > &mesh, std::shared_ptr< Integrator > &integrator) |
Update internal variables in Mesh according to form of simulation. More... | |
void | SetRecorder (std::shared_ptr< Recorder > &recorder) |
Sets the recorder for the analysis. More... | |
std::string | GetCombinationName () |
Returns the combination name. More... | |
void | ReducedParallelReaction (Eigen::VectorXd &Reaction) |
Construct the reaction vector force from each processor. More... | |
Private Attributes | |
unsigned int | NumberOfTimeSteps |
Total number of time increments. More... | |
std::shared_ptr< Mesh > | theMesh |
The finite element mesh: More... | |
std::shared_ptr< Algorithm > | theAlgorithm |
The linear system algorithm. More... | |
std::shared_ptr< Integrator > | theIntegrator |
The dynamic integrator method. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from Analysis | |
void | StartRecorders (std::shared_ptr< Mesh > &mesh, unsigned int nsteps) |
Initialize recorder. More... | |
void | WriteRecorders (std::shared_ptr< Mesh > &mesh, unsigned int step) |
Writes information on the recorders. More... | |
void | EndRecorders () |
Finalize recorder. More... | |
void | PrintProgress (unsigned int percent) |
Prints out solving bar for the analysis. More... | |
Class for creating a dynamic analysis and updating the states variables in mesh.
DynamicAnalysis::DynamicAnalysis | ( | std::shared_ptr< Mesh > & | mesh, |
std::shared_ptr< Algorithm > & | algorithm, | ||
std::shared_ptr< Integrator > & | integrator, | ||
std::shared_ptr< LoadCombo > & | loadcombo, | ||
unsigned int | nSteps = 0 |
||
) |
Creates a DynamicAnalysis object.
mesh | Pointer to the Mesh container to extract Node and Element. |
algorithm | Pointer to the Algorithm to solve the linear system. |
integrator | Pointer to the Integrator to evolve the solution. |
loadcombo | Pointer to the LoadCombo to load the finite element model. |
nSteps | The current time step being solved. |
DynamicAnalysis::~DynamicAnalysis | ( | ) |
Destroys this DynamicAnalysis object.
|
virtual |
Analyze the current incremental step.
Implements Analysis.
void DynamicAnalysis::UpdateDomain | ( | unsigned int | k | ) |
|
private |
Total number of time increments.
|
private |
The linear system algorithm.
|
private |
The dynamic integrator method.
|
private |
The finite element mesh: