37 #ifndef __CHAINMESHCAT__
38 #define __CHAINMESHCAT__
78 ChainMesh_Catalogue (
const double cell_size, std::shared_ptr<catalogue::Catalogue> cat,
const double rmax,
const double rmin=-1.) :
ChainMesh(cell_size, 3)
80 set_par(cell_size, cat, rmax, rmin);
95 void set_par (
const double cell_size, std::shared_ptr<catalogue::Catalogue> cat,
const double rmax,
const double rmin=-1.);
101 void get_order (std::vector<int> &order)
const;
110 std::vector<std::shared_ptr<catalogue::Object>>
object_list (std::shared_ptr<catalogue::Object>
object,
const int ii=-1);
The class ChainMesh_Catalogue.
std::shared_ptr< catalogue::Catalogue > catalogue() const
get the internal variable m_catalogue
std::vector< std::shared_ptr< catalogue::Object > > object_list(std::shared_ptr< catalogue::Object > object, const int ii=-1)
get list of objects close to the input
std::shared_ptr< catalogue::Catalogue > m_catalogue
pointer to catalogue used for the chain-mesh
~ChainMesh_Catalogue()=default
default destructor
void set_par(const double cell_size, std::shared_ptr< catalogue::Catalogue > cat, const double rmax, const double rmin=-1.)
function that set parameters for the chain-mesh
ChainMesh_Catalogue(const double cell_size, std::shared_ptr< catalogue::Catalogue > cat, const double rmax, const double rmin=-1.)
constructor
ChainMesh_Catalogue()=default
default constructor _Catalogue
void get_order(std::vector< int > &order) const
order the catalogue according to the input vector
The global namespace of the CosmoBolognaLib