nmannall
ce1e811fb1
Build subgrids from Model and simplify FDTDGrid.build()
...
Subgrids are no longer contained within an FDTDGrid. The FDTDGrid.build()
function now just builds the grid it is called on. The Model class now
checks memory requirements etc.
2024-05-20 16:00:47 +01:00
nmannall
388e025aed
Revert "Refactor remaining UserObjectGeometry build processes"
...
This reverts commit 444f2a6a7f
.
2024-05-20 15:20:20 +01:00
nmannall
c63b8f3229
Revert "Refactor AddGress UserObject build process"
...
This reverts commit 1d7b5ff0f9
.
2024-05-20 15:16:59 +01:00
nmannall
672dd44094
Move materials back into FDTDGrid class
...
Materials are used to by the grid to build PMLs and components as well
as creating new materials to voltage sources. Additionally, didn't parts
of the grid will need a different subset of materials. Storing in Grid
could in the future reduce data duplication and the duplicate
computation looks to be minimal.
2024-05-20 15:11:41 +01:00
nmannall
444f2a6a7f
Refactor remaining UserObjectGeometry build processes
2024-05-17 14:57:58 +01:00
nmannall
1d7b5ff0f9
Refactor AddGress UserObject build process
2024-05-17 14:05:14 +01:00
nmannall
567f567891
Refactor GeometryObjectsWrite UserObject build process
2024-05-17 12:23:19 +01:00
nmannall
fe87ec29a9
Refactor GeometryViews UserObject build process
2024-05-17 12:12:17 +01:00
nmannall
1e862ad355
Refactor remaining mixingmodels UserObject build processes
2024-05-17 12:05:02 +01:00
nmannall
7544a84e8c
Refactor SoilPeplinski UserObject build process
...
Move mixingmodels from FDTDGrid to Model class
2024-05-17 12:00:36 +01:00
nmannall
633e815d58
Access subgrids from Model not FDTDGrid
2024-05-17 11:45:31 +01:00
nmannall
d7765cac28
Refactor Materials UserObject build process
2024-05-17 11:43:19 +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
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
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
nmannall
c750fc1109
Refactor grid discretisation initialisation
2024-05-13 14:57:40 +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
b23ab58f59
Move GridBuilder functionality into FDTDGrid
2024-04-15 14:04:25 +01:00
nmannall
204ba261ad
Move create_G() to Model class
2024-03-27 13:43:12 +00:00
nmannall
0001deafff
Rename ModelBuildRun to Model
2024-03-27 13:37:33 +00:00