Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Functions
Planets.hpp File Reference
#include "shambackends/sycl.hpp"
#include "shamunits/Constants.hpp"
#include "shamunits/UnitSystem.hpp"
+ Include dependency graph for Planets.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::hill_radius (T R, T m, T M)
 
template<class T >
shamphys::keplerian_speed (T G, T M, T R)
 
template<class T , class Tu >
shamphys::keplerian_speed (T M, T R, 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 Planets.hpp.

Function Documentation

◆ hill_radius()

template<class T >
T shamphys::hill_radius ( R,
m,
M 
)

Definition at line 25 of file Planets.hpp.

◆ keplerian_speed() [1/2]

template<class T >
T shamphys::keplerian_speed ( G,
M,
R 
)

Definition at line 30 of file Planets.hpp.

◆ keplerian_speed() [2/2]

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

Definition at line 35 of file Planets.hpp.