Skip to content
GitLab
Menu
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
8dd18cc0
Commit
8dd18cc0
authored
Oct 09, 2016
by
Henry Weller
Browse files
vtkPVblockMeshConvert: Updated to use the new blockDescriptor::edgesPointsWeights
parent
e53520ec
Changes
1
Hide whitespace changes
Inline
Side-by-side
applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/vtkPVblockMesh/vtkPVblockMeshConvert.C
View file @
8dd18cc0
...
...
@@ -172,6 +172,11 @@ void Foam::vtkPVblockMesh::convertMeshEdges
edgeList
blkEdges
=
blockDef
.
blockShape
().
edges
();
// List of edge point and weighting factors
List
<
point
>
edgesPoints
[
12
];
scalarList
edgesWeights
[
12
];
blockDef
.
edgesPointsWeights
(
edgesPoints
,
edgesWeights
);
// find the corresponding edge within the block
label
foundEdgeI
=
-
1
;
forAll
(
blkEdges
,
blkEdgeI
)
...
...
@@ -185,9 +190,7 @@ void Foam::vtkPVblockMesh::convertMeshEdges
if
(
foundEdgeI
!=
-
1
)
{
const
List
<
point
>&
edgePoints
=
blockDef
.
blockEdgePoints
()[
foundEdgeI
];
const
List
<
point
>&
edgePoints
=
edgesPoints
[
foundEdgeI
];
vtkPolyData
*
vtkmesh
=
vtkPolyData
::
New
();
vtkPoints
*
vtkpoints
=
vtkPoints
::
New
();
...
...
Write
Preview
Supports
Markdown
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