Chi-Tech
lbsrz_00_constrdestr.cc
Go to the documentation of this file.
2
3#include "ChiObjectFactory.h"
4
5namespace lbs
6{
7
9
11{
13
15 "Solver for Discrete Ordinates in cylindrical and spherical coordinates");
16
17 params.SetClassName("DiscreteOrdinatesCurvilinearSolver");
18 params.SetDocGroup("lbs__LBSSolver");
19
21 "DiscreteOrdinatesCurvilinearSolver");
22 params.AddRequiredParameter<int>("coord_system",
23 "Coordinate system to use. Can only be 2 or "
24 "3. 2=Cylindrical, 3=Spherical.");
25
26 return params;
27}
28
30 const chi::InputParameters& params)
32 coord_system_type_(static_cast<chi_math::CoordinateSystemType>(
33 params.GetParamValue<int>("coord_system")))
34{
35}
36
37} // namespace lbs
void SetDocGroup(const std::string &doc_group)
void AddRequiredParameter(const std::string &name, const std::string &doc_string)
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="")
static chi::InputParameters GetInputParameters()
DiscreteOrdinatesCurvilinearSolver(const chi::InputParameters &params)
static chi::InputParameters GetInputParameters()
CoordinateSystemType
Definition: chi_math.h:29
RegisterChiObject(lbs, DiffusionDFEMSolver)