Commit 2c06b51d authored by Utkarsh Ayachit's avatar Utkarsh Ayachit Committed by Ben Boeckel
Browse files

vtkFiltersParallelFlowPaths: update to the new module system

parent ce190e66
include(vtkObjectFactory)
set(Module_SRCS
vtkPLagrangianParticleTracker.cxx
vtkPTemporalStreamTracer.cxx
vtkPStreamTracer.cxx
vtkPParticleTracer.cxx
vtkPParticlePathFilter.cxx
vtkPStreaklineFilter.cxx
vtkPParticleTracerBase.cxx
)
set(classes
vtkPLagrangianParticleTracker
vtkPParticlePathFilter
vtkPParticleTracer
vtkPParticleTracerBase
vtkPStreaklineFilter
vtkPStreamTracer
vtkPTemporalStreamTracer)
# Overrides for object factory.
set(parallel_overrides
......@@ -17,14 +14,19 @@ set(parallel_overrides
TemporalStreamTracer
ParticleTracer
ParticlePathFilter
StreaklineFilter
)
StreaklineFilter)
foreach (parallel_override IN LISTS parallel_overrides)
vtk_object_factory_declare(
BASE vtk${parallel_override}
OVERRIDE vtkP${parallel_override})
endforeach ()
foreach(_override ${parallel_overrides})
vtk_add_override(vtk${_override} vtkP${_override})
endforeach()
vtk_object_factory_configure("${vtk_module_overrides}")
list(APPEND Module_SRCS
${CMAKE_CURRENT_BINARY_DIR}/${vtk-module}ObjectFactory.cxx)
vtk_object_factory_configure(
SOURCE_FILE vtk_object_factory_source
HEADER_FILE vtk_object_factory_header
EXPORT_MACRO "VTKFILTERSPARALLELFLOWPATHS_EXPORT")
vtk_module_library(vtkFiltersParallelFlowPaths ${Module_SRCS})
vtk_module_add_module(VTK::FiltersParallelFlowPaths
CLASSES ${classes}
SOURCES ${vtk_object_factory_source}
HEADERS ${vtk_object_factory_header})
vtk_module_test_data(
Data/AMR/Enzo/DD0010/,REGEX:.*
Data/combq.bin
Data/combxyz.bin)
add_subdirectory(Cxx)
include(vtkMPI)
set(TestPLagrangianParticleTracker_NUMPROCS 2)
set(TestPStream_NUMPROCS 2)
set(TestPStreamGeometry_NUMPROCS 4)
......@@ -12,5 +10,5 @@ vtk_add_test_mpi(vtkFiltersParallelFlowPathsCxxTests-MPI tests
TestPParticleTracers.cxx
TestPStreamAMR.cxx,TESTING_DATA,NO_VALID
)
vtk_test_mpi_executable(vtkFiltersParallelFlowPathsCxxTests-MPI tests
vtk_test_cxx_executable(vtkFiltersParallelFlowPathsCxxTests-MPI tests
TestVectorFieldSource.cxx)
vtk_module(vtkFiltersParallelFlowPaths
IMPLEMENTS
vtkFiltersFlowPaths
TEST_DEPENDS
vtkIOAMR
vtkTestingRendering
vtkRenderingParallel
vtkIOParallel
KIT
vtkParallel
DEPENDS
vtkCommonCore
vtkFiltersFlowPaths
PRIVATE_DEPENDS
vtkCommonDataModel
vtkCommonExecutionModel
vtkCommonMath
vtkCommonSystem
vtkFiltersAMR
vtkFiltersCore
vtkFiltersGeneral
vtkIOCore
vtkParallelCore
vtkParallelMPI
)
NAME
VTK::FiltersParallelFlowPaths
LIBRARY_NAME
vtkFiltersParallelFlowPaths
KIT
VTK::Parallel
IMPLEMENTS
VTK::FiltersFlowPaths
DEPENDS
VTK::CommonCore
VTK::FiltersFlowPaths
PRIVATE_DEPENDS
VTK::CommonDataModel
VTK::CommonExecutionModel
VTK::CommonMath
VTK::CommonSystem
VTK::FiltersAMR
VTK::FiltersCore
VTK::FiltersGeneral
VTK::IOCore
VTK::ParallelCore
VTK::ParallelMPI
TEST_DEPENDS
VTK::FiltersGeometry
VTK::FiltersModeling
VTK::FiltersSources
VTK::IOAMR
VTK::IOParallel
VTK::ImagingCore
VTK::ParallelMPI
VTK::RenderingParallel
VTK::TestingRendering
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment