|
ParaView
|
find halos within a cosmology data file More...
#include <vtkPLANLHaloFinder.h>
Inherits vtkUnstructuredGridAlgorithm.
Public Types | |
| enum | { AVERAGE = 0, CENTER_OF_MASS = 1, MBP = 2, MCP = 3, NUMBER_OF_CENTER_FINDING_METHODS } |
| typedef vtkUnstructuredGridAlgorithm | Superclass |
Public Member Functions | |
| virtual const char * | GetClassName () |
| virtual int | IsA (const char *type) |
| void | PrintSelf (ostream &os, vtkIndent indent) |
| virtual vtkMultiProcessController * | GetController () |
| Set the communicator object for interprocess communication. More... | |
| virtual void | SetController (vtkMultiProcessController *) |
| Set the communicator object for interprocess communication. More... | |
| virtual void | SetNP (int) |
| Specify the number of seeded particles in one dimension (total = np^3) (default 256) More... | |
| virtual int | GetNP () |
| Specify the number of seeded particles in one dimension (total = np^3) (default 256) More... | |
| virtual void | SetRL (float) |
| Specify the physical box dimensions size (rL) (default 100.0) More... | |
| virtual float | GetRL () |
| Specify the physical box dimensions size (rL) (default 100.0) More... | |
| virtual void | SetOverlap (float) |
| Specify the ghost cell spacing (in rL units) (edge boundary of processor box) (default 5) More... | |
| virtual float | GetOverlap () |
| Specify the ghost cell spacing (in rL units) (edge boundary of processor box) (default 5) More... | |
| virtual void | SetPMin (int) |
| Specify the minimum number of particles for a halo (pmin) (default 100) More... | |
| virtual int | GetPMin () |
| Specify the minimum number of particles for a halo (pmin) (default 100) More... | |
| virtual void | SetBB (float) |
| Specify the linking length (bb) (default .2) More... | |
| virtual float | GetBB () |
| Specify the linking length (bb) (default .2) More... | |
| virtual void | SetComputeSOD (int) |
| Turn on calculation of SOD halos (default off) More... | |
| virtual int | GetComputeSOD () |
| Turn on calculation of SOD halos (default off) More... | |
| virtual void | SetCenterFindingMethod (int) |
| Specify the FOF center to use in SOD calculations (0 = default, center of mass, 1 = average, 2 = MBP, 3 = MCP) More... | |
| virtual int | GetCenterFindingMethod () |
| Specify the FOF center to use in SOD calculations (0 = default, center of mass, 1 = average, 2 = MBP, 3 = MCP) More... | |
| virtual void | SetRhoC (float) |
| Specify rho_c (critical density) (default 2.77536627e11) More... | |
| virtual float | GetRhoC () |
| Specify rho_c (critical density) (default 2.77536627e11) More... | |
| virtual void | SetSODMass (float) |
| Specify the initial SOD mass (default 1.0e14) More... | |
| virtual float | GetSODMass () |
| Specify the initial SOD mass (default 1.0e14) More... | |
| virtual void | SetMinRadiusFactor (float) |
| Specify the minimum radius factor (default 0.5) More... | |
| virtual float | GetMinRadiusFactor () |
| Specify the minimum radius factor (default 0.5) More... | |
| virtual void | SetMaxRadiusFactor (float) |
| Specify the maximum radius factor (default 2.0) More... | |
| virtual float | GetMaxRadiusFactor () |
| Specify the maximum radius factor (default 2.0) More... | |
| virtual void | SetSODBins (int) |
| Specify the number of bins for SOD finding (default 20) More... | |
| virtual int | GetSODBins () |
| Specify the number of bins for SOD finding (default 20) More... | |
| virtual void | SetMinFOFSize (int) |
| Specify the minimum FOF size for an SOD halo (default 1000) More... | |
| virtual int | GetMinFOFSize () |
| Specify the minimum FOF size for an SOD halo (default 1000) More... | |
| virtual void | SetMinFOFMass (float) |
| Specify the minimum FOF mass for an SOD halo (default 5.0e12) More... | |
| virtual float | GetMinFOFMass () |
| Specify the minimum FOF mass for an SOD halo (default 5.0e12) More... | |
Static Public Member Functions | |
| static vtkPLANLHaloFinder * | New () |
| static int | IsTypeOf (const char *type) |
| static vtkPLANLHaloFinder * | SafeDownCast (vtkObject *o) |
Public Attributes | |
| enum vtkPLANLHaloFinder:: { ... } | CenterDetectionAlgorithm |
Protected Member Functions | |
| vtkPLANLHaloFinder () | |
| ~vtkPLANLHaloFinder () | |
| virtual int | RequestData (vtkInformation *, vtkInformationVector **, vtkInformationVector *) |
| bool | CheckOutputIntegrity (vtkUnstructuredGrid *outputParticles) |
| Checks the integrid of the output particles. More... | |
| void | ComputeFOFHalos (vtkUnstructuredGrid *particles, vtkUnstructuredGrid *haloCenters) |
| Computes the FOF halos based on the user-supplied linking length and PMin parameters. More... | |
| void | ComputeSODHalos (vtkUnstructuredGrid *particles, vtkUnstructuredGrid *haloCenters) |
| Given pre-computed FOF halos, this method computes the SOD halos. More... | |
| void | VectorizeData (vtkUnstructuredGrid *particles) |
| Vectorize the data since the halo-finder expects the data as different vectors. More... | |
| void | ComputeFOFHaloProperties () |
| Computes FOF halo properties, i.e., fofMass, fofXPos, etc. More... | |
| void | InitializeHaloCenters (vtkUnstructuredGrid *haloCenters, unsigned int N) |
| Initializes the haloCenter output (output-2 of the filter) s.t. More... | |
| void | MarkHaloParticlesAndGetCenter (const unsigned int halo, const int internalHaloIdx, double center[3], vtkUnstructuredGrid *particles) |
| Marks the halos of the given halo and computes the center using the prescribed center-finding method. More... | |
| void | ResetHaloFinderInternals () |
| Resets halo-finder internal data-structures. More... | |
| void | InitializeSODHaloArrays (vtkUnstructuredGrid *haloCenters) |
| Initialize the SOD haloArrays. More... | |
Protected Attributes | |
| vtkMultiProcessController * | Controller |
| int | NP |
| float | RL |
| float | Overlap |
| int | PMin |
| float | BB |
| int | CenterFindingMethod |
| int | ComputeSOD |
| float | RhoC |
| float | SODMass |
| float | MinRadiusFactor |
| float | MaxRadiusFactor |
| int | SODBins |
| int | MinFOFSize |
| float | MinFOFMass |
| HaloFinderInternals::ParticleData * | Particles |
| HaloFinderInternals::HaloData * | Halos |
| cosmotk::CosmoHaloFinderP * | HaloFinder |
find halos within a cosmology data file
vtkPLANLHaloFinder is a filter object that operates on the unstructured grid of all particles and assigns each particle a halo id.
Definition at line 96 of file vtkPLANLHaloFinder.h.
| typedef vtkUnstructuredGridAlgorithm vtkPLANLHaloFinder::Superclass |
Definition at line 110 of file vtkPLANLHaloFinder.h.
| anonymous enum |
| Enumerator | |
|---|---|
| AVERAGE | |
| CENTER_OF_MASS | |
| MBP | |
| MCP | |
| NUMBER_OF_CENTER_FINDING_METHODS | |
Definition at line 99 of file vtkPLANLHaloFinder.h.
|
protected |
|
protected |
|
static |
|
virtual |
|
static |
|
virtual |
|
static |
| void vtkPLANLHaloFinder::PrintSelf | ( | ostream & | os, |
| vtkIndent | indent | ||
| ) |
|
virtual |
Set the communicator object for interprocess communication.
|
virtual |
Set the communicator object for interprocess communication.
|
virtual |
Specify the number of seeded particles in one dimension (total = np^3) (default 256)
|
virtual |
Specify the number of seeded particles in one dimension (total = np^3) (default 256)
|
virtual |
Specify the physical box dimensions size (rL) (default 100.0)
|
virtual |
Specify the physical box dimensions size (rL) (default 100.0)
|
virtual |
Specify the ghost cell spacing (in rL units) (edge boundary of processor box) (default 5)
|
virtual |
Specify the ghost cell spacing (in rL units) (edge boundary of processor box) (default 5)
|
virtual |
Specify the minimum number of particles for a halo (pmin) (default 100)
|
virtual |
Specify the minimum number of particles for a halo (pmin) (default 100)
|
virtual |
Specify the linking length (bb) (default .2)
|
virtual |
Specify the linking length (bb) (default .2)
|
virtual |
Turn on calculation of SOD halos (default off)
|
virtual |
Turn on calculation of SOD halos (default off)
|
virtual |
Specify the FOF center to use in SOD calculations (0 = default, center of mass, 1 = average, 2 = MBP, 3 = MCP)
|
virtual |
Specify the FOF center to use in SOD calculations (0 = default, center of mass, 1 = average, 2 = MBP, 3 = MCP)
|
virtual |
Specify rho_c (critical density) (default 2.77536627e11)
|
virtual |
Specify rho_c (critical density) (default 2.77536627e11)
|
virtual |
Specify the initial SOD mass (default 1.0e14)
|
virtual |
Specify the initial SOD mass (default 1.0e14)
|
virtual |
Specify the minimum radius factor (default 0.5)
|
virtual |
Specify the minimum radius factor (default 0.5)
|
virtual |
Specify the maximum radius factor (default 2.0)
|
virtual |
Specify the maximum radius factor (default 2.0)
|
virtual |
Specify the number of bins for SOD finding (default 20)
|
virtual |
Specify the number of bins for SOD finding (default 20)
|
virtual |
Specify the minimum FOF size for an SOD halo (default 1000)
|
virtual |
Specify the minimum FOF size for an SOD halo (default 1000)
|
virtual |
Specify the minimum FOF mass for an SOD halo (default 5.0e12)
|
virtual |
Specify the minimum FOF mass for an SOD halo (default 5.0e12)
|
protectedvirtual |
|
protected |
Checks the integrid of the output particles.
Primarily the method ensures that required arrays used in computation are available.
|
protected |
Computes the FOF halos based on the user-supplied linking length and PMin parameters.
|
protected |
Given pre-computed FOF halos, this method computes the SOD halos.
|
protected |
Vectorize the data since the halo-finder expects the data as different vectors.
|
protected |
Computes FOF halo properties, i.e., fofMass, fofXPos, etc.
|
protected |
Initializes the haloCenter output (output-2 of the filter) s.t.
the data-structure is ready to store all FOF properties for each of the N halos.
|
protected |
Marks the halos of the given halo and computes the center using the prescribed center-finding method.
|
protected |
Resets halo-finder internal data-structures.
|
protected |
Initialize the SOD haloArrays.
| enum { ... } vtkPLANLHaloFinder::CenterDetectionAlgorithm |
|
protected |
Definition at line 306 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 308 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 309 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 310 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 311 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 312 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 314 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 315 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 317 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 318 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 319 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 320 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 321 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 322 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 323 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 325 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 326 of file vtkPLANLHaloFinder.h.
|
protected |
Definition at line 327 of file vtkPLANLHaloFinder.h.
1.8.12