Amgx::AmgxConfig Struct Reference

Configuration structure for AMGX parameters. More...

#include <AmgxPreconditioner.hpp>

Public Member Functions

 AmgxConfig (const Opm::PropertyTree &prm)
 
std::string toString () const
 

Public Attributes

int determinism_flag = 0
 
int print_grid_stats = 0
 
int print_solve_stats = 0
 
std::string solver = "AMG"
 
std::string algorithm = "CLASSICAL"
 
std::string interpolator = "D2"
 
std::string selector = "PMIS"
 
std::string smoother = "BLOCK_JACOBI"
 
int presweeps = 3
 
int postsweeps = 3
 
double strength_threshold = 0.5
 
int max_iters = 1
 

Detailed Description

Configuration structure for AMGX parameters.

This structure holds the configuration parameters for the AMGX solver.

Constructor & Destructor Documentation

◆ AmgxConfig()

Member Function Documentation

◆ toString()

Member Data Documentation

◆ algorithm

std::string Amgx::AmgxConfig::algorithm = "CLASSICAL"

Referenced by AmgxConfig(), and toString().

◆ determinism_flag

int Amgx::AmgxConfig::determinism_flag = 0

Referenced by AmgxConfig(), and toString().

◆ interpolator

std::string Amgx::AmgxConfig::interpolator = "D2"

Referenced by AmgxConfig(), and toString().

◆ max_iters

int Amgx::AmgxConfig::max_iters = 1

Referenced by AmgxConfig(), and toString().

◆ postsweeps

int Amgx::AmgxConfig::postsweeps = 3

Referenced by AmgxConfig(), and toString().

◆ presweeps

int Amgx::AmgxConfig::presweeps = 3

Referenced by AmgxConfig(), and toString().

◆ print_grid_stats

int Amgx::AmgxConfig::print_grid_stats = 0

Referenced by AmgxConfig(), and toString().

◆ print_solve_stats

int Amgx::AmgxConfig::print_solve_stats = 0

Referenced by AmgxConfig(), and toString().

◆ selector

std::string Amgx::AmgxConfig::selector = "PMIS"

Referenced by AmgxConfig(), and toString().

◆ smoother

std::string Amgx::AmgxConfig::smoother = "BLOCK_JACOBI"

Referenced by AmgxConfig(), and toString().

◆ solver

std::string Amgx::AmgxConfig::solver = "AMG"

Referenced by AmgxConfig(), and toString().

◆ strength_threshold

double Amgx::AmgxConfig::strength_threshold = 0.5

Referenced by AmgxConfig(), and toString().


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