34 #ifndef _NEWTONRAPHSON_HPP_ 35 #define _NEWTONRAPHSON_HPP_ 38 #include <Eigen/Dense> 39 #include <Eigen/SparseCore> 66 NewtonRaphson(std::unique_ptr<LinearSystem> &solver, std::shared_ptr<Mesh> &mesh,
double tol=1E-6,
unsigned int nIters=50,
unsigned int flag=1,
double ldFactor=0.02);
This file contains the abstract "LinearSystem object" declarations, which defines the library to solv...
Virtual class for defining how the solution between two steps is going to be carried out...
Definition: Algorithm.hpp:52
double LoadFactor
Incremental load factor.
Definition: NewtonRaphson.hpp:96
Eigen::VectorXd dU
Incremental displacement.
Definition: NewtonRaphson.hpp:102
double Tolerance
Convergence tolerance.
Definition: NewtonRaphson.hpp:93
unsigned int flag
Convergence test to be performed.
Definition: Algorithm.hpp:124
Class for solving a non-linear system in a few iterations until the norm of the residuals reaches a c...
Definition: NewtonRaphson.hpp:54
This file contains the "Load Combination" class declarations, which defines how the loads are going t...
void SetIntegrator(std::shared_ptr< Integrator > &integrator)
Sets the integrator for this algorithm.
~NewtonRaphson()
Destroys this NewtonRaphson object.
This file contains the "Integrator object" declarations, and defines how the dynamic solution between...
unsigned int nMaxIterations
Maximum allowed number of iterations.
Definition: NewtonRaphson.hpp:99
This file contains the "Mesh object" declarations, which stores nodes, materials, elements...
bool ComputeNewIncrement(std::shared_ptr< Mesh > &mesh, unsigned int i=0)
Computes a new incremental solution.
const Eigen::VectorXd & GetDisplacementIncrement()
Gets the displacement increment.
NewtonRaphson(std::unique_ptr< LinearSystem > &solver, std::shared_ptr< Mesh > &mesh, double tol=1E-6, unsigned int nIters=50, unsigned int flag=1, double ldFactor=0.02)
Creates a Linear object.
void SetLoadFactor(double factor)
Set the load factor.
std::shared_ptr< Integrator > theIntegrator
The time-domain integrator.
Definition: NewtonRaphson.hpp:108
std::unique_ptr< LinearSystem > theSolver
The linear system solver.
Definition: NewtonRaphson.hpp:105