forked from omega13a/stargen
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathelements.h
More file actions
17 lines (14 loc) · 680 Bytes
/
Copy pathelements.h
File metadata and controls
17 lines (14 loc) · 680 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef ELEMENTS_H
#define ELEMENTS_H
#include <iostream> // for operator<<, basic_ostream, std::endl, std::cerr, ostream
#include <map> // for std::map
#include <string> // for operator<<, string, char_traits
#include <vector> // for std::vector
#include "structs.h" // for planet, sun
#include "utils.h" // for toString, writeMap
extern ChemTable gases;
// Load the element/gas table. `path` defaults to the repo-relative location but
// can be overridden to make the data location configurable. Throws
// std::runtime_error (not exit()) if the file is missing, malformed, or empty.
void initGases(const std::string& path = "data/elements.yaml");
#endif