Commit Graph

34 Commits

Author SHA1 Message Date
Markus Reitböck
4baa3a5ee7 Fem: use CMake to generate precompiled headers on all platforms
"Professional CMake" book suggest the following:

"Targets should build successfully with or without compiler support for precompiled headers. It
 should be considered an optimization, not a requirement. In particular, do not explicitly include a
 precompile header (e.g. stdafx.h) in the source code, let CMake force-include an automatically
 generated precompile header on the compiler command line instead. This is more portable across
 the major compilers and is likely to be easier to maintain. It will also avoid warnings being
 generated from certain code checking tools like iwyu (include what you use)."

Therefore, removed the "#include <PreCompiled.h>" from sources, also
there is no need for the "#ifdef _PreComp_" anymore
2025-09-23 00:51:00 +02:00
wmayer
e66404523c Fem: Apply clang-format 2023-09-25 14:50:43 +02:00
wmayer
2bcec7717d Fem: modernize C++: use equals default 2023-08-21 13:35:54 +02:00
Uwe
ae14c761e6 [FEM] FemResult* to end: remove unused includes
- also sort includes
2022-10-03 03:42:22 +02:00
berniev
f4ffd15864 Mod: redundant void 2 2022-08-08 10:27:50 +02:00
Uwe
1f9b9e8c17 [FEM] remove some unused includes 2022-08-02 05:15:31 +02:00
wmayer
bde17e1b9f Fem: modernize C++11
* use nullptr
2022-03-23 19:26:15 +01:00
wmayer
99dc3fec76 Fem: include FemGlobal.h 2021-12-18 14:35:20 +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
luz.paz
30a717beac Fix typos and misc. formatting [skip ci]
Found via `codespell -q 3 -L aci,ake,aline,alle,alledges,alocation,als,ang,anid,ba,beginn,behaviour,bloaded,byteorder,calculater,cancelled,cancelling,cas,cascade,centimetre,childs,colour,colours,commen,currenty,dof,doubleclick,dum,eiter,elemente,feld,freez,hist,iff,indicies,initialisation,initialise,initialised,initialises,initialisiert,ist,kilometre,lod,mantatory,methode,metres,millimetre,modell,nd,noe,normale,normaly,nto,numer,oder,orgin,orginx,orginy,ot,pard,pres,programm,que,recurrance,rougly,seperator,serie,sinc,strack,substraction,te,thist,thru,tread,uint,unter,vertexes,wallthickness,whitespaces -S ./.git,*.po,*.ts,./ChangeLog.txt,./src/3rdParty,./src/Mod/Assembly/App/opendcm,./src/CXX,./src/zipios++,./src/Base/swig*,./src/Mod/Robot/App/kdl_cp,./src/Mod/Import/App/SCL,./src/WindowsInstaller,./src/Doc/FreeCAD.uml`
2019-10-21 16:02:23 -03:00
Bernd Hahnebach
d413768080 FEM: result object, better grouping in result properties, this does not break compatibility 2018-05-23 17:59:29 +02:00
kgoao
0ae847e137 FEM: 1DFlow, result reading and display results 2017-02-28 17:35:26 +01:00
Bernd Hahnebach
90a9fd1a28 FEM: code formating, white spaces 2017-02-16 13:11:14 +01:00
qingfengxia
585c01a4da FEM: result object refactor, move most properties from C++ to a new Python result object 2017-02-16 07:54:32 +01:00
makkemal
4d4a12b800 FEM: result object, add properties for stress and strain vectors 2017-01-07 15:16:44 -02:00
makkemal
7e37ddf76a FEM: User defined result object added 2016-09-27 13:04:47 -03:00
qingfengxia
7997d214d6 Fem: fix typo of FemGui::ViewProviderResultPython 2016-09-17 14:39:29 +01:00
qingfengxia
280df77f35 make FemResultObject extensible in python as FemSolverObject 2016-09-16 23:01:09 +01:00
vdwalts
a9aa7494b8 FEM: core: changes in result object 2016-08-04 17:45:04 +02:00
Bernd Hahnebach
3091fd5973 FEM: remove trailing whitespaces 2016-04-24 19:10:33 +02:00
Bernd Hahnebach
c1d180eba3 FEM: make result stats read only in property editor 2016-01-06 11:13:38 -02:00
wmayer
750897c20e + introduce proper enum for property status to replace plain integers 2016-01-01 15:36:24 +01:00
wmayer
cd8d93d248 + make properties of FEM result object read-only for property editor 2015-12-13 19:19:38 +01:00
Przemo Firszt
79d4591b58 FEM: Fix typos in property definitions
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
80a6842bcc FEM: Replace invalid ElementNumbers with NodeNumbers
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
ed6533a568 FEM: Add EigenmodeFrequency property to result object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Przemo Firszt
7922106965 FEM: Add Eigenmode property to result object
Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-11-03 20:04:23 +00:00
Mateusz Skowroński
05f95c0506 Fix files encoding. Go from ISO8859-1 to UTF-8. 2015-09-21 19:50:49 -03:00
Przemo Firszt
53df1e1471 FEM: All FEM results are stored in a single object
Functionality previously provided by setNodeColorByResult is now
in setNodeColorByScalars. FemResult* object is no longer required,
the function accepts list of elements and a list of values.

Functionality previously provided by setNodeDisplacementByResult is now
in setNodeDisplacementByVectors. FemResult* object is no longer required,
the function accepts list of elements and a list of vectors.

A side effect: FemResultValues and FemResultVector are no longer used
and have bee removed.

Signed-off-by: Przemo Firszt <przemo@firszt.eu>
2015-06-24 17:44:02 +02:00
wmayer
e8eb0bd828 + support loading projects with old pad features, fix critical bug where the unit gets replaced 2014-02-12 15:14:02 +01:00
jriegel
032d7dd2fe Finish loading Calculix result files 2013-12-31 12:41:22 +01:00
jriegel
09a2e1b504 Starting Calculix integration 2013-12-06 23:26:56 +01:00
jriegel
b8c80bd35c Adding python capabilities to the Result objects 2013-11-28 19:52:41 +01:00
jriegel
84601cc346 Objects for Results of FEM analysis 2013-11-27 20:14:58 +01:00