35 virtual Real
value(Real t,
const Point & p)
const override;
Function for reading a 2D axisymmetric solution from file and mapping it to a 3D Cartesian system.
bool _default_axes
Are the default axes of rotation being used?
const unsigned int _component
The index of the component.
const RealVectorValue _3d_axis_point1
Two points that define the axis of rotation for the 3d model.
const bool _has_component
If the solution field is a vector, the desired component must be specified Has the component been spe...
std::vector< std::string > _var_names
The variable names to extract from the file.
const Real _axial_dim_ratio
Ratio of axial dimension of 3d model to its counterpart in the 2d model.
const RealVectorValue _2d_axis_point1
Two points that define the axis of rotation for the 2d model.
const RealVectorValue _2d_axis_point2
const Real _add_factor
Factor to add to the solution (default = 0)
const Real _scale_factor
Factor to scale the solution by (default = 1)
static InputParameters validParams()
Constructor.
const SolutionUserObjectBase * _solution_object_ptr
Pointer to SolutionUserObject containing the solution of interest.
const RealVectorValue _3d_axis_point2
virtual void initialSetup() override
Setup the function for use Gathers a pointer to the SolutionUserObject containing the solution that w...
virtual Real value(Real t, const Point &p) const override
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...
std::vector< unsigned int > _solution_object_var_indices
The local SolutionUserObject indices for the variables extracted from the file.
Base class for function objects.
virtual Real value(Real t, const Point &p) const
Override this to evaluate the scalar function at point (t,x,y,z), by default this returns zero,...
const InputParameters & parameters() const
Get the parameters of the object.
User object that reads an existing solution from an input file and uses it in the current simulation.