Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
5acb5f35
Commit
5acb5f35
authored
Jul 20, 2020
by
Mark OLESEN
Browse files
STYLE: rename/adjust local pointer naming and handling
parent
065db9a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/dynamicMesh/polyTopoChange/polyTopoChanger/polyTopoChanger.C
View file @
5acb5f35
...
...
@@ -6,7 +6,7 @@
\\/ M anipulation |
-------------------------------------------------------------------------------
Copyright (C) 2011-2016 OpenFOAM Foundation
Copyright (C) 2017 OpenCFD Ltd.
Copyright (C) 2017
-2020
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -214,8 +214,8 @@ Foam::polyTopoChanger::topoChangeRequest() const
// Collect changes from all modifiers
const
PtrList
<
polyMeshModifier
>&
topoChanges
=
*
this
;
polyTopoChange
*
refPtr
(
new
polyTopoChange
(
mesh
())
)
;
polyTopoChange
&
ref
=
*
refPtr
;
auto
ptr
=
autoPtr
<
polyTopoChange
>::
New
(
mesh
());
polyTopoChange
&
ref
=
ptr
.
ref
()
;
forAll
(
topoChanges
,
morphI
)
{
...
...
@@ -225,7 +225,7 @@ Foam::polyTopoChanger::topoChangeRequest() const
}
}
return
autoPtr
<
polyTopoChange
>
(
refP
tr
)
;
return
p
tr
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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