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
15d0a918
Commit
15d0a918
authored
May 18, 2017
by
Mark OLESEN
Browse files
COMP: use VTK_OVERRIDE on paraview methods
COMP: avoid undefined-var-template warning in runTimePostProcessing
parent
d6e721a9
Changes
3
Hide whitespace changes
Inline
Side-by-side
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/vtkPVFoamReader.h
View file @
15d0a918
...
...
@@ -55,7 +55,7 @@ namespace Foam
/*---------------------------------------------------------------------------*\
Class vtkPVFoamReader Declaration
Class vtkPVFoamReader Declaration
\*---------------------------------------------------------------------------*/
class
vtkPVFoamReader
...
...
@@ -64,7 +64,7 @@ class vtkPVFoamReader
{
public:
vtkTypeMacro
(
vtkPVFoamReader
,
vtkMultiBlockDataSetAlgorithm
);
void
PrintSelf
(
ostream
&
,
vtkIndent
);
void
PrintSelf
(
ostream
&
,
vtkIndent
)
VTK_OVERRIDE
;
static
vtkPVFoamReader
*
New
();
...
...
@@ -199,7 +199,7 @@ protected:
vtkInformation
*
,
vtkInformationVector
**
,
vtkInformationVector
*
);
)
VTK_OVERRIDE
;
//- Get the mesh/fields for a particular time
virtual
int
RequestData
...
...
@@ -207,10 +207,10 @@ protected:
vtkInformation
*
,
vtkInformationVector
**
,
vtkInformationVector
*
);
)
VTK_OVERRIDE
;
//- Fill in additional port information
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*
);
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*
)
VTK_OVERRIDE
;
//- The observer to modify this object when array selections are modified
vtkCallbackCommand
*
SelectionObserver
;
...
...
applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/PVblockMeshReader/vtkPVblockMeshReader.h
View file @
15d0a918
...
...
@@ -62,7 +62,7 @@ class vtkPVblockMeshReader
{
public:
vtkTypeMacro
(
vtkPVblockMeshReader
,
vtkMultiBlockDataSetAlgorithm
);
void
PrintSelf
(
ostream
&
,
vtkIndent
);
void
PrintSelf
(
ostream
&
,
vtkIndent
)
VTK_OVERRIDE
;
static
vtkPVblockMeshReader
*
New
();
...
...
@@ -127,7 +127,7 @@ protected:
vtkInformation
*
unusedRequest
,
vtkInformationVector
**
unusedInputVector
,
vtkInformationVector
*
outputVector
);
)
VTK_OVERRIDE
;
//- Get the mesh for a particular time
virtual
int
RequestData
...
...
@@ -135,10 +135,10 @@ protected:
vtkInformation
*
unusedRequest
,
vtkInformationVector
**
unusedInputVector
,
vtkInformationVector
*
outputVector
);
)
VTK_OVERRIDE
;
//- Fill in additional port information
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*
);
virtual
int
FillOutputPortInformation
(
int
,
vtkInformation
*
)
VTK_OVERRIDE
;
// The observer to modify this object when array selections are modified
vtkCallbackCommand
*
SelectionObserver
;
...
...
src/functionObjects/graphics/runTimePostProcessing/fieldVisualisationBase.C
View file @
15d0a918
...
...
@@ -480,8 +480,7 @@ void Foam::functionObjects::fieldVisualisationBase::addGlyphs
else
{
WarningInFunction
<<
"Glyphs can only be added to "
<<
pTraits
<
scalar
>::
typeName
<<
" and "
<<
pTraits
<
vector
>::
typeName
<<
" fields. "
<<
"Glyphs can only be added to scalar and vector fields."
<<
" Field "
<<
scaleFieldName
<<
" has "
<<
nComponents
<<
" components"
<<
endl
;
...
...
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