Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Functions
collapse.hpp File Reference

Functions for gravitational collapse calculations. More...

#include "shambackends/math.hpp"
#include "shammath/matrix.hpp"
#include "shamunits/Constants.hpp"
#include "shamunits/UnitSystem.hpp"
+ Include dependency graph for collapse.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::free_fall_time (T rho, T G)
 
template<class T >
shamphys::free_fall_time (T rho, const shamunits::UnitSystem< T > usys={})
 

Detailed Description

Functions for gravitational collapse calculations.

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 collapse.hpp.

Function Documentation

◆ free_fall_time() [1/2]

template<class T >
T shamphys::free_fall_time ( rho,
const shamunits::UnitSystem< T >  usys = {} 
)

Definition at line 31 of file collapse.hpp.

◆ free_fall_time() [2/2]

template<class T >
T shamphys::free_fall_time ( rho,
G 
)

Definition at line 26 of file collapse.hpp.