33 "initial_from_file_timestep",
35 "Gives the timestep (or \"LATEST\") for which to read a solution from a file " 36 "for a given variable. (Default: LATEST)");
38 "initial_from_file_var",
39 "Gives the name of a variable for which to read an initial condition from a mesh file");
62 system = &
_problem->getNonlinearSystemBase(0);
64 system = &
_problem->getAuxiliarySystem();
67 getParam<std::string>(
"initial_from_file_var"),
68 getParam<std::string>(
"initial_from_file_timestep"));
virtual void addVariableToCopy(const std::string &dest_name, const std::string &source_name, const std::string ×tep)
Add info about variable that will be copied.
static InputParameters validParams()
Base class for a system (of equations)
virtual const std::string & name() const
Get the name of the class.
CopyNodalVarsAction(const InputParameters ¶ms)
bool isParamValid(const std::string &name) const
Test if the supplied parameter is valid.
static InputParameters validParams()
void setExodusFileRestart(bool flag)
Set the flag to indicate whether or not we need to use a separate Exodus reader to read the mesh BEFO...
registerMooseAction("MooseApp", CopyNodalVarsAction, "check_copy_nodal_vars")
const std::string & _current_task
The current action (even though we have separate instances for each action)
MooseApp & _app
The MOOSE application this is associated with.
std::shared_ptr< FEProblemBase > & _problem
Convenience reference to a problem this action works on.
virtual void act() override
Method to add objects to the simulation or perform other setup tasks.