15 #ifndef vtkPANLSubhaloFinder_h 16 #define vtkPANLSubhaloFinder_h 39 #include "vtkPVVTKExtensionsCosmoToolsModule.h" 40 #include "vtkPassInputTypeAlgorithm.h" 42 class vtkMultiProcessController;
49 void PrintSelf(ostream& os, vtkIndent indent);
54 HALOS_LARGER_THAN_THRESHOLD = 1,
55 ONLY_SELECTED_HALOS = 2
67 vtkSetClampMacro(Mode,
int, ALL_HALOS, ONLY_SELECTED_HALOS) vtkGetMacro(Mode,
int)
76 vtkSetMacro(SizeThreshold, vtkIdType) vtkGetMacro(SizeThreshold, vtkIdType)
83 vtkIdType GetHaloToProcess(vtkIdType idx);
88 void AddHaloToProcess(vtkIdType haloId);
93 void SetHaloToProcess(vtkIdType idx, vtkIdType haloId);
98 void SetNumberOfHalosToProcess(vtkIdType num);
103 vtkIdType GetNumberOfHalosToProcess();
108 void ClearHalosToProcess();
115 vtkSetMacro(RL,
double) vtkGetMacro(RL,
double)
124 vtkSetMacro(DeadSize,
double) vtkGetMacro(DeadSize,
double)
133 vtkSetMacro(ParticleMass,
float) vtkGetMacro(ParticleMass,
float)
142 vtkSetMacro(BB,
double) vtkGetMacro(BB,
double)
151 vtkSetClampMacro(AlphaFactor,
double, 0.0, 1.0) vtkGetMacro(AlphaFactor,
double)
161 vtkSetClampMacro(BetaFactor,
double, 0.0, 1.0) vtkGetMacro(BetaFactor,
double)
169 vtkSetMacro(MinCandidateSize,
int) vtkGetMacro(MinCandidateSize,
int)
177 vtkSetMacro(NumSPHNeighbors,
int) vtkGetMacro(NumSPHNeighbors,
int)
186 vtkSetMacro(NumNeighbors,
int) vtkGetMacro(NumNeighbors,
int)
190 virtual ~vtkPANLSubhaloFinder();
192 int FillInputPortInformation(
int port, vtkInformation* info);
193 virtual
int RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
194 virtual
int RequestData(vtkInformation*, vtkInformationVector**, vtkInformationVector*);
202 int MinCandidateSize;
207 vtkIdType SizeThreshold;
209 vtkNew<vtkIdList> HalosToProcess;
210 vtkMultiProcessController* Controller;
213 vtkInternals* Internal;
216 vtkPANLSubhaloFinder(const vtkPANLSubhaloFinder&) VTK_DELETE_FUNCTION;
217 void operator=(const vtkPANLSubhaloFinder&) VTK_DELETE_FUNCTION;
219 void ExecuteSubHaloFinder(vtkUnstructuredGrid* input, vtkUnstructuredGrid* allParticles,
220 vtkUnstructuredGrid* subFofProperties);
This filter takes the output of the HACC halo finder and runs the subhalo finder on a user-specified ...