-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.cpp
46 lines (38 loc) · 1.08 KB
/
main.cpp
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
#include "Tests/Test_1D.h"
#include "Tests/Test_2D.h"
#include "Tests/Test_3D.h"
#include "Tests/Test_3DV.h"
static const bool Export_VTI = true;
int main()
{
int nx = 128;
int ny = 128;
int nz = 128;
//--- 1D solver tests
// Test_Dirichlet_1D(nx);
// Test_Dirichlet_1D_IHBC(nx);
// Test_Neumann_1D(nx);
// Test_Periodic_1D(nx);
// Test_Unbounded_1D(nx);
//--- 2D scalar solver tests
// Test_Dirichlet_2D(nx,ny);
// Test_Dirichlet_2D_IHBC(nx,ny);
// Test_Neumann_2D(nx,ny);
// Test_Neumann_2D_IHBC(nx,ny);
// Test_Periodic_2D(nx,ny);
// Test_Unbounded_2D(nx,ny);
// Test_Unbounded_2D_Grad(nx,ny);
//--- 3D scalar solver tests
// Test_Dirichlet_3D(nx,ny,nz);
// Test_Dirichlet_3D_IHBC(nx,ny,nz);
// Test_Neumann_3D(nx,ny,nz);
// Test_Neumann_3D_IHBC(nx,ny,nz);
Test_Periodic_3D(nx,ny,nz);
// Test_Unbounded_3D(nx,ny,nz);
//--- 3D vector solver tests
// Test_Dirichlet_3DV(nx,ny,nz);
// Test_Neumann_3DV(nx,ny,nz);
// Test_Periodic_3DV(nx,ny,nz);
// Test_Unbounded_3DV_Curl(nx,ny,nz);
return 0;
}