PRISMS-PF  v2.1
LinearSolverParameters Class Reference

#include <SolverParameters.h>

Inheritance diagram for LinearSolverParameters:
SolverParametersBase

Public Member Functions

void loadParameters (unsigned int _var_index, SolverToleranceType _tolerance_type, double _tolerance_value, unsigned int _max_iterations)
 
unsigned int getMaxIterations (unsigned int index)
 
- Public Member Functions inherited from SolverParametersBase
SolverToleranceType getToleranceType (unsigned int index)
 
double getToleranceValue (unsigned int index)
 

Protected Attributes

std::vector< unsigned int > max_iterations_list
 
- Protected Attributes inherited from SolverParametersBase
std::vector< unsigned int > var_index_list
 
std::vector< SolverToleranceTypetolerance_type_list
 
std::vector< double > tolerance_value_list
 

Additional Inherited Members

- Protected Member Functions inherited from SolverParametersBase
unsigned int getEquationIndex (unsigned int global_index)
 

Detailed Description

This class holds all of the parameters for the linear solver. Requests for linear solver parameters for governing equations without a matrix inversion return errors.

Definition at line 46 of file SolverParameters.h.

Member Function Documentation

◆ getMaxIterations()

unsigned int getMaxIterations ( unsigned int  index)

Method to get the maximum number of allowed iterations for the linear solver.

Definition at line 35 of file SolverParameters.cc.

◆ loadParameters()

void loadParameters ( unsigned int  _var_index,
SolverToleranceType  _tolerance_type,
double  _tolerance_value,
unsigned int  _max_iterations 
)

Method to load the parameters for one governing equation into the class. This must be defined for all classes derived from SolverParametersBase.

Definition at line 24 of file SolverParameters.cc.

Member Data Documentation

◆ max_iterations_list

std::vector<unsigned int> max_iterations_list
protected

Definition at line 65 of file SolverParameters.h.


The documentation for this class was generated from the following files: