Chi-Tech
lbsadj_solver_00_constrdestr.cc
Go to the documentation of this file.
1#include "lbsadj_solver.h"
2
3#include "ChiObjectFactory.h"
4
5namespace lbs
6{
7
9
10// ##################################################################
11/**Returns the input parameters.*/
14{
17
18 params.SetGeneralDescription("Adjoint capability");
19
20 params.SetClassName("DiscreteOrdinatesAdjointSolver");
21 params.SetDocGroup("lbs__LBSSolver");
22
24 "DiscreteOrdinatesAdjointSolver");
25
26 return params;
27}
28
29// ###################################################################
30/**Constructor.*/
32 const chi::InputParameters& params)
34{
35 basic_options_.AddOption<std::string>("REFERENCE_RF", std::string());
36}
37
38// ###################################################################
39/**Constructor.*/
41 const std::string& solver_name)
42 : lbs::DiscreteOrdinatesSolver(solver_name)
43{
44 basic_options_.AddOption<std::string>("REFERENCE_RF", std::string());
45}
46
47/**Returns the list of volumetric response functions.*/
48const std::vector<lbs::DiscreteOrdinatesAdjointSolver::RespFuncAndSubs>&
50{
51 return response_functions_;
52}
53
54} // namespace lbs
void SetDocGroup(const std::string &doc_group)
void SetGeneralDescription(const std::string &description)
void SetClassName(const std::string &class_name)
void ChangeExistingParamToOptional(const std::string &name, T value, const std::string &doc_string="")
void AddOption(const std::string &option_name, const T &value)
BasicOptions basic_options_
Definition: chi_solver.h:57
static chi::InputParameters GetInputParameters()
const std::vector< RespFuncAndSubs > & GetResponseFunctions() const
DiscreteOrdinatesAdjointSolver(const chi::InputParameters &params)
static chi::InputParameters GetInputParameters()
RegisterChiObject(lbs, DiffusionDFEMSolver)