Skip to content

Commit 3c111ac

Browse files
Add argparse.hpp for argument parsing structure
1 parent 8db9a9c commit 3c111ac

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

argparse/argparse.hpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
#pragma once
2+
#include <string>
3+
4+
namespace next {
5+
6+
struct Arguments {
7+
std::string input_file;
8+
double dt;
9+
double dump_interval;
10+
bool use_vtu;
11+
};
12+
13+
Arguments parse_arguments(int argc, char** argv);
14+
15+
}

0 commit comments

Comments
 (0)