Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Functions
BlackHoles.hpp File Reference
#include "shamunits/Constants.hpp"
+ Include dependency graph for BlackHoles.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class T >
shamphys::schwarzschild_radius (T M, T G, T c)
 
template<class T , class Tu >
shamphys::schwarzschild_radius (T M, const shamunits::UnitSystem< Tu > usys={})
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file BlackHoles.hpp.

Function Documentation

◆ schwarzschild_radius() [1/2]

template<class T , class Tu >
T shamphys::schwarzschild_radius ( M,
const shamunits::UnitSystem< Tu >  usys = {} 
)

Definition at line 28 of file BlackHoles.hpp.

◆ schwarzschild_radius() [2/2]

template<class T >
T shamphys::schwarzschild_radius ( M,
G,
c 
)
inline

Definition at line 23 of file BlackHoles.hpp.