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
69b59b65
Commit
69b59b65
authored
Feb 10, 2016
by
Henry Weller
Browse files
Renamed PV4Readers -> PVReaders to avoid confusion when compiling the reader for ParaView-5
parent
629508a8
Changes
58
Hide whitespace changes
Inline
Side-by-side
applications/utilities/postProcessing/graphics/PV4Readers/PV4FoamReader/vtkPV4Foam/Make/files
deleted
100644 → 0
View file @
629508a8
vtkPV4Foam.C
vtkPV4FoamFields.C
vtkPV4FoamMesh.C
vtkPV4FoamMeshLagrangian.C
vtkPV4FoamMeshSet.C
vtkPV4FoamMeshVolume.C
vtkPV4FoamMeshZone.C
vtkPV4FoamUpdateInfo.C
vtkPV4FoamUtils.C
LIB = $(FOAM_LIBBIN)/libvtkPV4Foam
applications/utilities/postProcessing/graphics/PV4Readers/PV4blockMeshReader/vtkPV4blockMesh/Make/files
deleted
100644 → 0
View file @
629508a8
vtkPV4blockMesh.C
vtkPV4blockMeshConvert.C
vtkPV4blockMeshUtils.C
LIB = $(FOAM_LIBBIN)/libvtkPV4blockMesh
applications/utilities/postProcessing/graphics/PV4Readers/vtkPV4Readers/Make/files
deleted
100644 → 0
View file @
629508a8
vtkPV4Readers.C
LIB = $(FOAM_LIBBIN)/libvtkPV4Readers
applications/utilities/postProcessing/graphics/PV
4
Readers/Allwclean
→
applications/utilities/postProcessing/graphics/PVReaders/Allwclean
View file @
69b59b65
...
...
@@ -2,8 +2,8 @@
cd
${
0
%/*
}
||
exit
1
# Run from this directory
set
-x
wclean libso vtkPV
4
Readers
PV
4
blockMeshReader/Allwclean
PV
4
FoamReader/Allwclean
wclean libso vtkPVReaders
PVblockMeshReader/Allwclean
PVFoamReader/Allwclean
# ----------------------------------------------------------------- end-of-file
applications/utilities/postProcessing/graphics/PV
4
Readers/Allwmake
→
applications/utilities/postProcessing/graphics/PVReaders/Allwmake
View file @
69b59b65
...
...
@@ -14,15 +14,15 @@ case "$ParaView_VERSION" in
# ensure CMake gets the correct C++ compiler
[
-n
"
$WM_CXX
"
]
&&
export
CXX
=
"
$WM_CXX
"
wmake libso vtkPV
4
Readers
PV
4
blockMeshReader/Allwmake
PV
4
FoamReader/Allwmake
wmake libso vtkPVReaders
PVblockMeshReader/Allwmake
PVFoamReader/Allwmake
else
echo
"ERROR: ParaView not found in
$ParaView_DIR
"
fi
;;
*
)
echo
"WARN: PV
4
readers not building: ParaView_VERSION=
$ParaView_VERSION
"
echo
"WARN: PV readers not building: ParaView_VERSION=
$ParaView_VERSION
"
;;
esac
...
...
applications/utilities/postProcessing/graphics/PV
4
Readers/PV
4
FoamReader/Allwclean
→
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwclean
View file @
69b59b65
...
...
@@ -3,9 +3,9 @@ cd ${0%/*} || exit 1 # Run from this directory
set
-x
# deal with client/server vs combined plugins
rm
-f
$FOAM_LIBBIN
/libPV
4
FoamReader
*
2>/dev/null
rm
-f
$FOAM_LIBBIN
/libPVFoamReader
*
2>/dev/null
rm
-rf
PV
4
FoamReader/Make
wclean libso vtkPV
4
Foam
rm
-rf
PVFoamReader/Make
wclean libso vtkPVFoam
# ----------------------------------------------------------------- end-of-file
applications/utilities/postProcessing/graphics/PV
4
Readers/PV
4
FoamReader/Allwmake
→
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/Allwmake
View file @
69b59b65
...
...
@@ -4,9 +4,9 @@ set -x
if
[
-d
"
$ParaView_DIR
"
-a
-r
"
$ParaView_DIR
"
]
then
wmake libso vtkPV
4
Foam
wmake libso vtkPVFoam
(
cd
PV
4
FoamReader
cd
PVFoamReader
mkdir
-p
Make/
$WM_OPTIONS
>
/dev/null 2>&1
cd
Make/
$WM_OPTIONS
cmake ../..
...
...
applications/utilities/postProcessing/graphics/PV
4
Readers/PV
4
FoamReader/PV
4
FoamReader/CMakeLists.txt
→
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/CMakeLists.txt
View file @
69b59b65
...
...
@@ -21,7 +21,7 @@ INCLUDE_DIRECTORIES(
$ENV{WM_PROJECT_DIR}/src/OpenFOAM/lnInclude
$ENV{WM_PROJECT_DIR}/src/OSspecific/$ENV{WM_OSTYPE}/lnInclude
$ENV{WM_PROJECT_DIR}/src/finiteVolume/lnInclude
${
PROJECT_SOURCE_DIR
}
/../vtkPV
4
Foam
${
PROJECT_SOURCE_DIR
}
/../vtkPVFoam
)
ADD_DEFINITIONS
(
...
...
@@ -43,11 +43,11 @@ SET(
#
# Extend the auto-generated panel
QT4_WRAP_CPP
(
MOC_SRCS pqPV
4
FoamReaderPanel.h
)
QT4_WRAP_CPP
(
MOC_SRCS pqPVFoamReaderPanel.h
)
ADD_PARAVIEW_OBJECT_PANEL
(
IFACES IFACE_SRCS
CLASS_NAME pqPV
4
FoamReaderPanel
XML_NAME PV
4
FoamReader
# name of SourceProxy in *SM.xml
CLASS_NAME pqPVFoamReaderPanel
XML_NAME PVFoamReader
# name of SourceProxy in *SM.xml
XML_GROUP sources
)
...
...
@@ -55,19 +55,19 @@ IF("${PARAVIEW_VERSION_MINOR}" EQUAL 0)
ADD_PARAVIEW_PLUGIN
(
PVFoamReader_SM
"1.0"
SERVER_MANAGER_XML PVFoamReader_SM.xml
SERVER_MANAGER_SOURCES vtkPV
4
FoamReader.cxx
SERVER_MANAGER_SOURCES vtkPVFoamReader.cxx
GUI_INTERFACES
${
IFACES
}
GUI_SOURCES pqPV
4
FoamReaderPanel.cxx
GUI_SOURCES pqPVFoamReaderPanel.cxx
${
MOC_SRCS
}
${
UI_SRCS
}
${
IFACE_SRCS
}
GUI_RESOURCE_FILES PV
4
FoamReader.xml
GUI_RESOURCE_FILES PVFoamReader.xml
)
ELSE
(
"
${
PARAVIEW_VERSION_MINOR
}
"
EQUAL 0
)
ADD_PARAVIEW_PLUGIN
(
PVFoamReader_SM
"1.0"
SERVER_MANAGER_XML PVFoamReader_SM.xml
SERVER_MANAGER_SOURCES vtkPV
4
FoamReader.cxx
SERVER_MANAGER_SOURCES vtkPVFoamReader.cxx
GUI_INTERFACES
${
IFACES
}
GUI_SOURCES pqPV
4
FoamReaderPanel.cxx
GUI_SOURCES pqPVFoamReaderPanel.cxx
${
MOC_SRCS
}
${
UI_SRCS
}
${
IFACE_SRCS
}
)
ENDIF
(
"
${
PARAVIEW_VERSION_MINOR
}
"
EQUAL 0
)
...
...
@@ -77,7 +77,7 @@ TARGET_LINK_LIBRARIES(
LINK_PUBLIC
OpenFOAM
finiteVolume
vtkPV
4
Foam
vtkPVFoam
)
#-----------------------------------------------------------------------------
applications/utilities/postProcessing/graphics/PV
4
Readers/PV
4
FoamReader/PV
4
FoamReader/PV
4
FoamReader.qrc
→
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/PVFoamReader.qrc
View file @
69b59b65
<RCC>
<qresource prefix="/ParaViewResources" >
<file>PV
4
FoamReader.xml</file>
<file>PVFoamReader.xml</file>
</qresource>
</RCC>
applications/utilities/postProcessing/graphics/PV
4
Readers/PV
4
FoamReader/PV
4
FoamReader/PV
4
FoamReader.xml
→
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/PVFoamReader.xml
View file @
69b59b65
<ParaViewReaders>
<Reader
name=
"PV
4
FoamReader"
<Reader
name=
"PVFoamReader"
extensions=
"OpenFOAM"
file_description=
"OpenFOAM Reader"
>
</Reader>
...
...
applications/utilities/postProcessing/graphics/PV
4
Readers/PV
4
FoamReader/PV
4
FoamReader/PVFoamReader_SM.xml
→
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/PVFoamReader_SM.xml
View file @
69b59b65
<ServerManagerConfiguration>
<ProxyGroup
name=
"sources"
>
<SourceProxy
name=
"PV
4
FoamReader"
class=
"vtkPV
4
FoamReader"
>
name=
"PVFoamReader"
class=
"vtkPVFoamReader"
>
<!-- File name - compulsory -->
<StringVectorProperty
...
...
applications/utilities/postProcessing/graphics/PV
4
Readers/PV
4
FoamReader/PV
4
FoamReader/pqPV
4
FoamReaderPanel.cxx
→
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/pqPVFoamReaderPanel.cxx
View file @
69b59b65
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
4
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -23,7 +23,7 @@ License
\*---------------------------------------------------------------------------*/
#include
"pqPV
4
FoamReaderPanel.h"
#include
"pqPVFoamReaderPanel.h"
// QT
#include
<QGridLayout>
...
...
@@ -50,7 +50,7 @@ License
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
pqPV
4
FoamReaderPanel
::
pqPV
4
FoamReaderPanel
pqPVFoamReaderPanel
::
pqPVFoamReaderPanel
(
pqProxy
*
proxy
,
QWidget
*
p
...
...
@@ -356,7 +356,7 @@ pqPV4FoamReaderPanel::pqPV4FoamReaderPanel
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
void
pqPV
4
FoamReaderPanel
::
CacheMeshToggled
()
void
pqPVFoamReaderPanel
::
CacheMeshToggled
()
{
vtkSMIntVectorProperty
::
SafeDownCast
(
...
...
@@ -365,7 +365,7 @@ void pqPV4FoamReaderPanel::CacheMeshToggled()
}
void
pqPV
4
FoamReaderPanel
::
RefreshPressed
()
void
pqPVFoamReaderPanel
::
RefreshPressed
()
{
// update everything
vtkSMIntVectorProperty
::
SafeDownCast
...
...
@@ -380,7 +380,7 @@ void pqPV4FoamReaderPanel::RefreshPressed()
}
void
pqPV
4
FoamReaderPanel
::
ZeroTimeToggled
()
void
pqPVFoamReaderPanel
::
ZeroTimeToggled
()
{
vtkSMIntVectorProperty
::
SafeDownCast
(
...
...
@@ -391,7 +391,7 @@ void pqPV4FoamReaderPanel::ZeroTimeToggled()
}
void
pqPV
4
FoamReaderPanel
::
ShowPatchNamesToggled
()
void
pqPVFoamReaderPanel
::
ShowPatchNamesToggled
()
{
vtkSMIntVectorProperty
::
SafeDownCast
(
...
...
@@ -408,7 +408,7 @@ void pqPV4FoamReaderPanel::ShowPatchNamesToggled()
}
void
pqPV
4
FoamReaderPanel
::
ShowGroupsOnlyToggled
()
void
pqPVFoamReaderPanel
::
ShowGroupsOnlyToggled
()
{
vtkSMProperty
*
prop
;
...
...
@@ -424,7 +424,7 @@ void pqPV4FoamReaderPanel::ShowGroupsOnlyToggled()
}
void
pqPV
4
FoamReaderPanel
::
IncludeSetsToggled
()
void
pqPVFoamReaderPanel
::
IncludeSetsToggled
()
{
vtkSMProperty
*
prop
;
...
...
@@ -440,7 +440,7 @@ void pqPV4FoamReaderPanel::IncludeSetsToggled()
}
void
pqPV
4
FoamReaderPanel
::
IncludeZonesToggled
()
void
pqPVFoamReaderPanel
::
IncludeZonesToggled
()
{
vtkSMProperty
*
prop
;
...
...
@@ -456,7 +456,7 @@ void pqPV4FoamReaderPanel::IncludeZonesToggled()
}
void
pqPV
4
FoamReaderPanel
::
ExtrapolatePatchesToggled
()
void
pqPVFoamReaderPanel
::
ExtrapolatePatchesToggled
()
{
vtkSMProperty
*
prop
;
...
...
@@ -469,7 +469,7 @@ void pqPV4FoamReaderPanel::ExtrapolatePatchesToggled()
}
void
pqPV
4
FoamReaderPanel
::
InterpolateVolFieldsToggled
()
void
pqPVFoamReaderPanel
::
InterpolateVolFieldsToggled
()
{
vtkSMProperty
*
prop
;
...
...
applications/utilities/postProcessing/graphics/PV
4
Readers/PV
4
FoamReader/PV
4
FoamReader/pqPV
4
FoamReaderPanel.h
→
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/pqPVFoamReaderPanel.h
View file @
69b59b65
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -22,19 +22,19 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
pqPV
4
FoamReaderPanel
pqPVFoamReaderPanel
Description
GUI modifications for the ParaView reader panel
A custom panel for the PV
4
FoamReader.
A custom panel for the PVFoamReader.
SourceFiles
pqPV
4
FoamReaderPanel.cxx
pqPVFoamReaderPanel.cxx
\*---------------------------------------------------------------------------*/
#ifndef pqPV
4
FoamReaderPanel_h
#define pqPV
4
FoamReaderPanel_h
#ifndef pqPVFoamReaderPanel_h
#define pqPVFoamReaderPanel_h
#include
"pqAutoGeneratedObjectPanel.h"
...
...
@@ -51,10 +51,10 @@ class vtkSMSourceProxy;
/*---------------------------------------------------------------------------*\
Class pqPV
4
FoamReaderPanel Declaration
Class pqPVFoamReaderPanel Declaration
\*---------------------------------------------------------------------------*/
class
pqPV
4
FoamReaderPanel
class
pqPVFoamReaderPanel
:
public
pqAutoGeneratedObjectPanel
{
...
...
@@ -105,11 +105,11 @@ public:
// Constructors
//- Construct from components
pqPV
4
FoamReaderPanel
(
pqProxy
*
,
QWidget
*
);
pqPVFoamReaderPanel
(
pqProxy
*
,
QWidget
*
);
//- Destructor
// virtual ~pqPV
4
FoamReaderPanel();
// virtual ~pqPVFoamReaderPanel();
};
...
...
applications/utilities/postProcessing/graphics/PV
4
Readers/PV
4
FoamReader/PV
4
FoamReader/vtkPV
4
FoamReader.cxx
→
applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/PVFoamReader/vtkPVFoamReader.cxx
View file @
69b59b65
...
...
@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-201
3
OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-201
6
OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
...
...
@@ -22,7 +22,7 @@ License
along with OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
\*---------------------------------------------------------------------------*/
#include
"vtkPV
4
FoamReader.h"
#include
"vtkPVFoamReader.h"
#include
"pqApplicationCore.h"
#include
"pqRenderView.h"
...
...
@@ -40,18 +40,18 @@ License
#include
"vtkStringArray.h"
// OpenFOAM includes
#include
"vtkPV
4
Foam.H"
#include
"vtkPVFoam.H"
#undef EXPERIMENTAL_TIME_CACHING
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
vtkStandardNewMacro
(
vtkPV
4
FoamReader
);
vtkStandardNewMacro
(
vtkPVFoamReader
);
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
vtkPV
4
FoamReader
::
vtkPV
4
FoamReader
()
vtkPVFoamReader
::
vtkPVFoamReader
()
{
Debug
=
0
;
vtkDebugMacro
(
<<
"Constructor"
);
...
...
@@ -63,7 +63,7 @@ vtkPV4FoamReader::vtkPV4FoamReader()
output0_
=
NULL
;
#ifdef VTKPV
4
FOAM_DUALPORT
#ifdef VTKPVFOAM_DUALPORT
// Add second output for the Lagrangian
this
->
SetNumberOfOutputPorts
(
2
);
vtkMultiBlockDataSet
*
lagrangian
=
vtkMultiBlockDataSet
::
New
();
...
...
@@ -100,7 +100,7 @@ vtkPV4FoamReader::vtkPV4FoamReader()
SelectionObserver
=
vtkCallbackCommand
::
New
();
SelectionObserver
->
SetCallback
(
&
vtkPV
4
FoamReader
::
SelectionModifiedCallback
&
vtkPVFoamReader
::
SelectionModifiedCallback
);
SelectionObserver
->
SetClientData
(
this
);
...
...
@@ -129,7 +129,7 @@ vtkPV4FoamReader::vtkPV4FoamReader()
// * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * //
vtkPV
4
FoamReader
::~
vtkPV
4
FoamReader
()
vtkPVFoamReader
::~
vtkPVFoamReader
()
{
vtkDebugMacro
(
<<
"Deconstructor"
);
...
...
@@ -168,7 +168,7 @@ vtkPV4FoamReader::~vtkPV4FoamReader()
// * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * * //
// Do everything except set the output info
int
vtkPV
4
FoamReader
::
RequestInformation
int
vtkPVFoamReader
::
RequestInformation
(
vtkInformation
*
vtkNotUsed
(
request
),
vtkInformationVector
**
vtkNotUsed
(
inputVector
),
...
...
@@ -177,7 +177,7 @@ int vtkPV4FoamReader::RequestInformation
{
vtkDebugMacro
(
<<
"RequestInformation"
);
if
(
Foam
::
vtkPV
4
Foam
::
debug
)
if
(
Foam
::
vtkPVFoam
::
debug
)
{
cout
<<
"REQUEST_INFORMATION
\n
"
;
}
...
...
@@ -190,7 +190,7 @@ int vtkPV4FoamReader::RequestInformation
int
nInfo
=
outputVector
->
GetNumberOfInformationObjects
();
if
(
Foam
::
vtkPV
4
Foam
::
debug
)
if
(
Foam
::
vtkPVFoam
::
debug
)
{
cout
<<
"RequestInformation with "
<<
nInfo
<<
" item(s)
\n
"
;
for
(
int
infoI
=
0
;
infoI
<
nInfo
;
++
infoI
)
...
...
@@ -201,7 +201,7 @@ int vtkPV4FoamReader::RequestInformation
if
(
!
foamData_
)
{
foamData_
=
new
Foam
::
vtkPV
4
Foam
(
FileName
,
this
);
foamData_
=
new
Foam
::
vtkPVFoam
(
FileName
,
this
);
}
else
{
...
...
@@ -238,7 +238,7 @@ int vtkPV4FoamReader::RequestInformation
timeRange
[
0
]
=
timeSteps
[
0
];
timeRange
[
1
]
=
timeSteps
[
nTimeSteps
-
1
];
if
(
Foam
::
vtkPV
4
Foam
::
debug
>
1
)
if
(
Foam
::
vtkPVFoam
::
debug
>
1
)
{
cout
<<
"nTimeSteps "
<<
nTimeSteps
<<
"
\n
"
<<
"timeRange "
<<
timeRange
[
0
]
<<
" to "
<<
timeRange
[
1
]
...
...
@@ -268,7 +268,7 @@ int vtkPV4FoamReader::RequestInformation
// Set the output info
int
vtkPV
4
FoamReader
::
RequestData
int
vtkPVFoamReader
::
RequestData
(
vtkInformation
*
vtkNotUsed
(
request
),
vtkInformationVector
**
vtkNotUsed
(
inputVector
),
...
...
@@ -292,7 +292,7 @@ int vtkPV4FoamReader::RequestData
int
nInfo
=
outputVector
->
GetNumberOfInformationObjects
();
if
(
Foam
::
vtkPV
4
Foam
::
debug
)
if
(
Foam
::
vtkPVFoam
::
debug
)
{
cout
<<
"RequestData with "
<<
nInfo
<<
" item(s)
\n
"
;
for
(
int
infoI
=
0
;
infoI
<
nInfo
;
++
infoI
)
...
...
@@ -310,7 +310,7 @@ int vtkPV4FoamReader::RequestData
// taking port0 as the lead for other outputs would be nice, but fails when
// a filter is added - we need to check everything
// but since PREVIOUS_UPDATE_TIME_STEPS() is protected, relay the logic
// to the vtkPV
4
Foam::setTime() method
// to the vtkPVFoam::setTime() method
for
(
int
infoI
=
0
;
infoI
<
nInfo
;
++
infoI
)
{
vtkInformation
*
outInfo
=
outputVector
->
GetInformationObject
(
infoI
);
...
...
@@ -342,7 +342,7 @@ int vtkPV4FoamReader::RequestData
)
);
if
(
Foam
::
vtkPV
4
Foam
::
debug
)
if
(
Foam
::
vtkPVFoam
::
debug
)
{
cout
<<
"update output with "
<<
output
->
GetNumberOfBlocks
()
<<
" blocks
\n
"
;
...
...
@@ -370,7 +370,7 @@ int vtkPV4FoamReader::RequestData
output
->
ShallowCopy
(
output0_
);
}
if
(
Foam
::
vtkPV
4
Foam
::
debug
)
if
(
Foam
::
vtkPVFoam
::
debug
)
{
if
(
needsUpdate
)
{
...
...
@@ -390,7 +390,7 @@ int vtkPV4FoamReader::RequestData
#else
#ifdef VTKPV
4
FOAM_DUALPORT
#ifdef VTKPVFOAM_DUALPORT
foamData_
->
Update
(
output
,
...
...
@@ -417,13 +417,13 @@ int vtkPV4FoamReader::RequestData
}
void
vtkPV
4
FoamReader
::
SetRefresh
(
int
val
)
void
vtkPVFoamReader
::
SetRefresh
(
int
val
)
{
Modified
();
}
void
vtkPV
4
FoamReader
::
SetIncludeSets
(
int
val
)
void
vtkPVFoamReader
::
SetIncludeSets
(
int
val
)
{
if
(
IncludeSets
!=
val
)
{
...
...
@@ -436,7 +436,7 @@ void vtkPV4FoamReader::SetIncludeSets(int val)
}
void
vtkPV
4
FoamReader
::
SetIncludeZones
(
int
val
)
void
vtkPVFoamReader
::
SetIncludeZones
(
int
val
)
{
if
(
IncludeZones
!=
val
)
{
...
...
@@ -449,7 +449,7 @@ void vtkPV4FoamReader::SetIncludeZones(int val)
}
void
vtkPV
4
FoamReader
::
SetShowPatchNames
(
int
val
)
void
vtkPVFoamReader
::
SetShowPatchNames
(
int
val
)
{
if
(
ShowPatchNames
!=
val
)
{
...
...
@@ -459,7 +459,7 @@ void vtkPV4FoamReader::SetShowPatchNames(int val)
}
void
vtkPV
4
FoamReader
::
SetShowGroupsOnly
(
int
val
)
void
vtkPVFoamReader
::
SetShowGroupsOnly
(
int
val
)
{
if
(
ShowGroupsOnly
!=
val
)
{
...
...
@@ -472,7 +472,7 @@ void vtkPV4FoamReader::SetShowGroupsOnly(int val)
}
void
vtkPV
4
FoamReader
::
updatePatchNamesView
(
const
bool
show
)
void
vtkPVFoamReader
::
updatePatchNamesView
(
const
bool
show
)
{
pqApplicationCore
*
appCore
=
pqApplicationCore
::
instance
();
...
...
@@ -506,7 +506,7 @@ void vtkPV4FoamReader::updatePatchNamesView(const bool show)
}
void
vtkPV
4
FoamReader
::
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
void
vtkPVFoamReader
::
PrintSelf
(
ostream
&
os
,
vtkIndent
indent
)
{
vtkDebugMacro
(
<<
"PrintSelf"
);
...
...
@@ -522,7 +522,7 @@ void vtkPV4FoamReader::PrintSelf(ostream& os, vtkIndent indent)
}
int
vtkPV
4
FoamReader
::
GetTimeStep
()
int
vtkPVFoamReader
::
GetTimeStep
()
{
return
foamData_
?
foamData_
->
timeIndex
()
:
-
1
;
}
...
...
@@ -531,35 +531,35 @@ int vtkPV4FoamReader::GetTimeStep()
// ----------------------------------------------------------------------
// Parts selection list control
vtkDataArraySelection
*
vtkPV
4
FoamReader
::
GetPartSelection
()
vtkDataArraySelection
*
vtkPVFoamReader
::
GetPartSelection
()
{
vtkDebugMacro
(
<<
"GetPartSelection"
);
return
PartSelection
;
}
int
vtkPV
4
FoamReader
::
GetNumberOfPartArrays
()
int
vtkPVFoamReader
::
GetNumberOfPartArrays
()
{
vtkDebugMacro
(
<<
"GetNumberOfPartArrays"
);
return
PartSelection
->
GetNumberOfArrays
();
}
const
char
*
vtkPV
4
FoamReader
::
GetPartArrayName
(
int
index
)
const
char
*
vtkPVFoamReader
::
GetPartArrayName
(
int
index
)
{
vtkDebugMacro
(
<<
"GetPartArrayName"
);
return
PartSelection
->
GetArrayName
(
index
);
}
int
vtkPV
4
FoamReader
::
GetPartArrayStatus
(
const
char
*
name
)
int
vtkPVFoamReader
::
GetPartArrayStatus
(
const
char
*
name
)
{
vtkDebugMacro
(
<<
"GetPartArrayStatus"
);