提交图

3033 次代码提交

作者 SHA1 备注 提交日期
nmannall
439cd82a0d Fix cone being squashed to the limits of the grid
This occurred when the cone was aligned with an axis as the maths to
calculate if the cone was at a point in the grid used x, y, z
coordinates bound to the limits of the grid.
2025-01-31 17:40:22 +00:00
nmannall
73128f88e3 Revert hard coding Rx class name in default ID 2025-01-31 17:23:51 +00:00
nmannall
828ed75429 Add MPIUserObject 2025-01-31 17:22:04 +00:00
nmannall
19eb17bf59 Fix incorrect coordinates output when user object created 2025-01-31 16:08:46 +00:00
nmannall
1a445ec8a0 Turn on debug logging for Subgrids test 2025-01-31 14:58:14 +00:00
nmannall
1d0cd4b980 Refactor UserInputs to make inheritence simpler 2025-01-31 14:48:48 +00:00
nmannall
e4370abefd Add tests to cover more Cone geometry edge cases 2025-01-31 11:52:39 +00:00
nmannall
a5fc665671 Create new Cone geometry reframe tests 2025-01-22 11:39:08 +00:00
nmannall
b99d734bdc Add methods to the grid to add sources and receivers
This is needed as the MPI grid needs to convert the location of the
source/receiver to its local coordinates. Doing this in the grid means
the multi use commands don't need to know about the MPI implementation
2025-01-21 16:33:44 +00:00
nmannall
da79de828d Turn on parallel build for multi use commands 2025-01-21 16:33:44 +00:00
nmannall
897aa1d252 Log error before calling MPI abort 2025-01-21 16:33:43 +00:00
nmannall
d162365df7 Correct keyword used by source hash commands 2025-01-21 16:33:43 +00:00
nmannall
68b3c8ab7b Update RxArray for parallel build 2025-01-21 16:33:43 +00:00
nmannall
03c692b04f Update receivers for parallel build 2025-01-21 16:33:43 +00:00
nmannall
b227bb64d5 Update TransmissionLine for parallel build 2025-01-21 16:33:43 +00:00
nmannall
bd55f0beae Update Magnetic Dipole for parallel build 2025-01-21 16:33:42 +00:00
nmannall
29d3381147 Update HertzianDipole for parallel build 2025-01-21 16:33:42 +00:00
nmannall
bd6b73db2c Divide VoltageSource build method into sub methods 2025-01-21 16:33:42 +00:00
nmannall
d91462606d Fix voltage_source hash cmd using incorrect keyword 2025-01-21 16:33:42 +00:00
nmannall
619707a9d1 Update VoltageSource UserObject for parallel build 2025-01-21 16:33:42 +00:00
nmannall
f597246556 Fix typo in function name 2025-01-21 16:33:41 +00:00
nmannall
5b05b2af61 Discretised points should be ndarrays not Tuples 2025-01-21 16:33:41 +00:00
nmannall
b982e37195 Create specific int and float rounding functions 2025-01-21 16:33:41 +00:00
nmannall
2e330ec083 Replace np.intc with more descriptive np.int32 2025-01-21 16:33:41 +00:00
nmannall
266f84edf3 Call MPI.Abort if an MPI rank raises an error 2025-01-21 16:33:39 +00:00
nmannall
abddc5fd71 Update singleuse commands for parallel model build 2025-01-21 16:33:39 +00:00
nmannall
6220e514ee Add MPI tests for example models 2025-01-21 16:33:39 +00:00
nmannall
24b1d0363a Create new geometry views/objects using grid views 2025-01-13 15:41:42 +00:00
nmannall
4e0dadd981 Remove raise statement from logger warning 2025-01-13 15:04:14 +00:00
nmannall
145c463eba Merge branch '38-refactor-scene-and-userobjects' into mpi 2025-01-06 16:43:39 +00:00
nmannall
e6debbf2f4 Update SubGridHSG to new UserObject approach 2025-01-06 16:05:27 +00:00
nmannall
8e60484b44 Make PML formulation optional in PMLProps user object 2025-01-06 16:01:36 +00:00
nmannall
d26ff3485c Make Rotatable a proper Mixin class 2024-12-12 10:20:57 +00:00
nmannall
c11b064499 Fix setting model.iterations as an integer 2024-12-12 10:19:44 +00:00
nmannall
5b805d808f Remove old Subgrid user object and unnecessary imports 2024-12-12 10:19:07 +00:00
nmannall
70151168fa Refactor geometry cmds to use new user object class 2024-12-11 18:59:23 +00:00
nmannall
2cc52708c4 Fix importing cmds_geometry.cmds_geometry 2024-12-11 18:23:54 +00:00
nmannall
41e5228e11 Fix importing cmds_geometry.cmds_geometry 2024-12-11 18:22:39 +00:00
nmannall
98c42a70ab Fix importing output user objects 2024-12-11 18:19:19 +00:00
nmannall
ed1b32dab9 Re-add OutputDir user object 2024-12-11 18:17:32 +00:00
nmannall
09e6fe923a Move cmds_geometry into user_objects folder 2024-12-11 18:08:56 +00:00
nmannall
09a37beea4 Refactor scene.py to use new user object classes 2024-12-11 18:01:36 +00:00
nmannall
7350532683 Remove old UserObjectMulti class 2024-12-10 14:48:18 +00:00
nmannall
bad5aa7ce0 Reorder methods for consistency 2024-12-10 14:46:58 +00:00
nmannall
b401f1d00d Update multiuse cmds to new user object classes 2024-12-10 14:14:18 +00:00
nmannall
e818441730 Move iterations and timewindow to FDTDGrid
Grids need to know the number of iterations and the timewindow to
calculate waveform values. While waveforms are global in an MPI sense,
subgrids will calculate their own waveforms based on the dt value of the
subgrid.
2024-12-10 11:06:30 +00:00
nmannall
d20fc36d29 Move cmds_multiuse.py to new user_objects folder 2024-12-10 10:39:42 +00:00
nmannall
f9b73406ca Refactor single use commands 2024-12-09 17:33:52 +00:00
nmannall
0869010fc6 Move cmds_singleuse.py to new user_objects folder 2024-12-09 17:27:59 +00:00
nmannall
b5c6045eaf Add new abstract classes for UserObjects 2024-12-06 16:14:19 +00:00