Chi-Tech
GridBasedFieldFunctionInterface.cc
Go to the documentation of this file.
2
4
5namespace chi_physics
6{
7
9{
11
12 return params;
13}
14
16 const chi::InputParameters& params)
18{
19}
20
23{
24 auto* ff_ptr = GetFieldFunction();
25
26 auto* grid_based_ff_ptr = dynamic_cast<FieldFunctionGridBased*>(ff_ptr);
27
28 return grid_based_ff_ptr ? grid_based_ff_ptr : nullptr;
29}
30
31} // namespace chi_physics
static chi::InputParameters GetInputParameters()
GridBasedFieldFunctionInterface(const chi::InputParameters &params)