Craig Warren
|
fd7c61428a
|
PEP8 code cleanups.
|
2018-07-09 12:35:19 +01:00 |
|
Craig Warren
|
888d9f401f
|
Moved (and updated) memory estimate function, now attached to Grid class.
|
2018-07-09 11:05:04 +01:00 |
|
Craig Warren
|
dd110fd687
|
Added checks for correct source polarisation in 2D modes, & explicit setting of PEC boundaries for invariant direction in 2D modes.
|
2018-05-02 14:31:06 +01:00 |
|
Craig Warren
|
4848a8d4d7
|
PEP8 code cleanups.
|
2018-01-02 18:14:20 +00:00 |
|
Craig Warren
|
8b81dca756
|
Use of np.isclose rather than equality when finding frequency of maximum power.
|
2018-01-02 14:09:17 +00:00 |
|
Craig Warren
|
fc7306c101
|
Updated copyright date.
|
2018-01-02 11:23:53 +00:00 |
|
Craig Warren
|
4548644399
|
Correction to calculation for maximum frequency of interest.
|
2017-12-20 15:28:03 +00:00 |
|
Craig Warren
|
91a8a6a14f
|
Added FFT function (uses np.fft.fft) to utilities module, to avoid repeating same code in several modules.
|
2017-12-20 15:01:12 +00:00 |
|
Craig Warren
|
e486bb12be
|
Added warning to numerical dispersion function for case when waveform is undersampled.
|
2017-12-18 12:01:19 +00:00 |
|
Craig Warren
|
6d6dd13e97
|
Updated dispersion analysis function to handle case of impulse waveform.
|
2017-10-25 17:04:16 +01:00 |
|
Craig Warren
|
e351a5fde8
|
Added functionality to better handle divide by zero error when taking log10.
|
2017-10-11 10:24:51 +01:00 |
|
Craig Warren
|
a506bfc16c
|
Added functionality to cope with trying to take log10(0) in dispersion analysis.
|
2017-10-09 15:01:15 +01:00 |
|
Craig Warren
|
4de9f704e7
|
Adjusted dispersion analysis to perform FFT of waveform over 4 * pulse width rather than entire time window.
|
2017-08-23 10:53:33 +01:00 |
|
Craig Warren
|
b86935ae58
|
Adjustments to dispersion analysis to handle long time windows. Moved to analysing waveform over a multiple of pulse widths rather than entire time window.
|
2017-08-23 10:50:48 +01:00 |
|
Craig Warren
|
3c8e5bab1b
|
Updates for version 3.1.0 - Big Smoke. These updates are predominately to enable gprMax to be run on GPUs using NVIDIA CUDA.
|
2017-06-19 16:24:08 +01:00 |
|
Craig Warren
|
45fd6f1c47
|
Corrected some comments.
|
2017-05-02 14:19:59 +01:00 |
|
Craig Warren
|
6addb8883b
|
Reduced threshold used in estimating numerical dispersion from -60dB to -40dB.
Added calculation of complex relative permittivity for Debye, Lorentz, and Drude materials. Real part is used in numerical dispersion analysis.
|
2017-05-02 14:18:09 +01:00 |
|
fake-name
|
6b36b597bd
|
Break the comments to be mostly 80 chars wide, with a 100 char ceiling (mostly, probably missed some).
No actual code modification yet, only whitespace.
|
2017-04-25 16:52:36 -07:00 |
|
fake-name
|
f9c0eeb48b
|
Unsplat imports, mostly to break up the few cases of HUGE 180 char imports.
I'm eventually going to try to remove all instances of <from x import y>, but that's further down the line.
|
2017-04-25 15:06:14 -07:00 |
|
Craig Warren
|
a22b8c4f1d
|
Update to dispersion analysis for case where there is no waveform in a simulation.
|
2017-02-28 17:26:23 +00:00 |
|
Craig Warren
|
117e6fa7fb
|
Updates to dispersion analysis function.
|
2017-02-22 12:27:07 +00:00 |
|
Craig Warren
|
3ef9e7d48b
|
Changed solid and rigid array sizes to nx x ny x nz, and all field arrays to (nx + 1) x (ny + 1) x (nz + 1)
|
2017-02-21 12:35:57 +00:00 |
|
Craig Warren
|
f960c49e17
|
Updated to account for new PML boundary ID naming.
Updated current calc functions to take all magnetic fields as args for consistency.
|
2017-01-30 18:16:09 +00:00 |
|
Craig Warren
|
8060b3011e
|
Use isclose for finding max frequency.
|
2017-01-26 17:04:44 +00:00 |
|
Craig Warren
|
0169dfc205
|
Testing dispersion algorithm.
|
2017-01-26 16:55:58 +00:00 |
|
Craig Warren
|
3618cc1298
|
Print frequency of max power for waveform.
|
2017-01-26 16:32:22 +00:00 |
|
Craig Warren
|
c03b5efa63
|
Formatting cleanups.
|
2017-01-26 16:23:29 +00:00 |
|
Craig Warren
|
8bb22d68a9
|
Improved dispersion analysis warning algorithm - checks for non-physical wave propagation and improves max frequency finding.
|
2017-01-26 15:15:20 +00:00 |
|
Craig Warren
|
3bf30d069e
|
Corrected issues with dispersion analysis for high values of dielectric, and for pulses with low power at low frequencies (affected finding highest frequency).
|
2017-01-26 12:15:04 +00:00 |
|
Craig Warren
|
c6d3fafb97
|
Updated copyright notices to 2017.
|
2017-01-18 14:16:20 +00:00 |
|
craig-warren
|
e0927c6423
|
Fixed dispersion analysis for 2D simulations with non-cubic cells.
|
2016-12-08 08:32:34 +00:00 |
|
Craig Warren
|
8407a9c3b0
|
Added grid property dimension to explicitly state 2D or 3D.
|
2016-12-05 15:20:59 +00:00 |
|
Craig Warren
|
b918f91663
|
flake8 code cleanups.
|
2016-11-18 11:03:03 +00:00 |
|
Craig Warren
|
d4a94bdf22
|
Changed PML thickness from tuple into ordered dictionary.
|
2016-10-14 14:11:06 +01:00 |
|
craig-warren
|
48140eb1c9
|
Source steps and receivers steps changed to list not a tuple.
|
2016-10-12 12:55:32 +01:00 |
|
Craig Warren
|
3f26d2d33e
|
Further tweaks to dispersion analysis function.
|
2016-10-11 14:17:10 +01:00 |
|
Craig Warren
|
b3426882c3
|
Corrected bug with adding dispersion analysis results to a dict.
|
2016-10-11 13:48:35 +01:00 |
|
Craig Warren
|
ec9af99bda
|
Made dispersion analysis results a dict.
|
2016-10-11 13:27:26 +01:00 |
|
Craig Warren
|
e831f0a713
|
Added more informative messages (via analysis) on numerical dispersion.
|
2016-10-06 17:08:52 +01:00 |
|
Craig Warren
|
f9c7731ae2
|
Source and receiver steps now stored in a tuple (x, y, z).
Corrected FFT calculation used to give dispersion warning (was 20log10, now 10log10).
Simplified current calc functions.
|
2016-09-30 14:19:40 +01:00 |
|
Craig Warren
|
6aeaa315b5
|
Added option to disable progress bars and ensure they always write to stdout instead of stderr.
|
2016-08-18 14:58:25 +01:00 |
|
Craig Warren
|
4236dcf134
|
Added check to dispersion function for when waveform doesn't fit in time window.
|
2016-08-17 10:38:42 +01:00 |
|
Craig Warren
|
4095925ef0
|
Formatting cleanups.
|
2016-07-21 16:23:41 +01:00 |
|
Craig Warren
|
e8ebd1498f
|
Whitespace cleanups.
|
2016-07-21 16:17:39 +01:00 |
|
Craig Warren
|
e378bd66f9
|
Whitespace (W292,W293,W391) tidy.
|
2016-07-21 16:08:39 +01:00 |
|
jasminium
|
f385ea60cd
|
refactored domain coordinates logic
|
2016-05-31 13:15:40 +01:00 |
|
jasminium
|
6e12a85f7c
|
simplify main loop to build connectivity etc..
|
2016-05-18 16:48:56 +01:00 |
|
Craig Warren
|
8a471f0b43
|
Removed unnecessary import and added comment.
|
2016-05-17 17:51:10 +01:00 |
|
jasminium
|
88c41c5833
|
fixed merge
|
2016-05-11 16:30:08 +01:00 |
|
jasminium
|
b92ce556f6
|
hdf5 xdmf support
|
2016-05-10 16:12:40 +01:00 |
|