10 #if !defined(KRATOS_EIGEN_DENSE_COL_PIV_HOUSEHOLDER_QR_SOLVER_H_INCLUDED)
11 #define KRATOS_EIGEN_DENSE_COL_PIV_HOUSEHOLDER_QR_SOLVER_H_INCLUDED
22 template <
typename TScalar =
double>
31 Eigen::ColPivHouseholderQR<Matrix> m_solver;
36 return "complex_dense_col_piv_householder_qr";
47 const bool success = m_solver.info() == Eigen::Success;
52 bool Solve(Eigen::Ref<const Vector>
b, Eigen::Ref<Vector>
x)
const
54 x = m_solver.solve(
b);
56 const bool success = m_solver.info() == Eigen::Success;
63 x = m_solver.solve(
b);
65 const bool success = m_solver.info() == Eigen::Success;
72 rOStream <<
"EigenDirectSolver <" <<
Name() <<
"> finished.";
77 return "No additional information";
Definition: eigen_dense_col_piv_householder_qr_solver.h:24
bool SolveMultiple(Eigen::Ref< const Matrix > b, Eigen::Ref< Matrix > x) const
Definition: eigen_dense_col_piv_householder_qr_solver.h:61
void Initialize(Parameters settings)
Definition: eigen_dense_col_piv_householder_qr_solver.h:39
std::string GetSolverErrorMessages() const
Definition: eigen_dense_col_piv_householder_qr_solver.h:75
bool Compute(Eigen::Map< Matrix > a)
Definition: eigen_dense_col_piv_householder_qr_solver.h:43
bool Solve(Eigen::Ref< const Vector > b, Eigen::Ref< Vector > x) const
Definition: eigen_dense_col_piv_householder_qr_solver.h:52
Kratos::EigenDynamicMatrix< Scalar > Matrix
Definition: eigen_dense_col_piv_householder_qr_solver.h:27
void PrintInfo(std::ostream &rOStream) const
Definition: eigen_dense_col_piv_householder_qr_solver.h:70
Kratos::EigenDynamicVector< Scalar > Vector
Definition: eigen_dense_col_piv_householder_qr_solver.h:28
static std::string Name()
Definition: eigen_dense_col_piv_householder_qr_solver.h:34
TScalar Scalar
Definition: eigen_dense_col_piv_householder_qr_solver.h:26
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
Eigen::Matrix< _Scalar, Eigen::Dynamic, Eigen::Dynamic, Eigen::RowMajor > EigenDynamicMatrix
Definition: linear_solvers_define.h:32
Eigen::Matrix< _Scalar, Eigen::Dynamic, 1 > EigenDynamicVector
Definition: linear_solvers_define.h:33
a
Definition: generate_stokes_twofluid_element.py:77
b
Definition: generate_total_lagrangian_mixed_volumetric_strain_element.py:31
x
Definition: sensitivityMatrix.py:49