Commit Graph

380 Commits

Author SHA1 Message Date
Thorsten Liebig
63c5fe561d fix hdf5 search to not find opencv hdf5.h
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-01-06 16:43:21 +01:00
aWZHY0yQH81uOYvH
115aeb64e2 update setup.m to work on Mac 2023-01-06 03:31:01 -08:00
luz paz
026f12355f Fix various typos
Found via `codespell -q 3 -L adress,imag`
2022-12-11 11:32:04 +01:00
Thorsten Liebig
d4448fa294 octave: make sure to find the serial hdf5 include first
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2022-02-15 19:12:06 +01:00
Thorsten Liebig
bad842a710 voltage probes: better voltage integration with direction
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2021-08-25 19:05:11 +02:00
funkmaus
a013077854 Allow whitespaces in simulation path (remote)
A simulation path that contains a whitespace character (and probably a lot of other characters that have special meanings inside a shell) leads to an scp failure when the simulation data is copied back to the host machine. Replacing [pwd '/'] by just './' as the back-copying destination fixes this problem.
2021-04-11 12:39:15 +02:00
Thorsten Liebig
46827dccb0 fix matlab console output
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2020-11-22 15:39:47 +01:00
Mark Pinese
ba793ac84e Updated to use new AddPolygon API. 2020-02-16 16:13:54 +11:00
Andreas Pfau
3a2a482a73 Fixed a few obvious copy-paste errors 2019-05-22 22:44:46 +02:00
Andreas Pfau
d147155c8b Handling cases when a script interpolates a location outside of the mesh, and providing a meaningful error message 2019-05-22 22:09:09 +02:00
Andreas Pfau
615106144a fixed some typos 2019-05-19 22:09:04 +02:00
Andreas Pfau
d64f17ff3c fixed some argument-verification errors (the wrong arg was verified) 2019-05-19 22:08:00 +02:00
Andreas Pfau
b3072c687b RunOpenEMS will now propagate errors from openems.exe, instead of silently failing 2019-05-19 22:06:14 +02:00
Thorsten Liebig
e2d31ecf5d fix averaging bug in transmission line calc
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2019-02-19 17:57:21 +01:00
tmolteno
527ac2bd42 Modify the find command to return only one line. If the command returned two lines (in the case that there were two copies of hdf5.h on the system, then the system got confused. Also updated the options to the mkoctfile command to concatenate the strings seperately 2018-06-04 20:33:07 +12:00
Thorsten Liebig
9b86db48c1 matlab: use quotation marks around file names
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-01-04 10:10:34 +01:00
Georg Michel
5a882a7085 added an option to set the markers manually 2017-03-23 21:10:50 +01:00
Georg Michel
68a099af04 sign error in the documentation corrected 2017-03-05 19:06:09 +01:00
Georg Michel
17ffed5a0a fixed/improved documentation 2017-03-05 09:41:26 +01:00
Thorsten Liebig
515cafeceb matlab: use separate ground in stripline tutorial
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-02-18 15:09:03 +01:00
Thorsten Liebig
4059d95bfd matlab: new tutorial strip line to msl transition
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-02-11 19:47:06 +01:00
Thorsten Liebig
88344f8feb matlab: update Tutorials
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-02-11 19:46:26 +01:00
Thorsten Liebig
29ecc4b6c5 octave: find hdf5 header for setup too
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-02-11 17:25:58 +01:00
Thorsten Liebig
ab682cc0bd A few fixes for MPI
main.cpp:
	1. 	Check return value of ParseFDTDSetup and exit if false
	2. 	Use exit instead of return. These are almost identical. But
		in my OpenMPI installation the process with teh highes rank
		segfaults at the end when using return. This is not the case
		with exit. Probably some C++ cleanup problem (destructors).
openems.cpp:
	Give Parse_XML_FDTDSetup a deterministic return value.
openems_fdtd_mpi.cpp:
	1.	Remove the word "only" in an error message because there can
		also be too many processes.
	2.	Fix the indexing variables for SetSplitPos in SetupMPI. Otherwise
		more than one split results in an out-of-range exception and
		unexpected behavior.
RunOpenEMS_MPI.m:
	Apply Settings.MPI.GlobalArgs also to multi-host scenarios.
2016-12-02 19:03:35 +01:00
Thorsten Liebig
ed33316dcf tutorials: add new plotRefl showcase to patch antenna tutorial
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-29 20:54:34 +01:00
Georg Michel
bcfbcd45ff Added new routine plotRefl for plotting the port reflection
coefficient into a Smith chart.
2016-11-20 15:08:59 +01:00
Georg Michel
3560e17897 removed -DH%_USE_16_API 2016-09-26 13:33:29 +00:00
Georg Michel
d7472c4213 modified h5readatt_octave.cc to conforr to new HDF5v1.8+ API 2016-09-26 12:35:33 +00:00
georgmichel
929b1fac13 added DelayFidelity.m for UWB and Radar applications plus tutorial 2016-09-05 06:19:19 +00:00
Thorsten Liebig
2dc44df0e6 fix help typo
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-06-27 07:53:41 +02:00
Thorsten Liebig
bb6483fd73 nf2ff: improve file search / fix for MPI
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-02-09 19:40:23 +01:00
Thorsten Liebig
6a89ca30aa tutorials: update rect waveguide
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-29 08:07:51 +01:00
Thorsten Liebig
1eca3dd23a matlab: fix DFT for periodic signals
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-13 16:27:10 +01:00
Thorsten Liebig
6878bc974b fix remote run output on Octave using "system" instead of "unix" command
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-08-09 15:05:46 +02:00
Thorsten Liebig
a4b07501a7 update Tutorials
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-06-16 21:13:25 +02:00
Thorsten Liebig
3f2181058a matlab: add voltage/current probe weighting
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-05-04 21:06:42 +02:00
Thorsten Liebig
846e7c960e fix/improve hdf5 usage for octave
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-05-04 20:02:21 +02:00
Thorsten Liebig
9ef6510d3e nf2ff: add boundary mirroring
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-10-09 21:20:31 +02:00
Thorsten Liebig
d6ca840411 new example: bi-quad antenna
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-06-23 22:51:23 +02:00
Thorsten Liebig
a166f3d7a5 update for some Tutorials and examples
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-06-07 20:25:01 +02:00
Thorsten Liebig
6a758840f5 fix in stripline port
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-06-07 20:24:26 +02:00
Thorsten Liebig
b3bb76e62d matlab fix for missing range functions
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-06-07 20:24:04 +02:00
Thorsten Liebig
b04b80daf6 new co-planar waveguide port and example
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-06-07 20:22:35 +02:00
Thorsten Liebig
865e817de7 bug fix: get max freq from xml to setup conducting sheet model
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-04-08 21:32:18 +02:00
Thorsten Liebig
d09931e28b examples: meshing issue fixed in inverted_f antenna example
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-02-25 21:05:54 +01:00
Thorsten Liebig
32a907a26e ports: calculate/export time domain voltages and currents
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-28 21:41:19 +01:00
Thorsten Liebig
b44f8de350 matlab: allow empty number of lines for field interpolation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-20 10:02:48 +01:00
Thorsten Liebig
390bd9f478 Tutorials: use new calcPort power calculation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-09 14:31:20 +01:00
Thorsten Liebig
4fd8eee902 matlab: calcPort calculates port inc/ref/acc power
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-09 14:11:49 +01:00
Thorsten Liebig
2e8b2b7260 Added support for background material in CSXCAD
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-03 16:02:22 +01:00