Commit Graph

59 Commits

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
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
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
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
19b8847d0f main: update copyright notice
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-09-17 12:52:52 +02:00
Sebastian Held
77e0cd2c60 typo 2012-10-06 20:38:37 +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
Sebastian Held
bd28d77e3b silenced some warnings; reformatted pro-file 2012-06-17 20:29:31 +02:00
Thorsten Liebig
f24d5e60fc fixed ifdef for 64 vs 32 bit 2012-06-06 10:13:33 +02:00
Thorsten Liebig
a81e58dbcd win64: show 64bit info 2012-05-24 09:59:31 +02:00
Thorsten Liebig
b788b0bf23 openEMS greeting updated 2012-01-18 09:01:59 +01:00
Thorsten Liebig
01e8a8011a fixed argument parsing & always redirect MPI output 2011-04-13 16:21:59 +02:00
Thorsten Liebig
1ea56b8efc update to command line options 2011-03-28 11:20:26 +02:00
Thorsten Liebig
a1a48b1c23 missing openEMS help info 2011-03-16 15:59:20 +01:00
Thorsten Liebig
f630abf813 MPI: external libs info reflects MPI usage 2011-03-10 10:39:08 +01:00
Thorsten Liebig
9c061e9d84 MPI: redirect output for ranks>0 to file
changes to main.cpp:
read global command line arguments first to allow for immediate output redirection

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2011-03-10 10:39:08 +01:00
Thorsten Liebig
b395546483 MPI: some fixes in handling the MPI engine 2011-03-10 10:39:07 +01:00
Thorsten Liebig
e2628740fc new openEMS_FDTD_MPI for better MPI handling 2011-03-10 10:39:07 +01:00
Thorsten Liebig
895e6c635d initial MPI support 2011-03-10 10:39:07 +01:00
Thorsten Liebig
9d3761b1d0 Init style: applied astyle.sh
astyle --style=allman --indent=tab --indent-cases {} \;

please apply this style prior to any future commit

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2010-12-06 15:31:11 +01:00
Thorsten Liebig
1e78e5c2d6 fix vtk-dump: vector fields consider mesh type
furthermore:
- new argument: --nativeFieldDumps to dump original FDTD field components for debugging purposes
- show global arguments on startup
2010-09-17 15:34:39 +02:00
Sebastian Held
33d4229cf2 new info: hdf5 lib version and 32bit/64bit 2010-09-17 15:32:11 +02:00
Thorsten Liebig
ee887e7ea1 show info about external libs on startup 2010-08-25 08:17:45 +02:00
Sebastian Held
d9a58912d0 new command line switch: --no-simulation
This allows to run only the debug functions (and some time later also export functions: x3d, pov, ...)
2010-08-16 23:17:19 +02:00
Thorsten Liebig
7869a5f2d5 new commandline option: --debug-CSX 2010-07-08 11:28:11 +02:00
Sebastian Held
f671b52986 added command line option --showProbeDiscretization 2010-05-28 15:13:14 +02:00
Thorsten Liebig
d882899ed2 new openEMS option --engine=fastest & options console output
this new option should always choose the (in most cases) fastest engine available
2010-05-21 08:16:24 +02:00
Thorsten Liebig
44753cf878 show version on any startup 2010-05-11 19:11:38 +02:00
Thorsten Liebig
e3a12c959d removed & cleanup old c-examples 2010-05-05 13:04:19 +02:00
Sebastian Held
c07eb52f30 openEMS presents its build version 2010-05-04 09:31:10 +02:00
Sebastian Held
79574aa3e6 move command line processing into class openEMS 2010-03-26 11:57:53 +01:00
Thorsten Liebig
d79b15f49e Curve/Wire support, Helix update 2010-03-22 08:19:17 +01:00
Thorsten Liebig
1f20f7ae42 new command-line option: dump operator to vtk-file 2010-03-17 23:16:41 +01:00
Thorsten Liebig
37295c02a9 console output update 2010-03-15 20:50:49 +01:00
Thorsten Liebig
8dc89ecac2 end Criteria with energy estimate; more engine stats while running 2010-03-15 16:59:37 +01:00
Thorsten Liebig
7539396cc3 standalone should be default! 2010-03-15 08:12:41 +01:00
Thorsten Liebig
daaf898e83 Helix example 2010-03-14 23:03:18 +01:00
Thorsten Liebig
b9a3165aac Update to vtk-field dumps + material-dump for debugging 2010-03-12 20:39:04 +01:00
Thorsten Liebig
14c3595763 dump in working dir 2010-03-12 08:39:32 +01:00
Thorsten Liebig
73e2b153b6 GPL licensing 2010-03-11 16:47:40 +01:00
Thorsten Liebig
f7c5d27f60 command line option for disabling dumps 2010-03-11 15:48:55 +01:00
Thorsten Liebig
dba10746e7 Example Updates/ gaussian-excite f0/fc update 2010-03-11 15:35:12 +01:00
Thorsten Liebig
8cffb2ae3c new class: openEMS
- This class reads/writes combined CS- and FDTD-setup data and does the actual FDTD run.
- Examples now write there own xml file which is read by openEMS-class
- Standalone version possible with xml-file input
2010-03-11 10:56:19 +01:00
Thorsten Liebig
f73bf210ed new ProcessingArray; Processing returns next interval for process()
Processing now uses a timestep interval in which Process() will do it's work
and returns the next interval it doesn't need another Process() call

all Processing routines can be put into these array
and it will take care of calling Process() at the right time
2010-03-10 12:15:14 +01:00
Thorsten Liebig
c4c2222d26 update plane wave example 2010-03-07 22:00:01 +01:00
Thorsten Liebig
6dd89ca409 Moved the examples into seperate files 2010-03-07 12:49:38 +01:00
Thorsten Liebig
5208d3f9a2 Major Change: Moved CartOperator into Operator
No more seperate Operator for cartesian and future cylindrical operator.
2010-03-05 14:20:25 +01:00
Thorsten Liebig
0a39d32a07 A couple of new features
- ProcessCurrent
- Weighted Excitation and Material
- Testing
2010-03-04 11:53:58 +01:00
Thorsten Liebig
84ba010482 PEC support added 2010-03-02 22:55:50 +01:00