Go to the source code of this file.
◆ new_function_base()
std::unique_ptr<FunctionBase<Number> > new_function_base |
( |
const std::string & |
func_type, |
|
|
const std::string & |
func_value |
|
) |
| |
Definition at line 140 of file femparameters.C.
143 if (func_type ==
"parsed")
144 return libmesh_make_unique<ParsedFunction<Number>>(func_value);
145 else if (func_type ==
"zero")
146 return libmesh_make_unique<ZeroFunction<Number>>();
148 libmesh_not_implemented();
150 return std::unique_ptr<FunctionBase<Number>>();
Referenced by FEMParameters::read().