Chi-Tech
nl_keigen_ags_context.h
Go to the documentation of this file.
1#ifndef CHITECH_LBS_NL_KEIGEN_AGS_CONTEXT_H
2#define CHITECH_LBS_NL_KEIGEN_AGS_CONTEXT_H
3
5
8
9#include <vector>
10#include <cstdint>
11
12namespace lbs
13{
14 class LBSSolver;
15}
16
17namespace lbs
18{
19
20template<class VecType, class SolverType>
22 public chi_math::NonLinearSolverContext<VecType,SolverType>
23{
26
27 std::vector<int> groupset_ids;
28
29 explicit NLKEigenAGSContext(LBSSolver& lbs_solver) :
30 lbs_solver_(lbs_solver),
31 kresid_func_context_({lbs_solver.TextName(), 1.0})
32 {}
33
34 virtual ~NLKEigenAGSContext() override = default;
35};
36
37
38}//namespace lbs
39
40#endif //CHITECH_LBS_NL_KEIGEN_AGS_CONTEXT_H
std::string TextName() const
Definition: chi_solver.cc:116
std::vector< int > groupset_ids
virtual ~NLKEigenAGSContext() override=default
NLKEigenAGSContext(LBSSolver &lbs_solver)
KResidualFunctionContext kresid_func_context_