https://mooseframework.inl.gov
Loading...
Searching...
No Matches
include
restart
RestartableDataWriter.h
Go to the documentation of this file.
1
//* This file is part of the MOOSE framework
2
//* https://mooseframework.inl.gov
3
//*
4
//* All rights reserved, see COPYRIGHT for full restrictions
5
//* https://github.com/idaholab/moose/blob/master/COPYRIGHT
6
//*
7
//* Licensed under LGPL 2.1, please see LICENSE for details
8
//* https://www.gnu.org/licenses/lgpl-2.1.html
9
10
#pragma once
11
12
#include "
RestartableDataIO.h
"
13
17
class
RestartableDataWriter
:
public
RestartableDataIO
18
{
19
public
:
20
RestartableDataWriter
(
MooseApp
& app,
RestartableDataMap
& data);
21
RestartableDataWriter
(
MooseApp
& app, std::vector<RestartableDataMap> & data);
22
27
void
write
(std::ostream & header_stream, std::ostream & data_stream);
31
std::vector<std::filesystem::path>
write
(
const
std::filesystem::path & folder_base);
32
};
RestartableDataIO.h
MooseApp
Base class for MOOSE-based applications.
Definition
MooseApp.h:110
RestartableDataIO
Class for doing restart.
Definition
RestartableDataIO.h:28
RestartableDataMap
Storage for restartable data that is ordered based on insertion order.
Definition
RestartableDataMap.h:28
RestartableDataWriter
Writer for restartable data, to be read by the RestartableDataReader.
Definition
RestartableDataWriter.h:18
RestartableDataWriter::write
void write(std::ostream &header_stream, std::ostream &data_stream)
Writes the restartable data to header stream header_stream and data stream data_stream.
Definition
RestartableDataWriter.C:29
Generated on Mon Aug 24 2026 19:02:04 for https://mooseframework.inl.gov by
1.9.8