group_particles
Loading...
Searching...
No Matches
Public Member Functions | List of all members
y_prof::grp_store_P Class Reference

stores P200c for each group More...

Inheritance diagram for y_prof::grp_store_P:
Inheritance graph
[legend]

Public Member Functions

 grp_store_P (std::vector< grp_P_t > &data)
 
- Public Member Functions inherited from Callback< AF >
virtual bool grp_chunk (size_t chunk_idx, std::string &fname) const=0
 Where to find the group files.
 
virtual bool prt_chunk (size_t chunk_idx, std::string &fname) const=0
 Where to find the particle files.
 
virtual std::string grp_name () const=0
 Where to find the group fields in the hdf5 file.
 
virtual std::string prt_name () const=0
 Where to find the particle fields in the hdf5 file.
 
virtual void read_grp_meta_init (std::shared_ptr< H5::H5File > fptr)
 Allows the user to read meta-data from the 0th group chunk.
 
virtual void read_prt_meta_init (std::shared_ptr< H5::H5File > fptr)
 Allows the user to read meta-data from the 0th particle chunk.
 
virtual void read_grp_meta (size_t chunk_idx, std::shared_ptr< H5::H5File > fptr, size_t &Ngroups) const=0
 Inform the code how many groups there are in a group chunk.
 
virtual void read_prt_meta (size_t chunk_idx, std::shared_ptr< H5::H5File > fptr, coord_t &Bsize, size_t &Nparts) const=0
 Inform the code how large the box is and how many particles there are in a particle chunk.
 
virtual bool grp_select (const GrpProperties &grp) const
 Inform the code whether a group should be considered.
 
virtual void grp_action (const GrpProperties &grp)=0
 Action to take for each group for which grp_select returned true.
 
virtual coord_t grp_radius (const GrpProperties &grp) const=0
 Inform the code how large this group is.
 
virtual void prt_action (size_t grp_idx, const GrpProperties &grp, const PrtProperties &prt, coord_t Rsq)=0
 Action to take for each particle that falls within grp_radius from a group.
 
virtual coord_t prt_coord_rescale () const
 Rescaling of particle coordinates.
 
virtual void prt_modify (PrtProperties &prt)
 Modifications to particle properties.
 
- Public Member Functions inherited from Callback< AFields >
virtual bool grp_chunk (size_t chunk_idx, std::string &fname) const =0
 Where to find the group files.
 
virtual bool prt_chunk (size_t chunk_idx, std::string &fname) const =0
 Where to find the particle files.
 
virtual std::string grp_name () const =0
 Where to find the group fields in the hdf5 file.
 
virtual std::string prt_name () const =0
 Where to find the particle fields in the hdf5 file.
 
virtual void read_grp_meta_init (std::shared_ptr< H5::H5File > fptr)
 Allows the user to read meta-data from the 0th group chunk.
 
virtual void read_grp_meta (size_t chunk_idx, std::shared_ptr< H5::H5File > fptr, size_t &Ngroups) const =0
 Inform the code how many groups there are in a group chunk.
 
virtual void read_prt_meta (size_t chunk_idx, std::shared_ptr< H5::H5File > fptr, coord_t &Bsize, size_t &Nparts) const =0
 Inform the code how large the box is and how many particles there are in a particle chunk.
 
virtual bool grp_select (const GrpProperties &grp) const
 Inform the code whether a group should be considered.
 
virtual coord_t grp_radius (const GrpProperties &grp) const =0
 Inform the code how large this group is.
 
virtual void prt_action (size_t grp_idx, const GrpProperties &grp, const PrtProperties &prt, coord_t Rsq)=0
 Action to take for each particle that falls within grp_radius from a group.
 
virtual coord_t prt_coord_rescale () const
 Rescaling of particle coordinates.
 
virtual void prt_modify (PrtProperties &prt)
 Modifications to particle properties.
 
- Public Member Functions inherited from CallbackUtils::grp_action::StoreGrpHomogeneous< AF, grp_P_t >
 StoreGrpHomogeneous (std::vector< grp_P_t > &data_)
 

Additional Inherited Members

- Protected Attributes inherited from CallbackUtils::meta_init::IllustrisCosmology< AF >
double HubbleParam
 Hubble parameter.
 
double Omega0
 matter density
 
double OmegaLambda
 dark energy density
 
double OmegaBaryon
 baryonic density
 
double Redshift
 redshift
 
double Time
 scale factor
 

Detailed Description

stores P200c for each group

Constructor & Destructor Documentation

◆ grp_store_P()

y_prof::grp_store_P::grp_store_P ( std::vector< grp_P_t > &  data)
inline
Parameters
dataa zero-length vector into which the P200c values will be written

The documentation for this class was generated from the following file: