-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathsettings.hpp
More file actions
33 lines (25 loc) · 802 Bytes
/
Copy pathsettings.hpp
File metadata and controls
33 lines (25 loc) · 802 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
/*
settings.hpp (Multigrid)
Jess Robertson, 2010-09-19
Argument struct to save passing around settings information
*/
#ifndef SETTINGS_HPP_7RZE6Z3D
#define SETTINGS_HPP_7RZE6Z3D
#include "types.hpp"
#include "multigrid_exceptions.hpp"
namespace mgrid {
// Settings struct
struct Settings {
double aspectRatio;
int numberOfGrids;
int minimumResolution;
double residualTolerance;
int maximumIterations;
CycleType mgCycleType;
unsigned long preMGRelaxIter;
unsigned long postMGRelaxIter;
// Ctor etc
Settings(); // Default settings in settings.cpp
};
} // end namespace mgrid
#endif /* end of include guard: SETTINGS_HPP_7RZE6Z3D */