10 #if !defined(KRATOS_EIGEN_DENSE_HOUSEHOLDER_QR_SOLVER_H_INCLUDED)
11 #define KRATOS_EIGEN_DENSE_HOUSEHOLDER_QR_SOLVER_H_INCLUDED
22 template <
typename TScalar =
double>
31 Eigen::HouseholderQR<Matrix> m_solver;
36 return "complex_dense_householder_qr";
50 bool Solve(Eigen::Ref<const Vector>
b, Eigen::Ref<Vector>
x)
const
52 x = m_solver.solve(
b);
59 x = m_solver.solve(
b);
66 rOStream <<
"EigenDirectSolver <" <<
Name() <<
"> finished.";
71 return "No additional information";
Definition: eigen_dense_householder_qr_solver.h:24
bool Solve(Eigen::Ref< const Vector > b, Eigen::Ref< Vector > x) const
Definition: eigen_dense_householder_qr_solver.h:50
TScalar Scalar
Definition: eigen_dense_householder_qr_solver.h:26
Kratos::EigenDynamicVector< Scalar > Vector
Definition: eigen_dense_householder_qr_solver.h:28
bool SolveMultiple(Eigen::Ref< const Matrix > b, Eigen::Ref< Matrix > x) const
Definition: eigen_dense_householder_qr_solver.h:57
static std::string Name()
Definition: eigen_dense_householder_qr_solver.h:34
Kratos::EigenDynamicMatrix< Scalar > Matrix
Definition: eigen_dense_householder_qr_solver.h:27
void Initialize(Parameters settings)
Definition: eigen_dense_householder_qr_solver.h:39
void PrintInfo(std::ostream &rOStream) const
Definition: eigen_dense_householder_qr_solver.h:64
std::string GetSolverErrorMessages() const
Definition: eigen_dense_householder_qr_solver.h:69
bool Compute(Eigen::Map< Matrix > a)
Definition: eigen_dense_householder_qr_solver.h:43
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