Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
openfoam
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
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
openfoam
Commits
e3b5d373
Commit
e3b5d373
authored
15 years ago
by
Mark Olesen
Browse files
Options
Downloads
Patches
Plain Diff
PV3FoamReader bugfix - interpolated point fields had wrong names on the patches
parent
08b74f50
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamVolFields.H
+9
-2
9 additions, 2 deletions
...PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamVolFields.H
with
9 additions
and
2 deletions
applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/vtkPV3Foam/vtkPV3FoamVolFields.H
+
9
−
2
View file @
e3b5d373
...
@@ -109,6 +109,13 @@ void Foam::vtkPV3Foam::convertVolFields
...
@@ -109,6 +109,13 @@ void Foam::vtkPV3Foam::convertVolFields
//
//
// Convert patches - if activated
// Convert patches - if activated
//
//
// the name for the interpolated patch point field must be consistent
// with the interpolated volume point field
// this could be done better
const
word
pointFldName
=
"volPointInterpolate("
+
tf
.
name
()
+
')'
;
for
for
(
(
int
partId
=
partInfoPatches_
.
start
();
int
partId
=
partInfoPatches_
.
start
();
...
@@ -155,7 +162,7 @@ void Foam::vtkPV3Foam::convertVolFields
...
@@ -155,7 +162,7 @@ void Foam::vtkPV3Foam::convertVolFields
convertPatchPointField
convertPatchPointField
(
(
tf
.
n
ame
()
,
pointFldN
ame
,
ppInterpList
[
patchId
].
faceToPointInterpolate
(
tpptf
)(),
ppInterpList
[
patchId
].
faceToPointInterpolate
(
tpptf
)(),
output
,
output
,
partInfoPatches_
,
partInfoPatches_
,
...
@@ -175,7 +182,7 @@ void Foam::vtkPV3Foam::convertVolFields
...
@@ -175,7 +182,7 @@ void Foam::vtkPV3Foam::convertVolFields
convertPatchPointField
convertPatchPointField
(
(
tf
.
n
ame
()
,
pointFldN
ame
,
ppInterpList
[
patchId
].
faceToPointInterpolate
(
ptf
)(),
ppInterpList
[
patchId
].
faceToPointInterpolate
(
ptf
)(),
output
,
output
,
partInfoPatches_
,
partInfoPatches_
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment