Chi-Tech
chi_material.cc
Go to the documentation of this file.
1#include "chi_material.h"
2
3#include "ChiObjectFactory.h"
4
5namespace chi
6{
7
9
11{
13
14 params.AddRequiredParameter<std::string>(
15 "name", "The text name that will be associated with this material.");
16
18 "properties",
19 "Expects an array object handles that represents the properties.");
20
21 return params;
22}
23
25 : name_(params.GetParamValue<std::string>("name"))
26{
27}
28
29} // namespace chi_objects
static chi::InputParameters GetInputParameters()
Definition: ChiObject.cc:4
void AddRequiredParameter(const std::string &name, const std::string &doc_string)
void AddRequiredParameterArray(const std::string &name, const std::string &doc_string)
static InputParameters GetInputParameters()
Definition: chi_material.cc:10
Material(const chi::InputParameters &params)
Definition: chi_material.cc:24
RegisterChiObject(chi, KBAGraphPartitioner)