Commit Graph

1212 Commits

Author SHA1 Message Date
Thorsten Liebig
cbbae61c24 python: fix TD for MSL ports with set ref. impedance
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-02-22 18:57:17 +01:00
Yifeng Li
8e408307b8 python/ports.py: replace deprecated "np.int" with "int".
Accroding to NumPy's development team, "for a long time, np.int has
been an alias of the builtin int. This is repeatedly a cause of
confusion for newcomers, and existed mainly for historic reasons."

This and many other aliases have been deprecated since NumPy v1.20.0,
and at this point they've been completely removed. Replace "np.int"
with "int" allows ports.py to run again.

Signed-off-by: Yifeng Li <tomli@tomli.me>
2023-02-22 18:41:43 +01:00
Thorsten Liebig
ecf0c160e0 nf2ff main: update year info
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-02-19 12:47:33 +01:00
Thorsten Liebig
b49bd2af80 MT engine: fix threads not cleaned up, #104
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-02-11 10:43:28 +01:00
Thorsten Liebig
0342eefd27 python tutorials: use new/better automesh options for CRLH examples
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-01-07 20:52:36 +01:00
Thorsten Liebig
595c8effbd python: improve automesh options
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-01-07 20:50:32 +01:00
Thorsten Liebig
a0e45f8869 python: fix numpy datatype
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-01-07 20:50:10 +01:00
Thorsten Liebig
55068629b0 cmake: drop support for vtk<=5
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-01-06 20:05:13 +01:00
Thorsten Liebig
6673aefd70 engine: try to find optimal number of engine threads
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2023-01-06 20:01:07 +01:00
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
aWZHY0yQH81uOYvH
3162c487d9 detect arm64 under macOS 2023-01-06 00:38:53 -08:00
Apostolos
638d875906 Expose Debugs to Python API 2023-01-03 21:30:20 +01:00
Apostolos
3772497901 Expose DebugMaterial, DebugOperator and DebugBox 2023-01-03 21:30:20 +01:00
Thorsten Liebig
9677c457e8 python: update Tutorials meta data, remove verbose call
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2023-01-02 12:32:28 +01:00
Thorsten Liebig
0777302f1f python Tutorial: fix CRLH mesh hints
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2023-01-01 14:14:15 +01:00
Thorsten Liebig
164d3983e3 python: allow windows to find AppCSXCAD
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2023-01-01 14:13:53 +01:00
Thorsten Liebig
df7c58d961 info: update welcome screen
Signed-off-by: Thorsten Liebig <liebig@imst.de>
2022-12-30 17:18:53 +01:00
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