summaryrefslogtreecommitdiff
path: root/src/options.hpp
blob: 05a6ee5c0014dc740851f72d451907e9f47fae24 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#include <string>

typedef struct Options
{
  std::string infile;
  std::string outfile_vals;
  std::string outfile_vecs;
} Options;

int parse_opts(int argc, char ** argv, Options & opts);

void print_usage(const std::string & invocation);
void print_help(const std::string & invocation);

static const std::string usage_args("--laplacian|-l file --vals file --vecs file [-h|--help] [PETSc/SLEPc options]");