ppphp
da7ee06d67
fix: c++20 deprecate [=]
2024-03-31 10:47:32 +02:00
Florian Foinant-Willig
41080dec5b
Fem: modernize type checking
2023-10-23 18:09:04 +02:00
wmayer
b8b94c249e
Fem: Apply clang-format
2023-09-25 14:50:43 +02:00
kaktus Jacek
41fb0d45a3
Fem: Removing "constraint" from the names
...
Removing "constraint" from the names of most FEM workbench features.
https://github.com/FreeCAD/FreeCAD/discussions/10217
2023-09-03 22:29:35 -05:00
wmayer
d525e0d308
Fem: modernize C++: use equals default
2023-08-21 13:35:54 +02:00
wmayer
009f9f2222
FEM: modernize C++: use range-based for loop
2023-08-15 01:09:53 +02:00
wmayer
39e53e5eb0
Mods: modernize C++: redundant void arg
2023-08-05 16:50:31 +02:00
Uwe
dfbc6b168e
[FEM] activate spring constraint
...
- the spring constraint is currently unused but it can be used for Elmer mechanical analyses
This PR does so and also overhaul the dialog UI.
- use the spring constraint also in an example file
2023-03-23 15:14:50 +01:00
wmayer
b0e9c455a6
Fem: fix warning field 'dimension' will be initialized after field 'ui' [-Wreorder-ctor]
2023-03-22 20:37:29 +01:00
Uwe
97103b3bf3
[FEM] use std::unique_ptr for all dialog objects
...
- also fix too long line
- also further clang automatic code style changes
2023-03-22 20:08:13 +01:00
wmayer
32bbdb0ab2
FEM: move to new style connect()
2023-01-15 22:23:53 +01:00
wmayer
a9b9899846
FEM: move to new style connect()
2023-01-15 19:50:46 +01:00
Uwe
1a32e6ad9c
[FEM] TaskFemConstrain*: remove unused includes
...
- also sort includes
2022-10-03 05:20:52 +02:00
berniev
b796a0d376
Mod: use empty
2022-08-06 19:30:13 +02:00
Uwe
fc548a4b34
[FEM] remove superfluous nullptr checks
2022-07-18 01:45:19 +02:00
wmayer
7ae9fc0d67
Fem: modernize C++11
...
* use nullptr
2022-03-23 19:26:15 +01:00
Ajinkya Dahale
300fbc22ea
[FEM] Refactor TaskFemConstraintOnBoundary ( #6615 )
...
* Now the behavior is consistent with behavior of PD fillets, for example.
See https://forum.freecadweb.org/viewtopic.php?f=18&t=67135#p580192 . In the
future it may be possible to reuse some code from there.
* When the last selected item is removed we need to reset the existing
highlighting separately.
* Use `Gui::ButtonGroup` in `TaskFemConstraintOnBoundary`
2022-03-21 01:02:10 +01:00
Uwe
2e084ed18a
[FEM] remove some unused includes for some dialogs
...
- also some style fixes made by MSVC
2022-03-17 19:53:12 +01:00
Uwe
dead2fc8f1
[FEM] Bearing and FluidBoundary: code improvements
...
- get rid of UI-coded limits
- fix layout issues
- code simplifications
- remove unused headers
2022-03-17 03:45:38 +01:00
wmayer
76d1180283
Fem: Fix several coverity issues:
...
* make SelectionChangeModes an enum class
* CID 350596: Uninitialized scalar field
* CID 350572: Uncaught exception
* CID 350647: Uncaught exception
2022-03-13 14:09:04 +01:00
wmayer
1ca7429705
Gui: Optimize includes to reduce compile time
2022-03-07 20:29:18 +01:00
Ajinkya Dahale
c558fc7195
[FEM] Use modal add/remove for more constraints (8/??)
...
Use the previously added superclass `TaskConstraintOnBoundary` for more
constraints where it's usable.
Currently done:
TaskFemConstraintDisplacement
TaskFemConstraintForce
TaskFemConstraintSpring
TaskFemConstraintFluidBoundary
TaskFemConstraintHeatflux
TaskFemConstraintFixed
TaskFemConstraintTemperature
TaskFemConstraintPressure
Too different:
TaskFemConstraintTransform (single selection)
TaskFemConstraintContact (single selection, two fields)
TaskFemConstraintPlaneRotation (single selection)
(Other constraint tasks, which do not use `addToSelection`)
2022-01-07 05:33:42 +01:00
luz paz
3b310cfdf2
FEM: Fix variable pHeatTransfering -> pHeatTransferring
...
Found via `codespell`
2021-10-20 06:25:34 +02:00
luz paz
cfebd3f1e6
FEM: remote superfluous double semicolons [skip ci]
2021-02-14 22:13:16 +01:00
luz paz
be07e9a7ed
FEM: Issue #0004473 : Expose openCommand() to translation
...
Continuing the work to expose the undo/redo functionality to translation. This commit does so for the FEM Wb.
Ticket: https://tracker.freecadweb.org/view.php?id=4473
2020-12-01 14:53:35 +01:00
Bernd Hahnebach
b2ddb576c9
FEM: fluid task panel, use log for a log
2020-06-04 00:29:21 +02:00
Bernd Hahnebach
9b88c46061
FEM: rename icon, Constraint Fluid Boundary
2020-03-06 08:39:11 +01:00
donovaly
27395bbba2
[FEM] spread the fixes from commit a5be62b8 to the other dialogs
2020-03-01 14:37:28 +01:00
wmayer
a5be62b86a
Fem: [skip ci] fix several coding flaws:
...
* improve implementation of TaskFemConstraintForce::onButtonDirection
* use QSignalBlocker to tmp. suppress signals instead of dis- and re-connecting
* directly access object from SelectionObject
* don't do type checks by class name but by typeid
2020-02-26 14:15:12 +01:00
donovaly
d19d5b5fce
FEM: constraint dialogs: sort out commonly used function
...
additionally remove double code from TaskFemConstraintForce.cpp
2020-02-24 20:12:10 +01:00
donovaly
6ffef47ee8
remove doubled code
...
(is there already a few lines up)
2020-02-23 16:45:35 +01:00
donovaly
af7941a559
TaskFemConstraintFluidBoundary.cpp: squash GCC compiler warning
2020-02-23 16:45:35 +01:00
donovaly
d6f3c794cd
[FEM] make the Fluid Boundary dialog behave like the other dialogs
...
- allows highlighting and multiple selection
2020-02-23 16:45:35 +01:00
donovaly
97de09ad6f
[FEM] add shortcut to delete constraints from list in dialog
...
see https://forum.freecadweb.org/viewtopic.php?f=18&t=43402
2020-02-19 10:15:10 +01:00
luz.paz
1baf5da3cf
FEM: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all FEM WB files
2019-12-21 20:00:14 +01:00
Abdullah Tahiri
241c370f5f
PCH: Fem Gui
2019-05-16 21:43:08 +02:00
wmayer
d232164ba0
PVS: V519 Variable is assigned values twice successively
2019-03-13 12:55:31 +01:00
luz.paz
4cfda0c3a5
Misc. typos
...
Found via `codespell`
2019-02-08 11:01:24 -02:00
qingfengxia
672b15a8da
FEM: constraint fluid boundary, fix bug of the delayed redrawing for BoundaryType changed
2019-01-24 14:19:49 +01:00
luz.paz
ba9dba4b26
FEM: typo fixes
2018-04-29 20:40:15 +02:00
sL1pKn07
018b41032a
[For v018] Fix build with Qt5 beta
...
Seems need add some headers for build with incoming Qt 5.11 (Tested with 5.11.0beta2)
2018-04-10 12:59:41 +02:00
luzpaz
e8587cf0b4
Misc. typo fixes
...
Remove double whitespaces between source comments
2017-11-25 16:54:02 -02:00
wmayer
ce6809415b
inherit FemAnalysis from DocumentObjectGroup and remove Member property
2017-10-24 20:07:05 +02:00
wmayer
770c9ce095
fix various coverity issues
2017-09-15 11:48:38 +02:00
luzpaz
5c1eadf947
misc typos
...
misc-typos
2017-09-15 09:54:14 +02:00
wmayer
155c0007e4
add security check for data validation in FEM fluid boundary panel
2017-09-10 17:52:11 +02:00
qingfengxia
05b19019ac
FEM: bugfix for Console print std::string which needs c_str() conversion
2017-09-10 17:09:44 +02:00
qingfengxia
3990115f6e
FEM: enable thermal and turbulence boundary setting UI
2017-09-10 17:09:19 +02:00
qingfengxia
f9c1884595
FEM: enable edge selection for FemConstraintFluidBoundary of 2D case
2017-09-10 17:09:00 +02:00
Kunda
90aeb372f5
FEM: source code typos, issue 0002914
2017-02-28 17:35:26 +01:00