37 const std::string &
name,
38 const std::string & system_name,
40 const bool read_only =
false,
57 template <
typename T,
typename... Args>
60 return Restartable::declareRestartableData<T>(data_name, std::forward<Args>(args)...);
73 template <
typename T,
typename... Args>
76 return Restartable::getRestartableData<T>(data_name);
T & declareRestartableData(const std::string &data_name, Args &&... args)
Declare a piece of data as "restartable" and initialize it.
const T & getRestartableData(const std::string &data_name) const
Declare a piece of data as "restartable" and initialize it Similar to declareRestartableData but retu...
PublicRestartable(MooseApp &moose_app, const std::string &name, const std::string &system_name, THREAD_ID tid, const bool read_only=false, const RestartableDataMapName &metaname="")
This class constructor is used for non-Moose-based objects like interfaces.
std::string RestartableDataMapName
A class which creates public interface functions for declaring and getting restartable data...