Molecular Dynamics Simulation  1.0
OutputFormats.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <map>
4 #include <string>
5 
9 enum class OutputFormat { VTU, XYZ, CHKPT };
10 
16 const std::map<std::string, OutputFormat> get_supported_output_formats();
17 
24 OutputFormat convertToOutputFormat(const std::string& output_format);
const std::map< std::string, OutputFormat > get_supported_output_formats()
Returns a mappping of supported output formats.
OutputFormat
Enum class to specify the output format.
Definition: OutputFormats.h:9
OutputFormat convertToOutputFormat(const std::string &output_format)
Converts a string to an OutputFormat.