wmayer
fd8ce30575
Fem: [skip ci] change include order to fix compiler warning due to a re-defition of a macro in a Python header
2022-03-20 13:44:55 +01:00
wmayer
e4d1ed8366
Base: rename BaseExceptionFreeCADError to PyExc_FC_GeneralError
2022-03-17 14:45:48 +01:00
wmayer
1f12dca2b4
Py: replace BaseExceptionFreeCADError with more suitable exception types
2022-03-17 13:54:23 +01:00
wmayer
0f9768fb33
Fix coverity issue:
...
* CID 332682: Resource leak
* CID 350607: Resource leak
* CID 332677: Resource leak
2022-03-14 11:35:04 +01:00
wmayer
08b77bff08
Core/Mod: modernize C++11
...
* use nullptr
2022-03-09 21:55:31 +01:00
wmayer
91e4e468dd
Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code
2022-03-06 10:13:47 +01:00
wmayer
5e0cfc64ee
App: use forward declarations
2022-03-04 21:09:46 +01:00
marioalexis
705d6f139e
Fem: Call PyMem_Free() to free allocated buffer
2022-02-09 16:05:14 +01:00
wmayer
eedc96b9fd
Fem: fix crash caused by PropertyPostDataObject::getPyObject()
2022-02-02 16:34:30 +01:00
wmayer
96aa87a45f
Fem: fix possible crash when loading a VTK file
2022-01-27 10:37:16 +01:00
Ajinkya Dahale
bdedb27d49
[FEM] Use OpenMP for FemMesh::{getNodesByEdge, getNodesByVertex}
2022-01-07 01:23:01 +01:00
Ajinkya Dahale
7e0b89a619
[FEM] Possibly fix race conditions
...
Race conditions introduced after using OpenMP in `FemMesh::getNodesByFace` and
`FemMesh::getNodesBySolid` because of which nodes were randomly added or removed
from sets. Solved by replacing `SMDS_MeshNode::X()` etc., which are not thread
safe, with the thread-safe `SMDS_MeshNode::GetXYZ()`.
2022-01-07 01:23:01 +01:00
Philipp Knechtges
89ece3590e
[FEM] OpenMP-parallelize FemMesh::{getNodesBySolid,getNodesByFace}
...
Projecting nodes onto TopoDS_Shapes is a costly task, which can
potentially take a lot of time, so let's parallelize it.
2022-01-07 01:23:01 +01:00
wmayer
99dc3fec76
Fem: include FemGlobal.h
2021-12-18 14:35:20 +01:00
wmayer
4e8823b584
OCCT: port FreeCAD sources to version 7.6
2021-10-11 00:28:12 +02:00
Preslav
fb0e670d8a
Added spring boundary condition
2021-09-17 11:08:08 +02:00
wmayer
9ce79bf3c7
Mod: fix warning [-Wmacro-redefined]
2021-09-14 22:57:17 +02:00
luz paz
4d21ffa904
Fix various typos
2021-07-31 09:46:50 +02:00
Bernd Hahnebach
09b7bede23
FEM: cpp python mesh api, fix crash if not existing group was given in get name method
2021-06-24 17:25:54 +02:00
luz paz
1212bef4cd
[FEM] remove Py2 code
2021-04-25 11:25:29 +02:00
wmayer
f95aeb7144
smesh: [skip ci] build FEM & MeshPart with C++14 when using external smesh because it doesn't support C++17 yet
2021-03-31 15:35:28 +02:00
wmayer
cc36033de6
Fem: refactor FemMesh::readNastran95
2021-03-11 01:26:19 +01:00
wmayer
e0d13ce3dc
Fem: refactor FemMesh::readNastran
2021-03-10 22:56:08 +01:00
wmayer
eeba01e8fb
Fem: [skip ci] support NASTRAN CTRIA3 elements
2021-03-10 19:38:11 +01:00
wmayer
125e4f5979
Fem: [skip ci] fix possible crash in Fem::readNastran
...
The crash can occur if node ids are referenced by faces or volumes that do not exist in the mesh.
2021-03-10 16:39:06 +01:00
Benjamin Nauck
1384903af8
[Fem] Use std::shared_ptr instead of boost::shared_ptr
...
There's no need to use boost version when stl has support for shared_ptr
2021-03-06 19:32:03 +01:00
wmayer
fdbd84ec39
FEM: [skip ci] fix crash in Constraint::getDirection
2021-02-26 08:11:16 +01:00
wmayer
ab04719372
FEM: [skip ci] support Line and Plane objects in Constraint::getDirection()
2021-02-24 23:53:15 +01:00
wmayer
d48718fd0d
FEM: add basic support of Nastran-95
2021-02-04 13:56:15 +01:00
ceanwang
f34eff7946
Changed comment for free format CTETRA element
2021-02-04 13:25:13 +01:00
ceanwang
1549ccc2a0
Added readNastran95()
2021-02-04 13:25:13 +01:00
ceanwang
0166fcd535
Added readNastran95()
2021-02-04 13:25:13 +01:00
wmayer
e2c4d5f86e
Fem: [skip ci] fix FemMesh::addGroup() for smesh 9
2021-01-24 15:29:56 +01:00
wmayer
50a6c5ec9e
FEM: make FemMesh::getVolumesByFace() working for SMESH >= 7
2021-01-21 13:00:31 +01:00
wmayer
b431987ea3
smesh: port to version 9.6
2021-01-20 19:49:56 +01:00
wmayer
38819925a5
Fem: Python header must be included before vtk headers to avoid re-definition of macro _LARGEFILE_SOURCE
2020-10-18 14:45:31 +02:00
wmayer
66bf741d37
FEM: [skip ci] Coverity: Dereference after null check
2020-09-22 20:32:21 +02:00
wmayer
0a6929a122
Coverity: Dereference after null check
2020-07-20 17:34:25 +02:00
wmayer
36363b3f14
Coverity: Resource leak
2020-07-20 17:34:24 +02:00
wmayer
d8ee57c0a1
PVS: V590 Consider inspecting this expression. The expression is excessive or contains a misprint.
2020-07-18 10:59:28 +02:00
wmayer
1ae38aea04
PVS: V522 There might be dereferencing of a potential null pointer
2020-07-18 10:59:27 +02:00
Bernd Hahnebach
20cb8e2480
FEM: vtk pipeline, and frd reader, principal stress, revert and improve 35cf9681cc5b
2020-07-14 13:26:57 +02:00
wmayer
41c481cc9b
Fem: [skip ci] handle exception in Fem Constraint in case referenced shape element doesn't exist
2020-06-30 11:34:07 +02:00
Bernd Hahnebach
a9aac02fdc
FEM: constraint fluid boundary, add comment
2020-06-15 11:44:07 +02:00
joha2
bdfd0b10a7
FEM: add methods to to edit mesh groups:
...
- add addGroup, addGroupElements, removeGroup to C++ mesh class
- expose the methods to Python
- add a unit test class
- update test commands file
- add test to fem test app module
2020-05-23 14:56:15 +02:00
Bernd Hahnebach
874b72d539
FEM: post result mesh, better log
2020-02-28 05:41:54 +01:00
UR-0
47f16467db
FEM: use a more precise object name "vonMises" instead "StressValues"
2020-02-14 16:52:40 +01:00
wmayer
1050b1926f
fix flaws to add PreCompiled.h inside normal header files
2020-02-03 15:03:49 +01:00
luz.paz
73b8ee91ee
FEM: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all FEM WB files
2019-12-21 20:00:14 +01:00
Bernd Hahnebach
767c5c6549
FEM: code formating, remove to much empty lines
2019-12-12 21:06:04 +01:00