Smith  0.1
Smith is an implicit thermal structural mechanics simulation code.
output.hpp
Go to the documentation of this file.
1 // Copyright (c) Lawrence Livermore National Security, LLC and
2 // other Smith 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 smith::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 smith::output
The output related helper functions and objects.
Definition: output.cpp:16
FileFormat
The output file formats supported.
Definition: output.hpp:29
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:31