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
Modules
Visualization
Commits
f89dd729
Commit
f89dd729
authored
Jul 30, 2018
by
Mark Olesen
Browse files
STYLE: use 'cloudObjects' instead of 'sprayObjects'
parent
6f53948f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/paraview-plugins/vtkPVFoam/vtkPVFoamMeshLagrangian.C
View file @
f89dd729
...
...
@@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation | Copyright (C) 2017 OpenCFD Ltd.
\\/ M anipulation | Copyright (C) 2017
-2018
OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
...
...
@@ -55,17 +55,19 @@ vtkSmartPointer<vtkPolyData> Foam::vtkPVFoam::lagrangianVTKMesh
}
//
t
he region name is already in the mesh db
IOobjectList
sprayObj
s
//
T
he region name is already in the mesh db
IOobjectList
cloudObject
s
(
mesh
,
mesh
.
time
().
timeName
(),
cloud
::
prefix
/
cloudName
);
IOobject
*
positionsPtr
=
sprayObjs
.
lookup
(
word
(
"positions"
));
IOobject
*
coordinatesPtr
=
sprayObjs
.
lookup
(
word
(
"coordinates"
));
if
(
positionsPtr
||
coordinatesPtr
)
if
(
cloudObjects
.
found
(
"positions"
)
||
cloudObjects
.
found
(
"coordinates"
)
)
{
Cloud
<
passiveParticle
>
parcels
(
mesh
,
cloudName
,
false
);
...
...
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