Thorsten Liebig
ebf017441e
python: do not use assert for required checks
...
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2020-01-04 15:58:20 +01:00
Thorsten Liebig
9e5dcecd31
python: unlock python GIL for long running tasks
...
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2020-01-04 15:57:21 +01:00
Thorsten Liebig
e7475a3bd1
python+MSVC: reorganize headers to reduce req. includes
...
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2019-12-30 20:04:22 +01:00
Thorsten Liebig
fbfccc4110
adaptations for win32 with MSVC
...
* missing __declspec import/export for openEMS.dll/nf2ff.dll creation
* SEE2 needs __m128 and operators (see tools/array_ops.h)
* array creation needs new/delete for compile time unknown sizes
* no gettimeofday and Winsock2 instead of sys/time
* missing math defines
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2019-12-30 17:12:51 +01:00
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