STORMM Source Documentation
Loading...
Searching...
No Matches
src
Namelists
input.h
1
// -*-c++-*-
2
#ifndef STORMM_INPUT_H
3
#define STORMM_INPUT_H
4
5
#include <string>
6
#include <vector>
7
#include "copyright.h"
8
#include "Constants/behavior.h"
9
#include "Parsing/textfile.h"
10
#include "Parsing/textguard.h"
11
#include "namelist_emulator.h"
12
13
namespace
stormm {
14
namespace
namelist {
15
16
using
parse::TextFile;
17
using
parse::TextGuard;
18
using
parse::WrapTextSearch;
19
27
std::string padNamelistTuples(
const
char
* text,
const
int
n_char);
28
54
std::vector<std::string> pullNamelist(
const
TextFile
&tf,
const
NamelistEmulator
&nml,
55
int
start_line, WrapTextSearch wrap,
int
end_line);
56
75
int
readNamelist(
const
TextFile
&tf,
NamelistEmulator
*nml,
int
start_line = 0,
76
WrapTextSearch wrap = WrapTextSearch::NO,
int
end_line = -1,
77
bool
*found =
nullptr
);
78
79
}
// namespace namelist
80
}
// namespace stormm
81
82
#endif
stormm::namelist::NamelistEmulator
Collection of variables to transcribe information contained within a namelist.
Definition
namelist_emulator.h:30
stormm::parse::TextFile
Structure for translating a text file into a compact, rapidly parsable vector of characters in CPU RA...
Definition
textfile.h:45
Generated by
1.13.2