Sai Suraj
893d635fc1
Merge branch 'devel' of https://github.com/gprMax/gprMax into class_Waveform
2023-04-17 10:40:53 +05:30
Sai Suraj
e239b84f7c
Merge branch 'devel' of https://github.com/gprMax/gprMax into beta_1
2023-04-16 19:30:54 +05:30
Sai Suraj
2f8294698d
Reformatted some code in a few more files.
2023-04-16 19:17:57 +05:30
Antonis Giannopoulos
bec20bbd52
New object building primitives and two new mixing models for fractal box, bug fixes
...
Introduced object primitives #ellipsoid and #cone. The #ellipsoid works with regular semi-axes
along x, y, and z. The #cone works in a similar way to the cylinder and can be truncated with circular faces of different radii. If one radius is zero then it is a normal cone.
Introduced two new mixing models for using with a fractal box, #material_range and #material_list
The #material_range allows materials to be constructed using ranges of permittivity, conductivity, magnetic permeability and magnetic loss. Ranges can be increasing or decreasing as needed.
The #material_list creates a list of predefined materials that can be used with a fractal box. The order of the listed materials reflects the order of the bins they are allocated to in a fractal box.
The fractal box and associated mixing models have been updated to use a list of material IDs and do not rely on the assumption that are generated sequentially. This gives greater flexibility and
adds little computation burden on the creation of the fractal volume.
Bug fixes for mixing anisotropic volumetric materials where "mr" was used instead of "ms".
Bug fixes on objects that use integer coordinates for centres but where passed floats instead.
2023-04-16 13:51:47 +01:00
Sai Suraj
361bfc3115
Updated a few more files by reformatting some code, now they look a little better.
2023-04-16 15:48:19 +05:30
Sai Suraj
e41449a923
Reformatted some code in 3 more files, used f-strings to make code better.
2023-04-16 11:03:47 +05:30
Sai Suraj
a347b12c9e
Reformatted some code in 3 more files to make it more cleaner, and better.
2023-04-16 00:46:37 +05:30
Sai Suraj
d9175e8a5e
Merged the progressbars dictionary assignment with declaration to make the code cleaner.
2023-04-15 11:44:46 +05:30
Sai Suraj
740ddb06ed
Used f-strings to make the code in cmds_multiuse.py much better
2023-04-15 11:26:38 +05:30
Sai Suraj
9dbf795356
Used f-strings to make the code in cmds_singleuse.py file more cleaner and readable.
2023-04-15 11:06:45 +05:30
Sai Suraj
f05cb68bc2
Reformated some 'if statements' to make them more simpler with less amount of code.
2023-04-15 10:33:05 +05:30
Craig Warren
4b36ed616a
Removed unused vtk float identifiers
2023-04-06 15:42:18 +01:00
Craig Warren
acc32b8220
Initial subgridding example
2023-03-31 16:56:09 +01:00
Craig Warren
c15425db0a
Updated docstring for run func
2023-03-30 15:36:43 +01:00
Craig Warren
25bb091553
Updated PML info
2023-03-30 12:09:43 +01:00
Craig Warren
29d1f4e0e6
Added warning message when fractal seed is not specified
2023-03-29 12:07:32 +01:00
Craig Warren
9ed0943642
Tidied docstring
2023-03-29 12:07:12 +01:00
craig-warren
6985350222
Adding patterns
2023-03-11 18:23:43 -07:00
craig-warren
a9dca707cb
Fixed some typos
2023-03-10 09:06:12 -07:00
craig-warren
ef3cb14e98
Updated copyright year
2023-03-08 17:16:56 -07:00
craig-warren
8ba5d39437
Removed macOS name checking
2023-03-08 17:15:30 -07:00
Craig Warren
fd171a6e05
Corrected sampling of source waveforms (half/whole timestep)
2023-02-18 15:16:39 +00:00
Craig Warren
d91cc08685
Testing subgrid snapshots
2023-02-17 11:35:09 +00:00
Craig Warren
af3036d904
Amended command order to correct bug with timestepstability
2023-02-04 15:50:34 +00:00
Craig Warren
8f5b5d3484
Switch to not using shell for subprocess commands
2023-01-20 11:48:18 +00:00
craig-warren
8de1f15e37
Fixed bug with voltage source and opencl
2023-01-13 17:03:58 +00:00
Craig Warren
83fd72cc2d
Correct bug with reporting macOS version
2023-01-04 14:03:58 +00:00
Craig Warren
d1ae1367dd
Added TODO on extract rough surface profile
2022-11-29 13:08:53 +00:00
Craig Warren
ff2be95cc8
Tidying line lengths and comments
2022-11-29 13:08:37 +00:00
Craig Warren
0fca2a2576
Moved combining all grids into list
2022-11-29 13:08:06 +00:00
Craig Warren
9509541a2c
Added suppression of CompilerWarning for pyopencl
2022-11-29 09:08:00 +00:00
Craig Warren
78df7db25b
Tidy logging statement
2022-11-29 09:07:32 +00:00
Craig Warren
35c52c3018
Remove initial profile output - needs to be done elsewhere
2022-11-29 09:07:16 +00:00
Craig Warren
a5cc7de99e
Line length tidy up
2022-11-29 09:06:19 +00:00
Craig Warren
a630270836
Initial work on export rough surface profile
2022-11-28 21:55:37 +00:00
Craig Warren
9c1b6f0645
Used prange for some geo build methods
2022-11-28 21:55:14 +00:00
Craig Warren
3964d767ef
Change rotate method name
2022-11-28 21:53:50 +00:00
Craig Warren
049c2f517f
Updated to use humanize lib
2022-11-28 16:15:55 +00:00
Craig Warren
0d3a3f7bd1
Make it easier to determine mem required
2022-11-28 16:15:02 +00:00
Craig Warren
805b843d6f
Added func to estimate fractal building memory
2022-11-28 16:14:37 +00:00
Craig Warren
ac33c97be4
Moved to humanize & added module build mem est
2022-11-28 16:14:19 +00:00
Craig Warren
567d7cb1ca
Updated docstring & removed unused return
2022-11-28 16:13:45 +00:00
Craig Warren
9a615c684d
Made mem & time solving props of solver
2022-11-28 16:13:26 +00:00
Craig Warren
0784afc3c0
Switched to humanize lib & update some func names
2022-11-28 16:13:02 +00:00
Craig Warren
ddb188e179
Added mem est func for building & switched to humanize lib
2022-11-28 16:12:19 +00:00
Craig Warren
bd67095802
Removed unused funcs & switched to humanize lib
2022-11-28 16:11:41 +00:00
Craig Warren
e77a4b01f5
Added init
2022-11-26 16:52:18 +00:00
Craig Warren
81d58bf7b2
Corrected bug with extra loop range
2022-11-26 16:51:53 +00:00
Craig Warren
db83479972
Merged some of the loops to try and improve speed
2022-11-26 15:31:49 +00:00
Craig Warren
337ad3ab4d
Fixed bug with check variable name
2022-11-22 10:49:37 +00:00