33 #ifndef _EIGENSOLVER_HPP_ 34 #define _EIGENSOLVER_HPP_ 36 #include <Eigen/Dense> 37 #include <Eigen/SparseCore> 38 #include <Eigen/SparseCholesky> 67 bool SolveSystem(Eigen::SparseMatrix<double> &A, Eigen::VectorXd &b);
88 Eigen::SimplicialLDLT<Eigen::SparseMatrix<double> >
Solver;
This file contains the abstract "LinearSystem object" declarations, which defines the library to solv...
~EigenSolver()
Destroys this EigenSolver object.
Eigen::VectorXd x
Vector of unknowns.
Definition: EigenSolver.hpp:85
Eigen::SimplicialLDLT< Eigen::SparseMatrix< double > > Solver
Direct LDLT factorization solver.
Definition: EigenSolver.hpp:88
bool Initialized
Eigen Initialization Flag.
Definition: EigenSolver.hpp:82
Class for solving a linear system using a Cholesky-decomposition on the effective stiffness matrix...
Definition: EigenSolver.hpp:49
bool Flag
Analysis flag.
Definition: EigenSolver.hpp:76
bool SolveSystem(Eigen::SparseMatrix< double > &A, Eigen::VectorXd &b)
Solve the linear system.
Virtual class for solving a linear system of the form Ax = b.
Definition: LinearSystem.hpp:44
const Eigen::VectorXd & GetSolution()
Gets the soultion vector.
bool Factored
Eigen Factorization Flag.
Definition: EigenSolver.hpp:79
EigenSolver(bool flag=false)
Creates a EigenSolver object.