Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Initial FemWorkbench refraction towards CaeWorkbench see /Fem/Readme.md for details #1

Closed
wants to merge 2 commits into from

Conversation

qingfengxia
Copy link

I can run the Gui using my new code, but write_case_file() which writes inp file does not return. I find the same problem using latest FreeCAD git-dev deb installation. Perhaps you can shed me light on this.

I worked on official FreeCAD master code on Sep 23, 2015, while FEM got 2 new python files added about Sep 27. I tried to add these into my Fem folders. As Fem module is developing heavily, I hope code shared by Fem and Cfd could be merged, before I focus on CFD implementation. Thanks.

@PrzemoF
Copy link
Owner

PrzemoF commented Oct 3, 2015

Could you provide some high-level overview of what's happening in the commit description? Would it be possible to split the commit into smaller chunks? It's easy to omit something when reviewing commit that it changing 25 files and it's very hard to bisect with big commits. I.e I'd suggest to file handle renames in separate commits. Thank you for your work!

P.S. You should probably send pull request to the master repository

@PrzemoF
Copy link
Owner

PrzemoF commented Oct 3, 2015

I see quite a lot trailing spaces and empty lines with white spaces - please remove.

@qingfengxia
Copy link
Author

I will clean up my code and send another pull request, Thanks

@qingfengxia qingfengxia closed this Oct 3, 2015
PrzemoF pushed a commit that referenced this pull request Feb 7, 2016
PrzemoF pushed a commit that referenced this pull request Oct 13, 2018
PrzemoF pushed a commit that referenced this pull request May 24, 2019
PrzemoF pushed a commit that referenced this pull request May 5, 2020
Path: Fix `ZigZag` pattern; Remove some comments
PrzemoF pushed a commit that referenced this pull request May 22, 2020
Path: Extend fix to `updateVisibility()`
PrzemoF pushed a commit that referenced this pull request Dec 7, 2020
PrzemoF pushed a commit that referenced this pull request Mar 19, 2021
Fixes Coverity issue:
CID 316539 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
uninit_member: Non-static class member lastHasPartialRedundancies is not initialized in this constructor nor in any functions that it calls.
PrzemoF pushed a commit that referenced this pull request Mar 19, 2021
Coverity warnings fixed:

CID 316517 (#1 of 1): Uninitialized scalar variable (UNINIT)
13. uninit_use_in_call: Using uninitialized value t. Field t.err is uninitialized when calling push_back

CID 316519 (#1 of 1): Uninitialized scalar variable (UNINIT)
3. uninit_use_in_call: Using uninitialized value v. Field v.tstart is uninitialized when calling push_back

CID 316547 (#1 of 1): Uninitialized scalar variable (UNINIT)
13. uninit_use_in_call: Using uninitialized value t. Field t.err is uninitialized when calling push_back

CID 316556 (#1 of 1): Uninitialized scalar variable (UNINIT)
3. uninit_use_in_call: Using uninitialized value v. Field v.tstart is uninitialized when calling push_back
PrzemoF pushed a commit that referenced this pull request Mar 19, 2021
Coverity warnings fixed:

CID 316550 (#1 of 1): Uninitialized scalar variable (UNINIT)
13. uninit_use_in_call: Using uninitialized value sel. Field sel.pResolvedObject is uninitialized when calling push_back
PrzemoF pushed a commit that referenced this pull request Mar 19, 2021
Coverity warnings fixed:

CID 316559 (#1 of 1): Uninitialized scalar variable (UNINIT)
3. uninit_use_in_call: Using uninitialized value we. Field we.idx is uninitialized when calling push_back

CID 316549 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
4. uninit_member: Non-static class member pageheight is not initialized in this constructor nor in any functions that it calls.

CID 186161 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)
2. uninit_member: Non-static class member parent is not initialized in this constructor nor in any functions that it calls.

CID 305170 (#1 of 1): Dereference before null check (REVERSE_INULL)
check_after_deref: Null-checking this->m_baseFeat suggests that it may be null, but it has already been dereferenced on all paths leading to the check.

CID 186152 (#2 of 2): Uninitialized pointer field (UNINIT_CTOR)
3. uninit_member: Non-static class member m_mdi is not initialized in this constructor nor in any functions that it calls.

CID 192588 (#1 of 1): Same on both sides (CONSTANT_EXPRESSION_RESULT)
pointless_expression
PrzemoF pushed a commit that referenced this pull request Mar 19, 2021
Coverity warnings fixed:

CID 305123 (#1 of 1): Logically dead code (DEADCODE)
dead_error_line: Execution cannot reach the expression this->linked inside this statement: if (role == Qt::TextColorRole && linked)
PrzemoF pushed a commit that referenced this pull request Mar 19, 2021
Coverity warnings fixed:

CID 129530 (#1 of 1): Uninitialized scalar field (UNINIT_CTOR)
2. uninit_member: Non-static class member pixelScalingFactor is not initialized in this constructor nor in any functions that it calls.
PrzemoF pushed a commit that referenced this pull request Aug 24, 2021
Prevent matplotlib selecting the PyQt API instead of PySide2
PrzemoF pushed a commit that referenced this pull request Jan 9, 2022
PrzemoF pushed a commit that referenced this pull request Feb 19, 2022
PrzemoF pushed a commit that referenced this pull request Jul 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants