Commit Graph

1168 Commits (9c78459d5499e40d2e80c2cbfe1da62f40918997)

Author SHA1 Message Date
Thorsten Liebig 9c78459d54 Merge branch 'fix_rad_deg' of https://github.com/khashabri/openEMS 2019-11-08 19:16:05 +01:00
khashabri aa5848e7ae Fix missing deg2rad in RCS sphere tutorial #58 2019-11-07 12:28:19 +01:00
khashabri b86f514378 Solved the issue #59
Calling the run function multiple times caused an error
2019-11-07 10:05:48 +01:00
Timothy Pearson ffcf5ee0a6 Enable support for POWER systems (ppc64)
Built and tested on Raptor Computing Systems Blackbird system with IBM POWER9, running Debian 10 with VTK 6, Qt 5, and Octave.
2019-09-07 15:30:45 -05: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
Ruben Undheim 8908489c1f Explicitly extend from 'object' to prevent issue in Python 2
Otherwise, it fails with:

  File "/usr/local/lib/python2.7/dist-packages/openEMS/ports.py", line 205, in __init__
    super(MSLPort, self).__init__(CSX, port_nr=port_nr, start=start, stop=stop, excite=excite, **kw)
TypeError: super() argument 1 must be type, not classobj
2019-02-13 22:29:00 +01:00
Ruben Undheim 89bbd35906 Use 'from __future__ import absolute_import' to make the right paths be imported 2019-02-13 22:27:15 +01:00
Thorsten Liebig de2317278b setup: parse MaxTime from xml, #44
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2019-02-13 19:26:27 +01:00
Thorsten Liebig b37cb008b0 cmake: require vtk >= 6.1, win+linux
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-12-26 21:28:32 +01:00
Thorsten Liebig 3437959922 fix typo, #35
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-11-17 18:36:30 +01:00
Thorsten Liebig 6dfc05e9fe fix formatting
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-11-17 18:29:26 +01:00
Thorsten Liebig 9a8ff11a4d Merge branch 'master' of https://github.com/tvelliott/openEMS
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2018-11-17 18:28:23 +01:00
Thorsten Liebig d6dabdc0ed
Merge pull request #32 from detlefc/master
nf2ff: restore mesh lines after mirroring
2018-10-31 19:28:57 +01:00
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
Detlef Conradin 2799f19ae3 nf2ff: restore mesh lines after mirroring
This fixes a bug in nf2ff. When using mirror planes, fields and mesh
lines are mirrored in place. Mesh lines must be restored after the
calculation of a single frequency point. Otherwise, the far field at
every even frequency point is incorrect.
2018-03-03 13:36:15 +01: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