Go to the documentation of this file.
74 void find_bin (
double,
double, std::vector<int> &);
104 #endif // CAT_SPLIT_H
Class for reading code options.
Definition: option_class.hpp:24
Class for file input and output.
Definition: fileio_class.hpp:33
Class for splitting galaxy catalogues.
Definition: cat_split.hpp:30
Fileio fileio
Include Fileio class.
Definition: cat_split.hpp:85
void open_files()
This method opens all of the split files.
Definition: cat_split.cpp:56
Class containing basic functions used in generic codes.
Definition: comp.hpp:18
void read_options(int, char *[])
This method calls Option to read the code options from the provided arguments.
Definition: cat_split.cpp:7
double ra_bin_size
Range in right ascension covered by each split file.
Definition: cat_split.hpp:94
double dec_bin_size
Range in declination covered by each split file.
Definition: cat_split.hpp:97
void set_up()
This method sets up the of split files.
Definition: cat_split.cpp:13
Comp comp
Include Comp class.
Definition: cat_split.hpp:35
std::vector< std::ofstream * > file_list
Vector of output file pointers.
Definition: cat_split.hpp:100
void check_pos(double, double)
This method checks the ra and dec of a given object.
Definition: cat_split.cpp:70
int number_of_files
Number of files to which split data will be written.
Definition: cat_split.hpp:91
void close_files()
This method closes all of the split files.
Definition: cat_split.cpp:65
Option opt
Include Option class.
Definition: cat_split.hpp:88
void find_bin(double, double, std::vector< int > &)
This method determines to which split file a given galaxy should be written.
Definition: cat_split.cpp:82
void read_ascii()
This method reads the galaxies from the input catalogues and writes them to the corresponding split f...
Definition: cat_split.cpp:100