提交图

3001 次代码提交

作者 SHA1 备注 提交日期
nmannall
644bd53a4a Make UserInput generic 2024-05-15 17:29:28 +01:00
nmannall
a31be536d6 Begin moving subgrids into Model class 2024-05-15 16:27:03 +01:00
nmannall
99dd5f7cb6 Remove generic typing from numpy arrays
Need to use NDArray from numpy.typing in order to use generics
2024-05-15 15:52:37 +01:00
nmannall
a4836bfad7 Rename method argument in OMPThreads UserObject 2024-05-15 15:38:25 +01:00
nmannall
c0a68c4bf9 Move timewindow and interations to Model class 2024-05-15 15:36:52 +01:00
nmannall
ba9e16d8db Move time step stability factor into Model 2024-05-15 15:26:57 +01:00
nmannall
332a1204b6 Rename extents to distiguish between global and local
Add properties to the Model class to access nx, ny, and nz from the
grid.
Rename the extents in the model to reflect the fact they are global
2024-05-15 15:21:31 +01:00
nmannall
d919d5b3e3 Add discretisation properties to Model and FDTDGrid 2024-05-15 14:58:31 +01:00
nmannall
c3f69ccc7d Build grid using new process in CPUUpdate tests
GridBuilder has been removed to use a single build() function in the
FDTDGrid class instead.
2024-05-15 10:51:43 +01:00
nmannall
df80017425 Revert scene to operate on FDTDGrid not Model 2024-05-15 10:50:05 +01:00
nmannall
e31e5f3a77 Use MainGridUserInput as uip type 2024-05-15 10:25:00 +01:00
nmannall
424555a4d1 Remove @abstractmethod from method that is never implemented 2024-05-15 10:25:00 +01:00
nmannall
601c67ee47 Add type information 2024-05-15 10:25:00 +01:00
nmannall
718641da44 Make UserObjectMulti and UserObjectSingle abstract 2024-05-15 10:25:00 +01:00
nmannall
77ce6b73df Make SubGridBaseGrid actually abstract 2024-05-15 10:24:59 +01:00
nmannall
6331a47fd6 Refactor TimeStepStabilityFactor UserObject 2024-05-14 14:59:30 +01:00
nmannall
7cfe57948a Refactor Domain UserObject
Model extents nx, ny and nz are now stored in the model. Currently these
are copied to FDTDGrid, but will be changed to local grid extents when
MPI implementation is added
2024-05-14 14:48:45 +01:00
Craig Warren
18eed3c386 Revert explicit clearing of scenes list 2024-05-13 20:36:57 +01:00
nmannall
6ab48e4b5f Correct srcsteps and rxsteps type (int not float) 2024-05-13 16:56:58 +01:00
nmannall
bca5bfc1ed Add TODO to fix broken receiver output function 2024-05-13 16:55:32 +01:00
nmannall
c750fc1109 Refactor grid discretisation initialisation 2024-05-13 14:57:40 +01:00
nmannall
94a089a870 Revert value initialisation to None
Leave initialised values as None until can add type checking to the
class properly.
2024-05-13 14:54:03 +01:00
nmannall
352489612a Move calculating current to FDTDGrid member funcion
This calculation only uses information from the grid so makes sense to
be done by the grid class. The previous helper function was passed a
copy of the grid as a parameter already.
2024-05-13 14:28:02 +01:00
nmannall
07de3b52bf Build grid using new process in CPUUpdate tests
GridBuilder has been removed to use a single build() function in the
FDTDGrid class instead.
2024-05-13 13:46:58 +01:00
nmannall
fdd2811c8a Move title attribute from FDTDGrid to Model
Title should be a global attribute owned by the model, whereas each grid
oir subgrid has a name. Default value for grid name remains as
'main_grid'.
2024-05-13 13:20:39 +01:00
nmannall
14456dbb17 Move create_user_input_points to scene.py 2024-05-13 13:12:24 +01:00
nmannall
8bfb1a9feb Merge branch 'devel' into mpi 2024-05-13 11:23:23 +01:00
Craig Warren
60923f50f3 Need to clear scenes list when looped API call to gprMax.run 2024-04-24 21:32:39 +01:00
craig-warren
2a3d9573df Added wire dipole antenna model to testing 2024-04-19 15:26:55 +01:00
nmannall
0c0e0d9208 Split build_obj into seperate functions to build Model and FDTDGrid objects 2024-04-19 10:23:10 +01:00
nmannall
7f3cf49349 Use MainGridUserInput as uip type 2024-04-19 09:52:05 +01:00
nmannall
6dde2e378b Remove @abstractmethod from method that is never implemented 2024-04-18 17:48:26 +01:00
nmannall
0c333a74cc Add type information 2024-04-18 17:41:35 +01:00
nmannall
bfc4068fec Make UserObjectMulti and UserObjectSingle abstract 2024-04-18 17:34:54 +01:00
nmannall
00d2c3c06e Make SubGridBaseGrid actually abstract 2024-04-18 17:33:15 +01:00
nmannall
2576f24241 Pass model to create_internal_objects not grid 2024-04-18 17:20:13 +01:00
nmannall
33e44ab882 Merge branch 'devel' into mpi 2024-04-17 12:30:28 +01:00
nmannall
7f4abea8b7 Merge branch 'add_reframe_tests' into mpi 2024-04-17 12:29:37 +01:00
nmannall
d4a34668ec Merge branch 'mpi' into add_reframe_tests 2024-04-17 12:12:07 +01:00
nmannall
a66afdb480 Add subgrid and antenna reframe tests 2024-04-17 12:08:37 +01:00
nmannall
a4dcb46c12 Fix file not found when not run from repo root 2024-04-17 12:06:10 +01:00
nmannall
eb8d2602cf Fix bug parsing #excitation_file command 2024-04-15 16:50:20 +01:00
Craig Warren
9f4bb79f54 Enforcing list when specifying even single output component 2024-04-15 15:59:48 +01:00
Craig Warren
324a66bcad Added note on PML with fractal distributions 2024-04-15 15:57:08 +01:00
Craig Warren
5f9421ef42 Corrected excitation file switch to multiuse 2024-04-15 15:36:12 +01:00
nmannall
c36e50eb35 Update with changes to reframe tests 2024-04-15 14:22:11 +01:00
nmannall
38d25e5377 Fix CreatePyenvTest failing on ARCHER2 2024-04-15 14:05:19 +01:00
nmannall
b23ab58f59 Move GridBuilder functionality into FDTDGrid 2024-04-15 14:04:25 +01:00
nmannall
a7d713a98a Fix pip update step in CreatePyenvTest 2024-03-28 17:12:49 +00:00
nmannall
fadcf4641e Update reframe tests to use PrgEnv-gnu as recommended by ARCHER2 docs 2024-03-27 14:58:02 +00:00