16 "Field function handle or name.");
24 : field_function_param_(params.GetParam(
"field_function"))
30 std::shared_ptr<chi_physics::FieldFunction> ref_ff_ptr =
nullptr;
35 if (ff_ptr->TextName() == name) ref_ff_ptr = ff_ptr;
38 "Field function \"" + name +
"\" not found.");
43 ref_ff_ptr = Chi::GetStackItemPtrAsType<chi_physics::FieldFunction>(
49 return &(*ref_ff_ptr);
#define ChiInvalidArgumentIf(condition, message)
#define ChiInvalidArgument(message)
static std::vector< chi_physics::FieldFunctionPtr > field_function_stack
ParameterBlockType Type() const
FieldFunction * GetFieldFunction() const
FieldFunctionInterface(const chi::InputParameters ¶ms)
static chi::InputParameters GetInputParameters()
chi::ParameterBlock field_function_param_