25 "The variable this initial condition is "
26 "supposed to provide values for.");
27 params.
addParam<
bool>(
"ignore_uo_dependency",
29 "When set to true, a UserObject retrieved "
30 "by this IC will not be executed before the "
46 ->getVariable(parameters.get<
THREAD_ID>(
"_tid"),
47 parameters.get<VariableName>(
"variable"))
57 _sys(*getCheckedPointerParam<
SystemBase *>(
"_sys")),
58 _ignore_uo_dependency(getParam<bool>(
"ignore_uo_dependency"))
63 for (
const auto & it : coupled_vars)
64 for (
const auto & var : it.second)
70const std::set<std::string> &
76const std::set<std::string> &
An interface that restricts an object to subdomains via the 'blocks' input parameter.
static InputParameters validParams()
/class BoundaryRestrictable /brief Provides functionality for limiting the object to certain boundary...
static InputParameters validParams()
Interface for objects that needs coupling capabilities.
const std::unordered_map< std::string, std::vector< MooseVariableFieldBase * > > & getCoupledVars() const
Get the list of coupled variables.
Interface for sorting dependent vectors of objects.
Interface for objects that need to use functions.
virtual const std::set< std::string > & getRequestedItems() override
Return a set containing the names of items requested by the object.
virtual ~InitialConditionBase()
InitialConditionBase(const InputParameters ¶meters)
Constructor.
void addPostprocessorDependencyHelper(const PostprocessorName &name) const override final
Helper for deriving classes to override to add dependencies when a Postprocessor is requested.
std::set< UserObjectName > _depend_uo
Depend UserObjects. Mutable so that the getters can be const and still add dependencies.
virtual const std::set< std::string > & getSuppliedItems() override
Return a set containing the names of items owned by the object.
void addUserObjectDependencyHelper(const UserObjectBase &uo) const override final
Helper for deriving classes to override to add dependencies when a UserObject is requested.
const bool _ignore_uo_dependency
If set, UOs retrieved by this IC will not be executed before this IC.
std::set< std::string > _depend_vars
Dependent variables.
std::set< std::string > _supplied_vars
Supplied variables.
static InputParameters validParams()
InitialConditionInterface serves as the abstract class for InitialConditions, FVInitialConditions,...
static InputParameters validParams()
An interface for accessing Materials.
static InputParameters validParams()
const std::string & name() const
Get the name of the class.
Every object that can be built by the factory should be derived from this class.
static InputParameters validParams()
Interface class for classes which interact with Postprocessors.
A class for creating restricted objects.
Base class for a system (of equations)
Interface for objects that need to use UserObjects.
MOOSE now contains C++17 code, so give a reasonable error message stating what the user can do to add...