Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
output.hpp
Go to the documentation of this file.
1 // Copyright (c) 2019-2024, Lawrence Livermore National Security, LLC and
2 // other Serac Project Developers. See the top-level LICENSE file for
3 // details.
4 //
5 // SPDX-License-Identifier: (BSD-3-Clause)
6 
13 #pragma once
14 
15 #include <string>
16 
17 #include "axom/sidre.hpp"
18 
23 namespace serac::output {
24 
28 enum class FileFormat
29 {
30  JSON,
31  YAML
32 };
33 
42 void outputSummary(const axom::sidre::DataStore& datastore, const std::string& output_directory,
43  const FileFormat file_format = FileFormat::JSON);
44 
45 } // namespace serac::output
The output related helper functions and objects.
Definition: output.cpp:18
void outputSummary(const axom::sidre::DataStore &datastore, const std::string &output_directory, const FileFormat file_format)
Outputs simulation summary data from the datastore to the given file only on rank 0.
Definition: output.cpp:33
FileFormat
The output file formats supported.
Definition: output.hpp:29