HybridADRSolver
Loading...
Searching...
No Matches
HybridADRSolver::SolverParameters Struct Reference

#include <types.h>

Public Attributes

SolverType solver_type = SolverType::MatrixFree
PreconditionerType preconditioner = PreconditionerType::GMG
LinearSolverType linear_solver = LinearSolverType::GMRES
bool enable_multigrid = true
unsigned int mg_smoother_degree = 5
double mg_smoothing_range = 15.0
unsigned int max_iterations = 1000
double tolerance = 1e-10
unsigned int n_threads = numbers::invalid_unsigned_int
bool verbose = true
bool output_solution = true
std::string output_prefix = "solution"

Detailed Description

Structure for solver parameters

Member Data Documentation

◆ enable_multigrid

bool HybridADRSolver::SolverParameters::enable_multigrid = true

◆ linear_solver

LinearSolverType HybridADRSolver::SolverParameters::linear_solver = LinearSolverType::GMRES

◆ max_iterations

unsigned int HybridADRSolver::SolverParameters::max_iterations = 1000

◆ mg_smoother_degree

unsigned int HybridADRSolver::SolverParameters::mg_smoother_degree = 5

◆ mg_smoothing_range

double HybridADRSolver::SolverParameters::mg_smoothing_range = 15.0

◆ n_threads

unsigned int HybridADRSolver::SolverParameters::n_threads = numbers::invalid_unsigned_int

◆ output_prefix

std::string HybridADRSolver::SolverParameters::output_prefix = "solution"

◆ output_solution

bool HybridADRSolver::SolverParameters::output_solution = true

◆ preconditioner

PreconditionerType HybridADRSolver::SolverParameters::preconditioner = PreconditionerType::GMG

◆ solver_type

SolverType HybridADRSolver::SolverParameters::solver_type = SolverType::MatrixFree

◆ tolerance

double HybridADRSolver::SolverParameters::tolerance = 1e-10

◆ verbose

bool HybridADRSolver::SolverParameters::verbose = true

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