Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenFOAM-plus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Development
OpenFOAM-plus
Merge requests
!261
BUG: resolve issue #1313 | stabilise SVDinv
Code
Review changes
Check out branch
Download
Patches
Plain diff
Closed
BUG: resolve issue #1313 | stabilise SVDinv
bugfix-GL1313
into
develop
Overview
0
Commits
1
Changes
1
Closed
Kutalmış Berçin
requested to merge
bugfix-GL1313
into
develop
6 years ago
Overview
0
Commits
1
Changes
1
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
0c2a52c8
1 commit,
6 years ago
1 file
+
8
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
src/OpenFOAM/matrices/scalarMatrices/scalarMatrices.C
+
8
−
0
Options
@@ -329,6 +329,14 @@ Foam::scalarRectangularMatrix Foam::SVDinv
scalar
minCondition
)
{
if
(
minCondition
<
SMALL
)
{
WarningInFunction
<<
"Input cutoff for small singular values = "
<<
minCondition
<<
" may be destabilising, hence reset to SMALL"
<<
nl
;
minCondition
=
max
(
minCondition
,
SMALL
);
}
SVD
svd
(
A
,
minCondition
);
return
svd
.
VSinvUt
();
}
Loading