Commit Graph

1032 Commits (8b687f541c620b3fd19742bb101f48271f194d68)

Author SHA1 Message Date
Thorsten Liebig 1dff63d2cd cylinder engine extension should use inline functions for field accesss 2011-03-18 14:46:27 +01:00
Thorsten Liebig 7ac5ab67c8 Operator & Operator_Cylinder: changes to material averaging methods
Operator:
- new method to setup the mesh: SetupCSXGrid()
- Most methods handling material and operator calculations are now protected.
- New method for accessing the material distribution.

Operator_Cylinder:
- overloaded SetupCSXGrid() handling cylindrical specialties
- This commit adds an additional line in alpha-direction
in case of a closed cylinder simulation. Thereby the material averaging
will be accurate at the alpha-interface

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2011-03-18 14:17:09 +01:00
Thorsten Liebig be7e543232 fix in Excitation length comparison 2011-03-18 10:06:28 +01:00
Thorsten Liebig caacbb9d9d critical fixes in excitation extension 2011-03-17 11:38:01 +01:00
Thorsten Liebig 490288240a Use new CSXCAD method to show property status 2011-03-17 10:29:54 +01:00
Thorsten Liebig 14b0dd5104 ext: fix in mur-ABC extension 2011-03-17 10:29:48 +01:00
Thorsten Liebig aba33c58bd excitation moved to its own extension
the benefit of this approach is, that the excitation
is subject to the extensions priorities
2011-03-16 16:26:01 +01:00
Thorsten Liebig a1a48b1c23 missing openEMS help info 2011-03-16 15:59:20 +01:00
Thorsten Liebig 43e1f43c42 new operator method: GetYeeCoords & usage to calc excitations and metal 2011-03-16 12:26:41 +01:00
Thorsten Liebig 3742478ca9 sorting engine methods and some docu updates 2011-03-16 12:16:09 +01:00
Thorsten Liebig 005eb3a4f6 MPI: added an additional line at the upper MPI-bound for correct material averaging
This also fixes the current send and receive issue
--> Engine_MPI::SendReceiveCurrents()
2011-03-15 09:41:29 +01:00
Thorsten Liebig edb40489d7 MPI: tell MPI-operator about global mesh and its position in it 2011-03-14 16:20:33 +01:00
Thorsten Liebig 8e2fce0e8c reduce AdrOp usage 2011-03-14 15:58:38 +01:00
Thorsten Liebig 92d60b3204 fix in cylindrical multigrids: check for valid number of subgrids 2011-03-14 10:37:12 +01:00
Thorsten Liebig 0735f97eac MPI: suppress mpich2 unused parameter warnings 2011-03-10 10:39:08 +01:00
Thorsten Liebig f630abf813 MPI: external libs info reflects MPI usage 2011-03-10 10:39:08 +01:00
Thorsten Liebig 3cbadd5c82 MPI: DumpExciationsSignals for rank 0 only 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 75fb5a0cc9 MPI: fix in handling SplitN_? equal 1 or smaller 2011-03-10 10:39:08 +01:00
Thorsten Liebig 28c5b496ed MPI: fix in enabling MPI Operator 2011-03-10 10:39:08 +01:00
Thorsten Liebig 8d09a7ee28 MPI: allow requested number of splits 2011-03-10 10:39:08 +01:00
Thorsten Liebig eb7524b6f6 MPI: Setup MPI now allows split in all directions with defitions read from xml-file
Warning: depends on API changes in CSXCAD!
2011-03-10 10:39:08 +01:00
Thorsten Liebig 8acb348edb MPI: simplified RunOpenEMS 2011-03-10 10:39:08 +01:00
Thorsten Liebig 581a905b05 MPI+matlab: auto boot mpd with given hostfile 2011-03-10 10:39:08 +01:00
Thorsten Liebig 20d6547235 MPI: added cylindrical multigrid support
The cylindrical multigrid scheme needed a workaround:
An additional barrier is necessary to prevent a simultaneous MPI comm access.

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2011-03-10 10:39:08 +01:00
Thorsten Liebig 14e12f9138 MPI: new methode to define neighbors 2011-03-10 10:39:08 +01:00
Thorsten Liebig 729a92c5e1 MPI: move mpi mesh split to openEMS_FDTD_MPI 2011-03-10 10:39:08 +01:00
Thorsten Liebig bfcd85e3e6 MPI: fix: buffer init can handle all interface directions 2011-03-10 10:39:08 +01:00
Thorsten Liebig 211b6b7331 MPI: debug dumps prepend its rank to output filenames 2011-03-10 10:39:07 +01:00
Thorsten Liebig 9b55eab2f8 MPI: ciritcal fix: the interface area needs to be updated in both ranks 2011-03-10 10:39:07 +01:00
Thorsten Liebig 23df0f63a0 MPI: critital fix in current update/transfer
The normal current component at the upper boundaries are not updated
by the conventional engine as is needed for the interface interaction.

Workaround: transfer all three current components --> larger data transfer
Todo: needs to be properly fixed in the future!

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2011-03-10 10:39:07 +01:00
Thorsten Liebig 9d51971c26 MPI: fix for cylindrical coordinate engine + MPI 2011-03-10 10:39:07 +01:00
Thorsten Liebig 8d2d645a26 MPI: insert MPI engine into main engines inheritance scheme
new inheritance scheme:
[..] -> SSE_Compressed -> MPI -> Multithreading -> [..]
2011-03-10 10:39:07 +01:00
Thorsten Liebig b395546483 MPI: some fixes in handling the MPI engine 2011-03-10 10:39:07 +01:00
Thorsten Liebig 3b402e976b MPI: disable/rename processings if they are in conflict 2011-03-10 10:39:07 +01:00
Thorsten Liebig a20fbea530 MPI: new matlab RunOpenEMS_MPI 2011-03-10 10:39:07 +01:00
Thorsten Liebig bae200de34 MPI: use system default MPI 2011-03-10 10:39:07 +01:00
Thorsten Liebig 27a4b9f482 MPI: synchronize time step + new MPI_Enabled flag 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 9364ecd292 first working MPI implementation
todo:
 - only/mainly rank 0 takes care of output
 - rank 0 manages end-criteria, energy calculation
 - field dumps split between ranks --> prevent file corruption
 - a lot more...

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2011-03-10 10:39:07 +01:00
Thorsten Liebig 895e6c635d initial MPI support 2011-03-10 10:39:07 +01:00
Thorsten Liebig 95c5f59d31 matlab: fix undesired output in hdf5 field data read 2011-03-10 10:34:44 +01:00
Thorsten Liebig b73004be48 new method to dump excitation signals 2011-03-10 10:34:40 +01:00
Thorsten Liebig 0c371fb43a exclude last line from total energy estimation 2011-03-10 10:34:15 +01:00
Thorsten Liebig f059ff5a58 processings: fixed missing star/stop initializing 2011-03-10 10:33:58 +01:00
Thorsten Liebig 277b746462 init processings at a later time 2011-02-16 10:41:52 +01:00
Thorsten Liebig 9619df7ec0 processing: no init for disabled processings 2011-02-16 10:41:40 +01:00
Thorsten Liebig 0bdd05fb3a field-processings: fixed initializing disabled processes 2011-02-16 10:41:27 +01:00
Thorsten Liebig 5b2e9b1ac9 fix in Processing: disable processings outside the field domain 2011-02-16 10:41:17 +01:00
Thorsten Liebig 7df39bafcb fix: missing operator construction 2011-02-08 11:42:59 +01:00