Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
phcerdan
VTK-m
Commits
fb62ed55
Commit
fb62ed55
authored
Jun 13, 2018
by
Haocheng LIU
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add override keyword to CellSetStructured's member functions
parent
7c258410
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
+7
-4
vtkm/cont/CellSetStructured.h
vtkm/cont/CellSetStructured.h
+7
-4
No files found.
vtkm/cont/CellSetStructured.h
View file @
fb62ed55
...
...
@@ -55,13 +55,16 @@ public:
Thisclass
&
operator
=
(
const
Thisclass
&
src
);
virtual
vtkm
::
Id
GetNumberOfCells
()
const
{
return
this
->
Structure
.
GetNumberOfCells
();
}
virtual
vtkm
::
Id
GetNumberOfCells
()
const
override
{
return
this
->
Structure
.
GetNumberOfCells
();
}
virtual
vtkm
::
Id
GetNumberOfPoints
()
const
{
return
this
->
Structure
.
GetNumberOfPoints
();
}
virtual
vtkm
::
Id
GetNumberOfPoints
()
const
override
{
return
this
->
Structure
.
GetNumberOfPoints
();
}
virtual
vtkm
::
Id
GetNumberOfFaces
()
const
{
return
-
1
;
}
virtual
vtkm
::
Id
GetNumberOfFaces
()
const
override
{
return
-
1
;
}
virtual
vtkm
::
Id
GetNumberOfEdges
()
const
{
return
-
1
;
}
virtual
vtkm
::
Id
GetNumberOfEdges
()
const
override
{
return
-
1
;
}
// Since the entire topology is defined by by three integers, nothing to do here.
virtual
void
ReleaseResourcesExecution
()
override
{}
...
...
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