Chi-Tech
chi_math::LinearSolverContext< MatType, VecType > Struct Template Reference

#include <linear_solver_context.h>

Inheritance diagram for chi_math::LinearSolverContext< MatType, VecType >:
lbs::AGSContext< MatType, VecType, SolverType > lbs::WGSContext< MatType, VecType, SolverType > lbs::MIPWGSContext2< MatType, VecType, SolverType > lbs::SweepWGSContext< MatType, VecType, SolverType >

Public Member Functions

virtual int MatrixAction (MatType &matrix, VecType &vector, VecType &action)
 
virtual ~LinearSolverContext ()=default
 

Data Fields

double rhs_norm = 0.0
 
double rhs_preconditioned_norm = 0.0
 
double custom_residual_scale = 1.0
 
ResidualScaleType residual_scale_type = ResidualScaleType::NONE
 

Detailed Description

template<class MatType, class VecType>
struct chi_math::LinearSolverContext< MatType, VecType >

Definition at line 14 of file linear_solver_context.h.

Constructor & Destructor Documentation

◆ ~LinearSolverContext()

template<class MatType , class VecType >
virtual chi_math::LinearSolverContext< MatType, VecType >::~LinearSolverContext ( )
virtualdefault

Member Function Documentation

◆ MatrixAction()

template<class MatType , class VecType >
virtual int chi_math::LinearSolverContext< MatType, VecType >::MatrixAction ( MatType &  matrix,
VecType &  vector,
VecType &  action 
)
inlinevirtual

Field Documentation

◆ custom_residual_scale

template<class MatType , class VecType >
double chi_math::LinearSolverContext< MatType, VecType >::custom_residual_scale = 1.0

Definition at line 18 of file linear_solver_context.h.

◆ residual_scale_type

template<class MatType , class VecType >
ResidualScaleType chi_math::LinearSolverContext< MatType, VecType >::residual_scale_type = ResidualScaleType::NONE

Definition at line 19 of file linear_solver_context.h.

◆ rhs_norm

template<class MatType , class VecType >
double chi_math::LinearSolverContext< MatType, VecType >::rhs_norm = 0.0

Definition at line 16 of file linear_solver_context.h.

◆ rhs_preconditioned_norm

template<class MatType , class VecType >
double chi_math::LinearSolverContext< MatType, VecType >::rhs_preconditioned_norm = 0.0

Definition at line 17 of file linear_solver_context.h.


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