Flow123d
master-eb60559f2
|
Go to the documentation of this file.
19 #ifndef LA_LINSYS_PERMON_HH_
20 #define LA_LINSYS_PERMON_HH_
26 #include "permonqps.h"
65 void view(
string text=
"")
override;
90 return static_cast<double>(
arg );
static const Input::Type::Record & get_input_type()
LinSys_PETSC::SolveInfo solve() override
T * makePetscPointer_(std::vector< T > &array)
double get_absolute_accuracy() override
Mat matrix_ineq_
PETSc matrix of inequality constraint.
Solver based on the original PETSc solver using MPIAIJ matrix and succesive Schur complement construc...
double get_solution_precision() override
static const int registrar
Registrar of class to factory.
LinSys_PERMON(const Distribution *rows_ds, const std::string ¶ms="")
void view(string text="") override
double a_tol_
absolute tolerance of linear solver
double operator()(PetscScalar arg)
double compute_residual() override
void set_inequality(Mat matrix_ineq, Vec ineq)
unsigned int size() const
internal::NamedArg< char > arg(StringRef name, const T &arg)
Vec ineq_
PETSc vector of inequality constraint.