37 virtual void compute()
override;
const InputParameters & parameters() const
Get the parameters of the object.
AuxKernel for reading a solution from file.
const std::optional< SolutionUserObjectBase::WeightingType > _weighting_type
Policy used when the imported solution is multivalued at the query point.
virtual void initialSetup() override
Sets up the variable name for extraction from the SolutionUserObject.
void validateVariable()
Validates that the selected imported variable is compatible with this AuxKernel.
static InputParameters validParams()
bool _variable_is_validated
Whether the imported variable has been validated.
const Real _scale_factor
Multiplier for the solution, the a of ax+b.
const SolutionUserObjectBase & _solution_object
Reference to the SolutionUserObject storing the solution.
virtual Real computeValue() override
Computes a value for a node or element depending on the type of kernel, it also uses the 'direct' fla...
virtual void compute() override
Validates the imported variable once before computing values.
bool _direct
Flag for directly grabbing the data based on the dof.
std::string _var_name
The variable name of interest.
const Real _add_factor
Additional factor added to the solution, the b of ax+b.
User object that reads an existing solution from an input file and uses it in the current simulation.