Commit Graph

482 Commits (a9edb66a835673aaa89dabaa2284d6c1adbed343)

Author SHA1 Message Date
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
Thorsten Liebig b3ef0361b2 Operator: Get node coordinates in the given coordinate system
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-02-06 16:40:32 +01:00
Thorsten Liebig 183ea9f776 Operator: replacement for GetOriginalNumLines + use full or simple mesh for snapping
Note: these are a lot and dangerous changes --> require a lot of testing

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2013-02-06 16:33:12 +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 0cdc26eba2 cylindrical operator: improve mesh snapping for angular directions 2012-11-21 16:41:53 +01:00
Thorsten Liebig 3dba30c240 regression fix
regression fix introduced by 013f92ba26

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-11-21 16:18:06 +01:00
Sebastian Held fb542df1c3 fixed warning about comparison between signed and unsigned
Proposed change:
Operator::SetBCSize() and Operator::GetBCSize() should have unsigned sizes.
2012-11-15 22:10:42 +01:00
Sebastian Held 013f92ba26 fixed some warnings of gcc-4.7 2012-11-15 21:44:43 +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 211e7170e4 critical bug fix: access after delete
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-10-29 14:51:02 +01:00
Sebastian Held 42f0a6dc59 linux compile fix
Forgot to add a header.
2012-10-06 21:10:23 +02:00
Sebastian Held 384cfe5677 bugfix Windows: FTZ and DAZ bits in SSE computation unit is thread dependent.
This fix sets the FTZ ans DAZ bits in every thread to gain the speedup.
Linux seems to store these bits per process rather than per thread.
2012-10-06 20:50:36 +02: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 a704b49947 MPI: new check extension compatibility framework
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-09-17 16:56:14 +02:00
Thorsten Liebig a7380816e8 fix in handling extensions, delete/cleanup rejected extensions 2012-09-17 16:54:55 +02:00
Thorsten Liebig 3dd48d8cf9 fixed priority system for dispersive media 2012-09-13 09:49:06 +02:00
Thorsten Liebig 0ad528e6b8 operator: use newton iteration to calculate numerical phase velocity 2012-07-25 09:41:30 +02:00
Thorsten Liebig 3546fcc97d TFSF: some critical fixes & Tutorial updates 2012-07-23 12:10:35 +02:00
Thorsten Liebig df083a63cc excitation: save & get some important frequencies 2012-07-23 12:09:16 +02:00
Thorsten Liebig cb912378dc TFSF: fixed type 2012-07-19 11:46:38 +02:00
Thorsten Liebig 21ccdc7d0a TFSF: allow 1D/2D plane wave excitations
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-07-18 16:59:42 +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 e9496cf358 API change in CSXCAD: renamed property Electrode to Excitation 2012-07-16 12:32:38 +02:00
Thorsten Liebig 4e2dba9b55 use float to calculate EC parameter to save some memory 2012-07-12 10:06:13 +02:00
Thorsten Liebig 5ae28ddbfa minor typo 2012-07-12 09:31:22 +02:00
Thorsten Liebig 900de9e1aa Cylindrical sub-grids: now full interpolation --> support graded alpha-mesh
With this change a fully graded cylindrical mesh including sub-grids is now possible!

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-06-25 13:22:34 +02:00
Thorsten Liebig 410d250995 operator: new GetDiscDelta method
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-06-25 13:20:04 +02:00
Sebastian Held bd28d77e3b silenced some warnings; reformatted pro-file 2012-06-17 20:29:31 +02:00
Thorsten Liebig 640419ab7a complete cylindrical multigrid support for conducting sheet model 2012-06-06 14:23:12 +02:00
Thorsten Liebig f3dc73873d Allow Lorentz material and cylindrical multi-grids 2012-06-06 14:18:42 +02:00
Thorsten Liebig 1f32d4f7c6 conducting sheet model: fixes concerning cylindrical mesh 2012-06-06 10:31:21 +02:00
Thorsten Liebig d7d5802ba9 fixed unnecessary memory allocation for lorentz material extension 2012-06-06 10:30:47 +02:00
Thorsten Liebig a29ba68729 lorentz material model now supports cylindrical coordinates 2012-06-06 10:29:57 +02:00
Thorsten Liebig 11fed5f506 cylinder engine extension changed handling and priority 2012-06-06 10:28:06 +02:00
Thorsten Liebig 0cf527d74c introduced new (dummy) cylinder engine
This is mainly for completeness, this engine doesn't (yet) have any functionality
2012-06-06 10:25:40 +02:00
Thorsten Liebig 08328e62b0 updates to GetYeeCoords
the cylindrical multigrid will return false in case of a sub-grid mesh position
2012-06-06 10:19:30 +02:00
Thorsten Liebig 8d10970c3c operator extension saves information about cylindrical mesh special case r==0 2012-06-06 10:16:55 +02:00
Thorsten Liebig 993466fd69 fixed typo 2012-06-06 10:13:04 +02:00
Thorsten Liebig 03ea877bf7 allow conducting sheet for cylindrical multigrids 2012-05-11 10:49:55 +02:00
Thorsten Liebig 9b0186502b disable pml in alpha-direction for cylindrical multigrid scheme
todo: pml should be enabled for all sub-grids

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-05-11 10:49:22 +02:00
Thorsten Liebig c809cc65cd cleanup in operator extensions GetExtensionName() 2012-05-11 10:47:45 +02:00
Thorsten Liebig c4db77dd18 fix: Operator Extension base class returns NULL on Clone() by default 2012-05-11 10:45:44 +02:00
Thorsten Liebig ac8ecb64c8 fixes and fallback in conducting sheet model
Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-05-10 11:04:44 +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 f62da05c12 rewritten SAR calculation 2012-04-27 16:37:42 +02:00
Thorsten Liebig c2abe89440 Drude material: added support for multi-pole drude 2012-04-27 16:37:42 +02:00
Thorsten Liebig 796fd83f7b dispersive material extension: prepared for higher order dispersion 2012-04-27 16:37:42 +02:00
Thorsten Liebig fb5b330d25 drude type material: losses added 2012-04-27 16:37:42 +02:00
Thorsten Liebig fedb8a91f2 UPML: allow pml in +/- alpha direction in a cylindrical FDTD mesh
This needs a lot of stability testing and verification!

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-02-21 12:40:36 +01:00
Thorsten Liebig 314f4ad427 cylindrical operator fix: check for metal on z-axis 2012-02-10 11:57:28 +01:00
Thorsten Liebig c1baf35688 allow pml in r-min direction for partial cylindrical mesh
Todo: some work needs to be done to allow umpl in alpha-direction

Signed-off-by: Thorsten Liebig <Thorsten.Liebig@gmx.de>
2012-02-10 11:56:37 +01:00
Thorsten Liebig ed592bb2ba allow Mur-ABC to cylindrical mesh in all directions for a partial mesh 2012-02-10 11:56:34 +01:00
Thorsten Liebig ecf8ad6bdd supply more information to extensions about the cylindrical mesh 2012-02-10 11:55:55 +01:00
Thorsten Liebig 807786b2d2 reorganized vtk writer and new hdf5 file writer & reader 2012-02-02 10:20:49 +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 489a45a666 fix missing initializations in CalcTimestep_Var1/3() 2011-11-16 12:50:22 +01:00
Thorsten Liebig db50e36c2f Cylindrical FDTD: use advanced timestep for non-singular mesh (r>0) 2011-11-16 12:46:49 +01:00
Thorsten Liebig a748b6416f bug fix handling field dumps for cylindrical coordinates & closed alpha mesh 2011-11-16 11:31:50 +01:00
Thorsten Liebig 3660da8a8d critical bug fix in handling lumped elements
bug: if one lumped element inside a property failed, all following elements were skipped
2011-11-16 11:30:21 +01:00
Thorsten Liebig d6f43512d8 show smallest timestep and its mesh position on debug level >=2 2011-11-16 11:26:10 +01:00
Thorsten Liebig a82e392338 new debug level 3, update to debug level 2011-11-16 11:24:25 +01:00
Thorsten Liebig 830f7494c8 console output cleanup: use verbose level ('-v') for old verbose style 2011-11-08 11:49:14 +01:00
Thorsten Liebig c9357823ff fix in openEMS MPI setup 2011-11-08 10:15:36 +01:00
Thorsten Liebig b34848f323 new engine interface using sse & speed enhancement in energy estimate
Note: cylindrical engine interface now based on sse engine interface
--> similar to sse engine & cylindrical engine
2011-11-07 12:07:55 +01:00
Thorsten Liebig c4b7ecb88e critical fix in GetYeeCoords
this was affecting the correct snapping/weighting of current excitations
2011-09-13 10:51:11 +02:00
Thorsten Liebig 6b9320490a fix in lumped elements snapping 2011-08-16 17:04:16 +02:00
Thorsten Liebig eb74757789 openEMS using CSX mesh type definition 2011-08-16 17:03:57 +02:00
Thorsten Liebig 01bdb9e03e find and delete an existing operator extension 2011-07-25 14:57:09 +02:00
Thorsten Liebig 0fe63823d0 bug fix in operator resetting and (Re)InitExcitation 2011-07-25 14:56:27 +02:00
Thorsten Liebig 2e8e8caa4e Operator: new SnapBox2Mesh + used by CalcLumpedElement 2011-07-22 09:58:02 +02:00
Thorsten Liebig c7d24d08f1 fix: dump operator debug files in native format only 2011-07-14 13:42:33 +02:00
Thorsten Liebig 8237d39ece bug fixes in Calc_LumpedElements 2011-07-13 09:32:44 +02:00
Thorsten Liebig ca8c5eeee4 upml: critical bug in upml grading function
wrong upml grading function has made the pml unstable or fail for small mesh delta units
2011-06-08 10:29:00 +02:00
Thorsten Liebig 28dc323e8a revised Operator::SnapToMesh & fix in cylindrical H-Field interpolation 2011-04-27 13:01:02 +02:00
Thorsten Liebig 7d30ce2fb6 removed old legacy vtk file writing 2011-04-13 16:22:06 +02:00
Thorsten Liebig 01e8a8011a fixed argument parsing & always redirect MPI output 2011-04-13 16:21:59 +02:00
Thorsten Liebig 1a06418914 new engine interface for cylindrical fdtd, handling the closed cylinder 2011-04-13 12:16:54 +02:00
Thorsten Liebig 91ba3a6f6f MPI: lib info update & compilation fix 2011-04-08 12:26:32 +02:00
Thorsten Liebig 7b34a8706a new lumped elements using new CSPropLumpedElement CSXCAD-class 2011-04-08 09:59:48 +02:00
Thorsten Liebig 62acf5f1b3 ProcessFields now using new VTK_File_IO class for vtk dumps
Todo:
- HDF5_File_IO
- replace all old vtk dump method usage and remove them
2011-04-01 15:29:56 +02:00
Thorsten Liebig 77cae6185e MPI: added closed cylinder operator support 2011-03-28 10:38:48 +02:00
Thorsten Liebig 06eb82832e MPI: operator saves process table 2011-03-28 10:26:08 +02:00
Thorsten Liebig 9f40c20d43 regression fix in cylinder extension 2011-03-21 15:48:20 +01:00
Thorsten Liebig 46230f63c7 MPI: check if multigrid and MPI setup is compatible 2011-03-21 15:09:33 +01:00
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 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 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