hydrobricks
Loading...
Searching...
No Matches
Includes.h
1#ifndef INCLUDES_H
2#define INCLUDES_H
3
4//---------------------------------
5// Eigen library
6//---------------------------------
7
8#include <Eigen/Dense>
9
10//---------------------------------
11// Standard library
12//---------------------------------
13
14#include <algorithm>
15#include <cassert>
16#include <cmath>
17#include <concepts>
18#include <exception>
19#include <expected>
20#include <filesystem>
21#include <format>
22#include <memory>
23#include <numeric>
24#include <ranges>
25#include <span>
26#include <string>
27#include <string_view>
28#include <vector>
29
30//---------------------------------
31// Typedefs
32//---------------------------------
33
34using std::vector;
35using string = std::string;
36using ModelResult = std::expected<void, string>;
37using vecStr = vector<string>;
38using vecInt = vector<int>;
39using vecFloat = vector<float>;
40using vecDouble = vector<double>;
41using vecDoublePt = vector<double*>;
42using axd = Eigen::ArrayXd;
43using axi = Eigen::ArrayXi;
44using axxd = Eigen::ArrayXXd;
45using vecAxd = vector<Eigen::ArrayXd>;
46using vecAxxd = vector<Eigen::ArrayXXd>;
47
48struct Time {
49 int year;
50 int month;
51 int day;
52 int hour;
53 int min;
54 int sec;
55};
56
57//---------------------------------
58// Own classes
59//---------------------------------
60
61#include "Enums.h"
62#include "Exceptions.h"
63#include "GlobVars.h"
64#include "Log.h"
65#include "TypeDefs.h"
66#include "Utils.h"
67
68#endif // INCLUDES_H
Exception hierarchy for Hydrobricks.
Definition Includes.h:48