Commit Graph

161 Commits (5f36e7f3a2367123f00999491a069aed50c6f244)

Author SHA1 Message Date
luz paz 026f12355f Fix various typos
Found via `codespell -q 3 -L adress,imag`
2022-12-11 11:32:04 +01:00
Stefan Brüns da8137f90d Fix build error due to ambigous overload of isnan/isinf
In case the code is build with -std=c++11, there may be conflicting
definitions of isnan/isinf vs std::isnan/std::isinf, due to the using
namespace std directive.
This happens for glibc versions 2.25 and older, see
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48891 for details.

Signed-off-by: Stefan Brüns <stefan.bruens@rwth-aachen.de>
2018-03-27 03:57:22 +02:00
Dmitry Roshchin 5b2f5352eb #if check for vtk >= 6 2016-03-21 11:35:36 +03: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 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 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 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 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 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 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 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 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 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 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 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 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 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 013f92ba26 fixed some warnings of gcc-4.7 2012-11-15 21:44:43 +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 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 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 4e2dba9b55 use float to calculate EC parameter to save some memory 2012-07-12 10:06:13 +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
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 f62da05c12 rewritten SAR calculation 2012-04-27 16:37:42 +02:00
Thorsten Liebig 807786b2d2 reorganized vtk writer and new hdf5 file writer & reader 2012-02-02 10:20:49 +01:00
Thorsten Liebig 489a45a666 fix missing initializations in CalcTimestep_Var1/3() 2011-11-16 12:50:22 +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 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 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 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 7b34a8706a new lumped elements using new CSPropLumpedElement CSXCAD-class 2011-04-08 09:59:48 +02: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