Chi-Tech
nl_keigen.h
Go to the documentation of this file.
1
#ifndef CHITECH_NL_KEIGEN_H
2
#define CHITECH_NL_KEIGEN_H
3
4
#include "
physics/SolverBase/chi_solver.h
"
5
#include "
LinearBoltzmannSolvers/A_LBSSolver/lbs_solver.h
"
6
#include "
A_LBSSolver/IterativeMethods/nl_keigen_ags_solver.h
"
7
8
#include <petscsnes.h>
9
10
namespace
lbs
11
{
12
13
class
XXNonLinearKEigen
:
public
chi_physics::Solver
14
{
15
protected
:
16
LBSSolver
&
lbs_solver_
;
17
std::shared_ptr<NLKEigenAGSContext<Vec,SNES>>
nl_context_
;
18
NLKEigenvalueAGSSolver<Mat,Vec,SNES>
nl_solver_
;
19
20
bool
reinit_phi_1_
;
21
int
num_free_power_its_
;
22
23
public
:
24
static
chi::InputParameters
GetInputParameters
();
25
explicit
XXNonLinearKEigen
(
const
chi::InputParameters
& params);
26
27
void
Initialize
()
override
;
28
void
Execute
()
override
;
29
};
30
31
}
32
33
#endif
// CHITECH_NL_KEIGEN_H
chi_solver.h
chi::InputParameters
Definition:
input_parameters.h:23
chi_physics::Solver
Definition:
chi_solver.h:22
lbs::LBSSolver
Definition:
lbs_solver.h:50
lbs::NLKEigenvalueAGSSolver< Mat, Vec, SNES >
lbs::XXNonLinearKEigen
Definition:
nl_keigen.h:14
lbs::XXNonLinearKEigen::lbs_solver_
LBSSolver & lbs_solver_
Definition:
nl_keigen.h:16
lbs::XXNonLinearKEigen::Initialize
void Initialize() override
Definition:
nl_keigen.cc:82
lbs::XXNonLinearKEigen::GetInputParameters
static chi::InputParameters GetInputParameters()
Definition:
nl_keigen.cc:13
lbs::XXNonLinearKEigen::num_free_power_its_
int num_free_power_its_
Definition:
nl_keigen.h:21
lbs::XXNonLinearKEigen::nl_solver_
NLKEigenvalueAGSSolver< Mat, Vec, SNES > nl_solver_
Definition:
nl_keigen.h:18
lbs::XXNonLinearKEigen::XXNonLinearKEigen
XXNonLinearKEigen(const chi::InputParameters ¶ms)
Definition:
nl_keigen.cc:56
lbs::XXNonLinearKEigen::nl_context_
std::shared_ptr< NLKEigenAGSContext< Vec, SNES > > nl_context_
Definition:
nl_keigen.h:17
lbs::XXNonLinearKEigen::Execute
void Execute() override
Definition:
nl_keigen.cc:84
lbs::XXNonLinearKEigen::reinit_phi_1_
bool reinit_phi_1_
Definition:
nl_keigen.h:20
lbs_solver.h
lbs
Definition:
acceleration.cc:10
nl_keigen_ags_solver.h
modules
LinearBoltzmannSolvers
Executors
nl_keigen.h
Generated by
1.9.3