blob: 997641936d0fb36221f6142da99ad9c1ba6400dd (
plain)
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
|
// -*- mode:c++ -*-
#ifndef CONSTANTS_HPP
#define CONSTANTS_HPP
#include <iostream>
#include <vector>
#include <string> // string class
#include <algorithm> // min
#include <float.h> // DBL_MAX
#include <math.h> // fabs, sqrt
#include <mpi.h>
#include <fstream> // ifstream
#include <sstream> // stringstream
#include <string.h> // strcmp
#include <H5Cpp.h>
#include <H5File.h>
#define CLASSIC_SCHEME 1
#define MAXTIMESTEP 864000.0 // (s) ten days
#define EPS 1.0e-10
#define CFL 10.0
#define DIM 3
#define N_NEIGHBORS 5
#define N_VERTICES 6
#define N_EDGES 9
#define SURFACE_NCOL 4
#define SUBSURFACE_NCOL 7
#define INFILTRATE_TRUE 1
#define INFILTRATE_FALSE 2
// #define SURFACE_DATA_GROUP_NAME_H5 "11841"
// #define SUBSURFACE_DATA_GROUP_NAME_H5 "11841"
#define MESH_MIXED_ELEMENTS "/0/Mesh/MixedElements"
#define MESH_NODES "/0/Mesh/Nodes"
#define AREADIV 0.01
#define SUBSURFACE_FLAG 1
#define SURFACE_FLAG 2
#define OUTSIDE_FLAG 3
#endif
|