| 268 | } |
| 269 | |
| 270 | int main(int argc, char **argv) { |
| 271 | initialize mpi(argc, argv); |
| 272 | verbosity = 0; |
| 273 | master_printf("Testing 3D...\n"); |
| 274 | |
| 275 | if (!test_pml(one)) meep::abort("error in test_pml vacuum\n"); |
| 276 | |
| 277 | for (int s = 2; s < 7; s++) |
| 278 | if (!test_periodic(targets, s)) meep::abort("error in test_periodic targets\n"); |
| 279 | |
| 280 | for (int s = 2; s < 8; s++) |
| 281 | if (!test_metal(one, s)) meep::abort("error in test_metal vacuum\n"); |
| 282 | |
| 283 | for (int s = 2; s < 4; s++) |
| 284 | if (!test_pml_splitting(one, s)) meep::abort("error in test_pml_splitting vacuum\n"); |
| 285 | |
| 286 | if (!test_1d_cell_bloch()) meep::abort("error in test_1d_cell_bloch\n"); |
| 287 | |
| 288 | if (!test_pml_auxiliary_field_allocation()) |
| 289 | meep::abort("error in test_pml_auxiliary_field_allocation\n"); |
| 290 | |
| 291 | return 0; |
| 292 | } |
nothing calls this directly
no test coverage detected