Molecular Dynamics Simulation
1.0
src
io
output
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);
get_supported_output_formats
const std::map< std::string, OutputFormat > get_supported_output_formats()
Returns a mappping of supported output formats.
Definition:
OutputFormats.cpp:5
OutputFormat
OutputFormat
Enum class to specify the output format.
Definition:
OutputFormats.h:9
OutputFormat::CHKPT
@ CHKPT
OutputFormat::VTU
@ VTU
OutputFormat::XYZ
@ XYZ
convertToOutputFormat
OutputFormat convertToOutputFormat(const std::string &output_format)
Converts a string to an OutputFormat.
Definition:
OutputFormats.cpp:9
Generated by
1.9.1