1#ifndef CHITECH_INPUT_PARAMETERS_H
2#define CHITECH_INPUT_PARAMETERS_H
9#define MakeInpParamsForObj(x, y) chi::InputParameters::MakeForObject<x>(y)
56 auto input_param = T::GetInputParameters();
58 input_param.AssignParameters(params);
84 const std::string& block_name);
99 const std::string& doc_string)
108 const std::string& doc_string);
110 template <
typename T>
112 const std::vector<T>& array,
113 const std::string& doc_string)
121 const std::vector<ParameterBlock>& array,
122 const std::string& doc_string);
124 template <
typename T>
126 const std::string& doc_string)
128 AddParameter(name, chi_data_types::Varying::DefaultValue<T>());
134 const std::string& doc_string);
137 const std::string& doc_string);
139 template <
typename T>
142 const std::string& doc_string =
"")
150 template <
typename T>
152 const std::string& doc_string =
"")
155 param =
ParameterBlock(name, chi_data_types::Varying::DefaultValue<T>());
174 const std::string& deprecation_message =
"");
177 const std::string& deprecation_message =
"");
179 const std::string& renaming_description);
void AddParameter(ParameterBlock block)
ParameterBlock(const std::string &name="")
ParameterBlock & GetParam(const std::string ¶m_name)