Commit Graph

481 Commits (a2c2ec2ff511490409e25a025e3b3f8fa207f9ed)

Author SHA1 Message Date
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
Dmitry Roshchin 5b2f5352eb #if check for vtk >= 6 2016-03-21 11:35:36 +03:00
Thorsten Liebig add2f2decb fix wrong time step for cylinder mesh with r=0
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-02-18 22:58:07 +01:00
Thorsten Liebig d5cbfec2be MPI: fix FDTD setup for non-MPI
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-01-31 13:32:17 +01:00
Thorsten Liebig d75069cfef MPI: update for MPI usage
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-01-27 18:37:07 +01:00
Thorsten Liebig 8ff7ed4075 split openEMS into libopenEMS and openEMS binary
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-19 15:01:56 +01:00
Thorsten Liebig 6140b07c47 main: more flexible FDTD setup
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-13 22:33:26 +01:00
Thorsten Liebig 5cce4185df improve excitation handling for periodic signals
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-09-06 10:19:01 +02:00
Thorsten Liebig 9c80672855 excitation: store only 2 periods of periodic excitations
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-09-03 22:53:31 +02:00
Thorsten Liebig b2f5ab3c6b improved steady state detection
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-09-03 22:35:14 +02:00
Thorsten Liebig 0f9f0fd830 fix: do not increase timestep to match periodic signal, only decreasing is ok!
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-09-03 21:25:49 +02:00
Thorsten Liebig f06cc293dc remove using namespace std from header files
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-06-18 21:45:22 +02:00
Thorsten Liebig 29ffbb66ab cmake: improve build system and support win32
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-05-19 22:13:28 +02:00
Thorsten Liebig cd1db5d21b operator: new steady state detection operator extension
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-05-04 20:47:19 +02:00
Thorsten Liebig 63adb586fb remove unused code from SSE compressed operator
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-10-27 23:09:11 +01:00
Thorsten Liebig ac3dff8818 operator: speed improvement using a primitive pre-selection
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-10-19 21:59:39 +02:00
Thorsten Liebig 22d526f0ee engine interface: improve interpolation for e-fields on boundary edges
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-10-09 21:08:11 +02:00
Thorsten Liebig dae788a2a4 cmake: cleanup, build type for nf2ff
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-10-09 21:06:36 +02:00
Guilherme Brondani Torri 480e6c430f add CMake to openEMS 2014-09-18 21:12:50 +02:00
Thorsten Liebig 6da9213e62 initial support for vtk 6.x
run qmake with vtk-version given, e.g.:
qmake VTK_6_VERSION=6.1
or put this in localPaths.pri

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-01-29 14:51:00 +01:00
Thorsten Liebig 6f6ed4feac critical fix: use new Operator->GetEngine for engine interface setup
Bug fix: engine interfaces for multigrids were using subgrid operator,
but main grid engine...

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-01-06 16:08:13 +01:00
Thorsten Liebig 6353c70ae5 Operator: new method to get corresponding engine
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-01-06 15:40:39 +01:00
Thorsten Liebig 3d66de64d8 Engine interface: check for valid operator and engine
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-01-06 15:37:43 +01:00
Thorsten Liebig 3fc2a41af9 operator: change how to average material to allow for overloaded cylindrical handling
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-28 21:02:49 +01:00
Thorsten Liebig 87b6650f67 fix and improvemnt in getting cell center coordinate for material averaging
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-28 20:57:31 +01:00
Thorsten Liebig dcf2e8c0cf Operator: get access to cell center material averaging coordinates
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-20 15:48:04 +01:00
Thorsten Liebig 6a683d93d5 operator: add density as material type
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-20 15:47:28 +01:00
Thorsten Liebig 6892a0c589 support for multigrid level request of dump boxes
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-19 15:15:36 +01:00
Thorsten Liebig 2e8b2b7260 Added support for background material in CSXCAD
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-03 16:02:22 +01:00
Thorsten Liebig 3930db8be3 fix for curve in cylindrical coordinates and multigrids
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-12-03 16:02:21 +01:00
Thorsten Liebig 3a66a02550 fix in size of lumped elements caps
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-08-22 12:55:27 +02:00
Thorsten Liebig e27e4057e1 operator: make Grid_Path a typedef struct
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-08-16 13:19:12 +02:00
Thorsten Liebig 6c80ad021d pml: fix in material calculation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-08-16 13:16:39 +02:00
Thorsten Liebig 37246be398 operator: additional fix to FindPath
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-06-10 10:13:58 +02:00
Thorsten Liebig 655cb7daed operator: fix in handling curve primitives in cylindrical coordinates
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-06-05 14:56:34 +02:00
Thorsten Liebig c65b5df785 typo: replace Operator_Ext_TFST with Operator_Ext_TFSF
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-04-12 16:07:39 +02:00
Thorsten Liebig b8f1184071 remove old and unused split-field pml
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-04-12 14:26:26 +02:00
Thorsten Liebig 4c6294dfba fix in conducting sheet extension, missing initialization
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-03-31 23:04:04 +02:00
Thorsten Liebig 8d8759cb1b Operator: add optional range to DumpPEC2File to allow for separated dump in case of a multi grid cylindrical operator
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-03-27 12:02:08 +01:00
Thorsten Liebig 70ff8634f4 Cylindrical MultiGrid Operator: record level of multi grid
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-03-27 12:00:46 +01:00
Thorsten Liebig 816553fc34 Operator: allow to choose time stepping method
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-03-27 11:58:24 +01:00
Thorsten Liebig 6016a10fc2 Operator: use internal function to delete inactive extensions
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-03-27 11:55:39 +01:00
Thorsten Liebig bd0df58253 bug fix: operator extensions copy constructor is missing copy for active flag
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-03-27 11:54:16 +01:00
Thorsten Liebig e113afb656 new: support debye dispersive material
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-03-19 14:02:06 +01:00
Thorsten Liebig 57dfd64c9b added support for Lorentz dispersive material
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-03-14 16:52:44 +01:00
Thorsten Liebig 8d5043bd44 operator: alternative material averaging method
If constant cell material is activated, material probing is performed
only in the center of a primary cell.

This should improve and simplify SAR calculation if all materials
are assumed as constant within a primary YEE cell.

Usage from Matlab/Octave:
FDTD = InitFDTD('CellConstantMaterial',1);

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-02-18 10:38:55 +01:00
Thorsten Liebig 274800054f silence some warnings
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-02-07 11:25:34 +01:00
Thorsten Liebig 5da669d881 new method to debug metal edges using vtkPolyData lines
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-02-06 16:42:03 +01:00