Commit Graph

1149 Commits (3a2af34bcefa715ae0ecddd207997b39aa3c41a4)

Author SHA1 Message Date
radioactive 3a2af34bce don't segfault due to null pointer when handling dispersive materials (Lorentz/Debye). if(prop==NULL) continue; 2018-09-13 23:21:16 -07:00
Thorsten Liebig cc5a709e74 make excitation setup a void function if nothing is returned
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-06-24 10:13:28 +02: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 a5838df1e1 update welcome screen
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-03-27 20:44:44 +02:00
Thorsten Liebig ba4c5c5cce Merge branch 'fix_ambigous_isnan' of https://github.com/StefanBruens/openEMS 2018-03-27 20:41:38 +02:00
Stefan Brüns da8137f90d Fix build error due to ambigous overload of isnan/isinf
In case the code is build with -std=c++11, there may be conflicting
definitions of isnan/isinf vs std::isnan/std::isinf, due to the using
namespace std directive.
This happens for glibc versions 2.25 and older, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48891 for details.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2018-03-27 03:57:22 +02:00
Stefan Brüns a5a1dca832 Guard xmmintrin.h include so it is only used when necessary
The x86/SSE specific code for Flush-To-Zero is only used when
SSE_CORRECT_DENORMALS is not defined. Guarding the include allows the
code to compile on e.g. ARM.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2018-03-27 03:26:21 +02:00
Thorsten Liebig 65ca6bfc44 python: add set number of threads interface
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-01-04 15:51:18 +01: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
Thorsten Liebig a8c0d0bede FDTD: fix sse/sse_compressed engine creation
ref. 6353c70a

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-01-04 10:06:29 +01:00
Thorsten Liebig 6133dea5b0 add field processing for electric and magnetic flux densities
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-05-28 12:01:04 +02:00
Thorsten Liebig 92939becd0 python: minor improvement and fix
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-05-01 12:49:15 +02:00
Thorsten Liebig 9d05c86900 python: add debug options
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-05-01 12:48:47 +02:00
Thorsten Liebig 21fab76679 add debug PEC and debug CSX to API
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-05-01 12:34:16 +02: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 9c317dc4a8 Merge branch 'python' 2017-03-01 22:09:46 +01:00
Thorsten Liebig 7c0d498f56 python: allow setting of radius for nf2ff
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-03-01 22:09:19 +01:00
Thorsten Liebig c8049af005 python: add some initial automesh features
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-03-01 22:08:53 +01:00
Thorsten Liebig 9741b654e0 nf2ff: fix P_rad calculation with radius != 1m
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-02-26 18:37:58 +01:00
Thorsten Liebig a9edb66a83 version v0.0.35
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-02-18 15:14:30 +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 ff6920f3a8 FDTD: fix excitation signal length calculation and handling
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2017-02-11 18:17:54 +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 a2c2ec2ff5 cmake: hdf5 support fixes
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-12-13 19:09:13 +01:00
Georg Michel d8677b100d forgot an << endl; 2016-12-10 14:06:42 +01:00
Georg Michel b32cf1fb62 clarified a warning for MPI 2016-12-10 12:35:36 +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
Thorsten Liebig 765490d7a3 cricital bug fix for mode matching probes
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-15 20:13:18 +01:00
Thorsten Liebig 9f3d5f0da2 cmake: fix hdf5 variables
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>

# Conflicts:
#	CMakeLists.txt
2016-11-15 20:13:05 +01:00
Thorsten Liebig 963aa39ed4 python: doc updates
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-15 20:09:27 +01:00
Thorsten Liebig c0ea99f2b6 python: added CRLH extraction tutorial
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-15 20:08:41 +01:00
Thorsten Liebig 8a3713a1a4 python: fix/improve waveguide ports
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-13 22:37:26 +01:00
Thorsten Liebig 0f37d1d3a2 python: implement cylindrical grid support
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-13 22:36:57 +01:00
Thorsten Liebig 1573f0952e cricital bug fix for mode matching probes
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-13 22:09:36 +01:00
Thorsten Liebig 57b8e5839f cmake: fix hdf5 variables
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-13 22:07:06 +01:00
Thorsten Liebig 23518278e8 build: fix hdf5 libraries for newer cmake
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-10-05 20:25:26 +02: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
Thorsten Liebig 4216f1307a python: new Tutorial and updated doc
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-20 22:10:11 +02:00
Thorsten Liebig d41830f090 python: adept to new CSXCAD API
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-20 22:08:57 +02:00
Thorsten Liebig b45b615f7e python: massive improvements to documentation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-10 23:55:11 +02:00
Thorsten Liebig c943590548 python: update tutorials, improve doc
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-10 23:53:20 +02:00
Thorsten Liebig 015f6bcde0 python: shortcut openEMS import
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-10 23:51:43 +02:00
Thorsten Liebig 1ebb7932c1 python: add documentation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-09-08 22:10:27 +02:00