Opm::UpwindTransportSettings Struct Reference

Settings of solveReordered(). More...

#include <UpwindTransportSolver.hpp>

Public Attributes

int maxDirectSize = 200
 
double relTolerance = 1e-4
 
double absTolerance = 1e-20
 
int maxIterations = 100
 Most Gauss-Seidel sweeps over a flow loop before giving up. More...
 

Detailed Description

Settings of solveReordered().

Member Data Documentation

◆ absTolerance

double Opm::UpwindTransportSettings::absTolerance = 1e-20

Gauss-Seidel also stops when the largest change in a sweep is at most this, so that a solution that goes to zero converges.

◆ maxDirectSize

int Opm::UpwindTransportSettings::maxDirectSize = 200

Largest flow loop, in unknowns (cells times block size), that is solved directly instead of by Gauss-Seidel.

Referenced by Opm::detail::ReorderedSystem< Coefficients, Vectors >::solve().

◆ maxIterations

int Opm::UpwindTransportSettings::maxIterations = 100

Most Gauss-Seidel sweeps over a flow loop before giving up.

◆ relTolerance

double Opm::UpwindTransportSettings::relTolerance = 1e-4

Gauss-Seidel stops when the largest change in a sweep is at most this times the largest value, per right-hand side and block component.


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