24 "trainers",
"A list of SurrogateTrainer objects to output.");
31 _trainers(getParam<
std::vector<UserObjectName>>(
"trainers"))
39 for (
const auto & surrogate_name :
_trainers)
void write(std::ostream &header_stream, std::ostream &data_stream)
virtual std::string filename()
SurrogateTrainerOutput(const InputParameters ¶meters)
virtual void output() override
const std::vector< UserObjectName > & _trainers
List of supplied SurrogateModel objects.
RestartableDataMap & getRestartableDataMap(const RestartableDataMapName &name)
Output object for saving SurrorateModel data to a file.
static InputParameters validParams()
static InputParameters validParams()
static std::filesystem::path restartableDataFolder(const std::filesystem::path &folder_base)
const std::string & modelMetaDataName() const
Accessor for the name of the model meta data.
Interface for objects that need to use samplers.
T & getSurrogateTrainerByName(const UserObjectName &name) const
This is the base trainer class whose main functionality is the API for declaring model data...
processor_id_type processor_id() const
registerMooseObject("StochasticToolsApp", SurrogateTrainerOutput)