Chi-Tech
chi_material_property.cc
Go to the documentation of this file.
2
3#include "ChiObjectFactory.h"
4
5namespace chi
6{
7
9
11{
13
14 params.AddRequiredParameter<std::string>(
15 "name", "Text name associated with this property");
16
17 return params;
18}
19
21 : name_(params.GetParamValue<std::string>("name"))
22{
23}
24
25const std::string& MaterialProperty::TextName() const { return name_; }
26
27} // namespace chi_objects
static chi::InputParameters GetInputParameters()
Definition: ChiObject.cc:4
void AddRequiredParameter(const std::string &name, const std::string &doc_string)
const std::string & TextName() const
MaterialProperty(const chi::InputParameters &params)
static chi::InputParameters GetInputParameters()
RegisterChiObject(chi, KBAGraphPartitioner)