Chi-Tech
chi_math::PETScUtils::PETScSolverSetup Struct Reference

#include <petsc_utils.h>

Data Fields

KSP ksp
 
PC pc
 
std::string in_solver_name = "KSPSolver"
 
std::string solver_type = KSPGMRES
 
std::string preconditioner_type = PCNONE
 
double relative_residual_tol = 1.0e-6
 
int maximum_iterations = 100
 

Detailed Description

Generalized solver structure.

Definition at line 15 of file petsc_utils.h.

Field Documentation

◆ in_solver_name

std::string chi_math::PETScUtils::PETScSolverSetup::in_solver_name = "KSPSolver"

Definition at line 20 of file petsc_utils.h.

◆ ksp

KSP chi_math::PETScUtils::PETScSolverSetup::ksp

Definition at line 17 of file petsc_utils.h.

◆ maximum_iterations

int chi_math::PETScUtils::PETScSolverSetup::maximum_iterations = 100

Definition at line 26 of file petsc_utils.h.

◆ pc

PC chi_math::PETScUtils::PETScSolverSetup::pc

Definition at line 18 of file petsc_utils.h.

◆ preconditioner_type

std::string chi_math::PETScUtils::PETScSolverSetup::preconditioner_type = PCNONE

Definition at line 23 of file petsc_utils.h.

◆ relative_residual_tol

double chi_math::PETScUtils::PETScSolverSetup::relative_residual_tol = 1.0e-6

Definition at line 25 of file petsc_utils.h.

◆ solver_type

std::string chi_math::PETScUtils::PETScSolverSetup::solver_type = KSPGMRES

Definition at line 22 of file petsc_utils.h.


The documentation for this struct was generated from the following file: