nmannall
ad50e2ff91
Update documentation for VtkHdfFile and VtkImageData
2024-11-08 12:12:19 +00:00
nmannall
d0cc25506a
Add validation to ensure vtkImageData files are 3D
2024-11-01 18:03:40 +00:00
nmannall
3bffeb6450
Change GeometryViewVoxel to use VTKHDF file format
2024-11-01 16:10:11 +00:00
nmannall
e8051bc72d
Use numpy arrays to store geometry view extents
2024-11-01 16:07:17 +00:00
nmannall
2eb54832d7
Create class to write VTKHDF Image Data files
2024-11-01 16:02:27 +00:00
nmannall
3e575d9c4d
Use np.single dtype rather than float
2024-11-01 15:55:36 +00:00
nmannall
15e8eb0e73
Fix model title not being broadcast to all ranks
2024-10-11 13:56:46 +01:00
nmannall
1ad7ed64da
Replace deprecated warn method with warning
2024-10-04 16:41:55 +01:00
nmannall
bea6f12da6
Fix MPI regresssion tests not finding dependency
2024-09-26 18:18:38 +01:00
nmannall
bb5832b042
Add new snapshot tests at MPI boundaries
2024-09-26 18:16:23 +01:00
nmannall
9d13d5a495
Update snapshot regression files with new discretisations
2024-09-26 18:14:22 +01:00
nmannall
9dd0d1b255
Add validation for snapshots to fix out of bounds memory access
2024-09-26 18:13:05 +01:00
nmannall
aef7737299
Change mpi and taskfarm flags to use -- convention
2024-08-16 15:49:20 +01:00
nmannall
93dadd9f1e
Reformat long strings in contexts.py
2024-08-16 15:32:34 +01:00
nmannall
c288e8eb7c
Add docstrings to all MPIGrid and FDTDGrid methods
2024-08-16 14:47:45 +01:00
nmannall
89873a5963
Fix bug when rank only contains the final snapshot step
2024-08-06 13:46:11 +01:00
nmannall
9a4d576284
Add additional Snapshot tests (2D slices of 3D model)
2024-08-06 13:44:37 +01:00
nmannall
d4276e44f9
Add has_neighbour helper method
2024-08-05 15:53:26 +01:00
nmannall
33670b3bd1
Merge branch 'devel' into mpi
2024-08-05 15:31:40 +01:00
nmannall
4b9bd26a4d
Add reframe tests for Snapshots
2024-08-05 15:29:39 +01:00
nmannall
320b813f8d
Run h5diff command in reframe sanity function
2024-08-02 13:53:28 +01:00
Craig Warren
9107179d5a
Fixed bug with start/end/thickness of cylindrical sector
2024-07-24 15:13:56 +01:00
nmannall
87d4d63a38
Regenerate regression tests after PML precision change
2024-07-24 13:28:23 +01:00
nmannall
bef3b8e6bd
Change pml cython functions to double precision
...
Reduces numerical differences between serial and MPI implementation
2024-07-24 10:33:44 +01:00
nmannall
70960f38b8
Fix typo in source directory
2024-07-24 10:33:10 +01:00
nmannall
8f336d9de0
Add reference data to output plot and plot diffs
2024-07-24 10:13:22 +01:00
nmannall
7d97ebcd81
Move regression checks folder to correct location
2024-07-24 10:06:42 +01:00
nmannall
43e9390b8d
Split reframe tests into multiple files
2024-07-23 15:24:59 +01:00
nmannall
e7eaba53df
Add comments to all methods
2024-07-23 15:23:46 +01:00
nmannall
05cfc6403b
Move reframe test files into seperate directory
2024-07-23 14:36:10 +01:00
nmannall
bec547f201
Throw exception if unknown grid type
2024-07-18 17:38:06 +01:00
nmannall
960ced4761
Implement Snapshots for MPI
...
Works, except for small errors in the corners of 2D models. Requires
further investigation.
2024-07-18 17:33:27 +01:00
nmannall
5c9d59d7d1
Fix wrong grid coord when coordinate at edge of grid
...
When the global coordinate was in the far edge of the grid, the returned
grid coordinate would be one more than the maximum in at least one
dimension resulting in comm.Get_cart_rank failing.
2024-07-18 17:17:16 +01:00
nmannall
b8e7a3b3ca
Update dtype and type hints for numpy arrays
2024-07-18 17:10:39 +01:00
nmannall
63042ab0ad
Remove default value from GridType
2024-07-18 17:06:01 +01:00
nmannall
cd078dbfc4
Add some type hints
2024-07-18 17:05:07 +01:00
nmannall
7d0321715f
Fix snapshots always defaulting to .vti files
2024-07-18 17:03:29 +01:00
nmannall
8af024b496
Move test input files into folders
...
Reduces the number of unnecessary files present in the test stage and
output directories.
2024-07-16 12:10:43 +01:00
nmannall
ddf4a97e5b
Log materials table clearer with debug log level
2024-07-15 16:43:33 +01:00
nmannall
e5051912ef
Save output files from each rank in a folder
2024-07-15 16:42:47 +01:00
nmannall
de952f2bed
Fix ID array not being distributed to MPI ranks
2024-07-15 16:25:20 +01:00
nmannall
f3c1c17ff7
Change materials table to Ascii as displays better
...
SingleTable does not display well in log files or if stdout is
redirected to a text file
2024-07-12 16:55:37 +01:00
nmannall
147f7860c3
Tidy up logging (mainly for log files/debug level)
2024-07-12 16:54:13 +01:00
nmannall
d1755e9474
Fix checking memory requirements twice in MPIModel
2024-07-12 16:51:22 +01:00
nmannall
f21c281bac
Use colorama to control logging colours
2024-07-12 16:50:14 +01:00
nmannall
8052d2a448
Add controls for MPI logging
2024-07-12 16:49:22 +01:00
nmannall
ba2edbf3d3
Turn off progress bars for non-rank 0 processes
2024-07-12 16:32:02 +01:00
nmannall
8467ee5dfa
Change logger.exception to logger.error
...
logger.exception is designed to be used inside an exception handler as
the exception info is added to the logging message.
2024-07-12 14:59:28 +01:00
nmannall
e99e1b304b
Split test output by rank and add some debug info
2024-07-09 15:03:39 +01:00
nmannall
642db458e2
Add overrides to show or hide progress bars
2024-07-04 12:36:24 +01:00