Thorsten Liebig
e52babccbf
MSVC: fix for windows compiler
...
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2022-12-29 13:08:44 +01:00
Thorsten Liebig
9737661b94
python: language level 3
...
Signed-off-by: Thorsten Liebig <thorsten.liebig@gmx.de>
2022-12-29 10:06:11 +01:00
Georg Zachl
8c08cf5312
Expose sinusoidal, dirac pulse and step pulse excitation to the Python API.
2022-12-11 11:33:21 +01:00
luz paz
026f12355f
Fix various typos
...
Found via `codespell -q 3 -L adress,imag`
2022-12-11 11:32:04 +01:00
Stefan Biereigel
0b43416651
add aarch64 build support
2022-12-11 11:30:33 +01:00
pkubaj
2215eba9ef
Fix build on FreeBSD/powerpc64*
...
FreeBSD uses powerpc64 and powerpc64le names for 64-bit POWER.
2022-12-11 11:29:48 +01:00
Thorsten Liebig
d260025a6d
numeric: make sure that LC_NUMERIC is set to en_US for function parser
...
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2022-05-31 20:09:43 +02: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
46f4084555
fix line integral calc
...
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2021-09-07 16:56:08 +02:00
Thorsten Liebig
0e54fbf7ac
core: fix probe handling
...
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2021-08-25 19:05:38 +02: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
Yuri Victorovich
2a7506482c
Fixes in openEMS.sh
...
1. use Bourne shell to prevent unnecessary dependencies
2. fix $@ to handle arguments with spaces properly
2021-08-18 23:46:45 -07:00
Thorsten Liebig
4c24b6ec75
python: replace distutils with setuptools
...
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2021-07-13 19:17:15 +02:00
Thorsten Liebig
0dcbcf7651
python Tutorial: fix bent patch antenna
...
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2021-07-08 15:23:47 +02:00
Thorsten Liebig
566962c516
cmake: static link hdf5
...
maybe only windows?
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2021-07-08 15:15:55 +02:00
Thorsten Liebig
f9c8954ed3
python: improve init on windows
...
CSXCAD adds the dll path as needed on windows install version
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2021-07-08 15:14:30 +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
Stefan Biereigel
06aa959f29
fix boost library path variable
2021-04-11 12:23:34 +02:00
Thorsten Liebig
9017d91594
excitation setup speedup
...
* get all excitation primitives inside a yz-slice only
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2020-11-22 19:08:07 +01: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
Thorsten Liebig
bb235b242b
cmake: policy 0074 should be set in localConfig.cmake if necessary
...
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2020-01-04 17:07:06 +01:00
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