Commit Graph

189 Commits (5a882a7085b41c9bec49449c465eee873f6358fc)

Author SHA1 Message Date
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
Thorsten Liebig 765490d7a3 cricital bug fix for mode matching probes
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-11-15 20:13:18 +01:00
Thorsten Liebig bb3e73f6bf fix default over sampling
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2016-07-30 22:04:15 +02: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 18e21d5fa0 check and update CSXCAD during setup
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-30 14:17:56 +01:00
Thorsten Liebig 22093a6347 get BC type and PML size
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-30 14:17:40 +01:00
Thorsten Liebig 2572398482 move welcome screen and show usage to openEMS lib
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-19 15:38:21 +01:00
Thorsten Liebig d439926992 openEMS: check if an excitation was defined
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-19 15:03:30 +01:00
Thorsten Liebig e4ad3dba0f openEMS: set verbose level method
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-19 15:03:17 +01:00
Thorsten Liebig ad02096df5 openEMS: simple interface to create a Gaussian pulse excitation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-19 15:03:02 +01:00
Thorsten Liebig 205c1546f6 fix boundary conditions
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-12-15 22:13:54 +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 38ff1ce28c improve default steady state probe positions
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-09-29 19:57:21 +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 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 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 988198f968 add start/stop time for probe and dump boxes
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2015-03-06 21:38:27 +01:00
Thorsten Liebig 865e817de7 bug fix: get max freq from xml to setup conducting sheet model
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2014-04-08 21:32:18 +02: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 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 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 ad7d3a5ca3 change in how the flag "CellConstantMaterial" is handled
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-08-23 17:29:10 +02:00
Thorsten Liebig 6c248efa3a SAR: use cell based conductivity in all cases (new default)
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-08-23 17:28:18 +02:00
Thorsten Liebig a607bc6969 more options to setup SAR averaging method
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-05-15 16:02:30 +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 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 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 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 01ada0cdb6 do not store averaged kappa for RAW-SAR dump
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-02-06 16:47:18 +01:00
Thorsten Liebig 944fd3c528 SAR fix missing conductivity storage
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-01-30 14:15:35 +01:00
Thorsten Liebig 3b44620278 current probes can be a point or line which allows for 1D/2D lumped ports
- this needs the new probe box interface in CSXCAD
- most tutorials have been updated

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-01-22 09:22:01 +01:00
Thorsten Liebig e6c0444985 CSXCAD: match recent version with split files for primitives and properties
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-12-03 13:59:39 +01:00
Thorsten Liebig c536e1f344 process fields: new SAR calculation
todo: needs much testing and evaluation

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-11-29 16:45:48 +01:00
Sebastian Held f11b98ecf4 remove dependency on H5Cpp.h 2012-11-11 17:57:36 +01:00
Thorsten Liebig d64e43a73c run post processing after final time evaluation
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-11-06 12:46:54 +01:00
Thorsten Liebig 0022996df6 FDTD: new argument to reduce the used timestep by a given factor
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-09-27 14:20:20 +02:00
Thorsten Liebig 2f228f2161 update & fix to FDTD simulation statistics
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-09-25 11:24:25 +02:00
Thorsten Liebig 2966ba2902 new option to dump FDTD simulation statistics
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-09-24 15:16:47 +02:00
Thorsten Liebig 943995c48c TFSF: disable for (currently) unsupported cylindrical mesh 2012-07-25 10:50:56 +02:00
Thorsten Liebig df083a63cc excitation: save & get some important frequencies 2012-07-23 12:09:16 +02:00
Thorsten Liebig be8a3fbc51 new extension: total-field/scattered-field excitation
See new matlab tutorial: RCS_Sphere.m

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-07-18 13:12:25 +02:00
Thorsten Liebig ad90817a50 continued (internal) reorganization of excitation 2012-07-17 13:23:00 +02:00
Thorsten Liebig e20121540f reorganization and cleanup of excitation handling
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-07-16 17:15:10 +02:00
Thorsten Liebig 317ef82993 new FDTD extension: conducting sheet model 2012-05-08 13:58:20 +02:00
Thorsten Liebig 3abe10848d dispersive material: critical bug fixes 2012-04-27 16:47:27 +02:00
Thorsten Liebig afd11bcc4a read number of timesteps as float to better support scientific notation 2012-01-17 11:35:00 +01:00
Thorsten Liebig 2cbdf2d2b2 timestep length warning only for gaussian pulse excitation type 2012-01-17 11:31:53 +01:00
Thorsten Liebig 488772de25 removed misleading timestep progress information, warning about to few timesteps instead
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-01-17 10:22:16 +01:00
Thorsten Liebig aaeb103c57 fparser external lib reference added 2011-11-28 11:58:41 +01:00