ResidualScaleType residual_scale_type
virtual void PostSetupCallback()
virtual void ApplyInverseTransportOperator(int scope)=0
size_t counter_applications_of_inv_op_
virtual void PreSolveCallback()
virtual void PostSolveCallback()
virtual std::pair< int64_t, int64_t > SystemSize()=0
int MatrixAction(MatType &matrix, VecType &action_vector, VecType &action) override
const SetSourceFunction & set_source_function_
virtual void PreSetupCallback()
virtual void SetPreconditioner(SolverType &solver)
WGSContext(LBSSolver &lbs_solver, LBSGroupset &groupset, const SetSourceFunction &set_source_function, int lhs_scope, int rhs_scope, bool log_info)
std::function< void(lbs::LBSGroupset &, std::vector< double > &, const std::vector< double > &, int)> SetSourceFunction