SPH
|
Go to the source code of this file.
Classes | |
struct | Stellar::Star |
Namespaces | |
Stellar | |
Functions | |
Lut< Float > | Stellar::solveLaneEmden (const Float n, const Float dz=1.e-3_f, const Float z_max=1.e3_f) |
Solves the Lane-Emden equation given the polytrope index. More... | |
Star | Stellar::polytropicStar (const Float radius, const Float mass, const Float n) |
Computes radial profiles of state quantities for a polytropic star. More... | |
Storage | Stellar::generateIc (const IDistribution &distribution, const Size particleCnt, const Float radius, const Float mass, const Float n) |
Creates a spherical polytropic star. More... | |