Skip to content

Commit 276baf9

Browse files
authored
Merge pull request #145 from ajnonaka/development
fix max_grid_size
2 parents a7ffad4 + bbe8add commit 276baf9

10 files changed

Lines changed: 30 additions & 11 deletions

Examples/Tests/circuits/Candice/inputs_PMLdemo

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
max_step = 20000
77

88
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
9+
amr.max_grid_size_x = max_grid_sizex
10+
amr.max_grid_size_y = max_grid_sizey
11+
amr.max_grid_size_z = max_grid_sizez
1012
amr.blocking_factor = blocking_factor
1113
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1214

Examples/Tests/circuits/Candice/inputs_candice17

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@
55
#################################
66
max_step = 1000000
77

8-
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
8+
amr.max_grid_size_x = max_grid_sizex
9+
amr.max_grid_size_y = max_grid_sizey
10+
amr.max_grid_size_z = max_grid_sizez
1011
amr.blocking_factor = blocking_factor
1112
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1213

Examples/Tests/circuits/Candice/inputs_candice18

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
max_step = 1000000
77

88
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
9+
amr.max_grid_size_x = max_grid_sizex
10+
amr.max_grid_size_y = max_grid_sizey
11+
amr.max_grid_size_z = max_grid_sizez
1012
amr.blocking_factor = blocking_factor
1113
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1214

Examples/Tests/circuits/Candice/inputs_candice19

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
max_step = 10000
77

88
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
9+
amr.max_grid_size_x = max_grid_sizex
10+
amr.max_grid_size_y = max_grid_sizey
11+
amr.max_grid_size_z = max_grid_sizez
1012
amr.blocking_factor = blocking_factor
1113
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1214

Examples/Tests/circuits/Candice/inputs_candice20

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
max_step = 1
77

88
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
9+
amr.max_grid_size_x = max_grid_sizex
10+
amr.max_grid_size_y = max_grid_sizey
11+
amr.max_grid_size_z = max_grid_sizez
1012
amr.blocking_factor = blocking_factor
1113
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1214

Examples/Tests/circuits/Candice/inputs_inductor_on_cap

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
max_step = 200000
77

88
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
9+
amr.max_grid_size_x = max_grid_sizex
10+
amr.max_grid_size_y = max_grid_sizey
11+
amr.max_grid_size_z = max_grid_sizez
1012
amr.blocking_factor = blocking_factor
1113
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1214

Examples/Tests/circuits/Candice/inputs_inductor_on_cap_PEC

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
max_step = 200000
77

88
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
9+
amr.max_grid_size_x = max_grid_sizex
10+
amr.max_grid_size_y = max_grid_sizey
11+
amr.max_grid_size_z = max_grid_sizez
1012
amr.blocking_factor = blocking_factor
1113
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1214

Examples/Tests/circuits/Candice/inputs_inductortest

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
max_step = 2000
77

88
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
9+
amr.max_grid_size_x = max_grid_sizex
10+
amr.max_grid_size_y = max_grid_sizey
11+
amr.max_grid_size_z = max_grid_sizez
1012
amr.blocking_factor = blocking_factor
1113
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1214

Examples/Tests/circuits/Candice/inputs_metal_quibit_circuit_8_qubit_v2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
max_step = 10
77

88
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
9+
amr.max_grid_size_x = max_grid_sizex
10+
amr.max_grid_size_y = max_grid_sizey
11+
amr.max_grid_size_z = max_grid_sizez
1012
amr.blocking_factor = blocking_factor
1113
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1214

Examples/Tests/circuits/Candice/inputs_singleresonator

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
max_step = 10000
77

88
amr.n_cell = n_cellx n_celly n_cellz
9-
amr.max_grid_size = max_grid_sizex max_grid_sizey max_grid_sizez
9+
amr.max_grid_size_x = max_grid_sizex
10+
amr.max_grid_size_y = max_grid_sizey
11+
amr.max_grid_size_z = max_grid_sizez
1012
amr.blocking_factor = blocking_factor
1113
amr.refine_grid_layout = 1 # if n_MPI > n_grids, the grids will be successively divided in half until n_MPI <= n_grids
1214

0 commit comments

Comments
 (0)