|
| double | utilities::maxwellian_cdf (double x, double sigma) |
| |
| double | utilities::maxwellian_pdf (double x, double sigma) |
| |
| double | utilities::R_Schwarzschild (double Mass) |
| |
| template<typename T > |
| const std::string | utilities::n2s (T val, const char *file_input, const int line_input, const unsigned int precision=6) |
| |
| double | utilities::roche_lobe_Eg (double Mass_primary, double Mass_secondary, double a) |
| |
| double | utilities::R_Alfven (Star *s, double dMdt, bool get0=false) |
| |
| double | utilities::Hfrac (Star *s) |
| |
| double | utilities::dMdt_Eddington_accretion (Star *donor, Star *accretor, double eddfact=1.0) |
| |
| static double | utilities::omega_crit (double Mass, double Rpolar) |
| |
| void | utilities::hardwait () |
| |
| template<typename T , typename... Tail> |
| void | utilities::hardwait (T head, Tail... tail) |
| |
| void | utilities::wait () |
| |
| template<typename T , typename... Tail> |
| void | utilities::wait (_UNUSED T head, _UNUSED Tail... tail) |
| |
| std::string | utilities::get_name (Star *s) |
| |
| long | utilities::get_ID (Star *s) |
| |
| std::string | utilities::get_name (Binstar *b) |
| |
| long | utilities::get_ID (Binstar *b) |
| |
| double | utilities::get_current_time (Star *s) |
| |
| double | utilities::get_current_time (Binstar *b) |
| |
| template<typename T > |
| void | utilities::_log_print_core (std::stringstream &ss, T t) |
| |
| template<typename T , typename... ListP> |
| void | utilities::_log_print_core (std::stringstream &ss, T t, ListP... args) |
| |
| template<class System , typename... ListP> |
| std::string | utilities::common_log_print (const std::string &label, System *system, ListP... args) |
| |
| template<class System , typename... ListP> |
| std::string | utilities::common_log_print (const std::string &label, System *system) |
| |
| template<typename... ListP> |
| std::string | utilities::log_print (const std::string &label, Star *star, ListP... args) |
| |
| template<typename... ListP> |
| std::string | utilities::log_print (const std::string &label, Binstar *binstar, ListP... args) |
| |
| std::string | utilities::log_star_info (Star *s, bool oldstep=false) |
| |
| unsigned long | utilities::gen_rseed () |
| |
| unsigned long | utilities::gen_rseed (std::random_device &rd) |
| |
| const std::string | utilities::random_keygen (std::mt19937_64 *mtrand) |
| |
| std::vector< std::string > | utilities::split (const std::string &s, char delimiter) |
| |
| template<class T > |
| bool | utilities::isifstream () |
| |
| template<> |
| bool | utilities::isifstream< std::ifstream > () |
| |
| template<typename T > |
| size_t | utilities::binary_search (T *array, const size_t left, const size_t right, const T value) |
| |
| template<typename T > |
| bool | utilities::string_is_number (std::string str) |
| |
| double | utilities::kepler (const double &ecc, const double &m, const double tol=1e-6, const int maxit=50) |
| |
| template<typename T > |
| const T | utilities::s2n (std::string &str, const char *file_input, const int line_input) |
| |
| template<typename T > |
| void | utilities::_openfile (T &in, const std::string f, const char *file_input, const int line_input) |
| |
| bool | utilities::wayToSort (int i, int j) |
| |
| template<typename T > |
| T | utilities::dirname2n (std::string str, const char *file_input, const int line_input) |
| |
| template<typename T > |
| void | utilities::print_vector (const std::vector< T > &v) |
| |
| std::string | utilities::gen_filename (const std::string &_folder, const std::string &_fname, bool print_threads=true) |
| |
| std::string | utilities::get_absolute_SEVN_path () |
| |
| int | utilities::find_line (const double &x1, const double &x2, const double &y1, const double &y2, double &slope, double &intercept) |
| |
| template<typename T > |
| double | utilities::rel_difference (T val1, T val2) |
| |
| void | utilities::swap_stars (Star *&s1, Star *&s2) |
| |
| std::string | utilities::trim (const std::string &s) |
| |
| template<typename T , typename Iter > |
| bool | utilities::isinlist (T element, Iter it, Iter end) |
| |
| std::string | utilities::make_pfile_str (const double plife, const size_t Phase, const unsigned int min_precision=6) |
| |
| template<typename T > |
| T | utilities::interpolate_1D (T xp, std::vector< T > &x_interp, std::vector< T > &y_interp, bool equispaced_interval=false, bool ext_raise=false) |
| |
| std::string | utilities::get_subpath (std::string path, std::string split_string, bool include_split_string=true) |
| |
| template<typename T > |
| void | utilities::transpose (std::vector< std::vector< T > > &MatrixT, std::vector< std::vector< T > > &Matrix) |
| |
| template<typename T > |
| int | utilities::findInVector (const std::vector< T > &vecOfElements, const T &element) |
| |
| template<typename Key , typename Value > |
| std::map< Value, Key > | utilities::flip_map (const std::map< Key, Value > &original_map) |
| |
| bool | utilities::areEqual (double x, double y) |
| |
| double | utilities::smallestSignificativeStep (double x) |
| |
| template<typename T , typename... Args> |
| std::unique_ptr< T > | utilities::make_unique (Args &&... args) |
| |