Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
5eaa70ce
Commit
5eaa70ce
authored
Mar 22, 2016
by
Henry Weller
Browse files
GAMGAgglomerationTemplates: Assign to Zero rather than pTraits<Type>::zero
parent
14e40457
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/matrices/lduMatrix/solvers/GAMG/GAMGAgglomerations/GAMGAgglomeration/GAMGAgglomerationTemplates.C
View file @
5eaa70ce
...
...
@@ -81,7 +81,7 @@ void Foam::GAMGAgglomeration::restrictField
const
labelList
&
fineToCoarse
)
const
{
cf
=
pTraits
<
Type
>::
z
ero
;
cf
=
Z
ero
;
forAll
(
ff
,
i
)
{
...
...
@@ -153,7 +153,7 @@ void Foam::GAMGAgglomeration::restrictFaceField
<<
abort
(
FatalError
);
}
cf
=
pTraits
<
Type
>::
z
ero
;
cf
=
Z
ero
;
forAll
(
fineToCoarse
,
ffacei
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment