Class for creating an static analysis and updating the states variables in mesh. More...
#include <StaticAnalysis.hpp>
Public Member Functions | |
StaticAnalysis (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 StaticAnalysis object. More... | |
~StaticAnalysis () | |
Destroys this StaticAnalysis 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 | NumberOfSteps |
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 static 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 an static analysis and updating the states variables in mesh.
StaticAnalysis::StaticAnalysis | ( | 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 StaticAnalysis 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. |
StaticAnalysis::~StaticAnalysis | ( | ) |
Destroys this StaticAnalysis object.
|
virtual |
Analyze the current incremental step.
Implements Analysis.
void StaticAnalysis::UpdateDomain | ( | unsigned int | k | ) |
|
private |
Total number of time increments.
|
private |
The linear system algorithm.
|
private |
The static integrator method.
|
private |
The finite element mesh: