Class nstar_rot::polytrope_solve (o2scl)ΒΆ

O2scl_eos : Class List

class o2scl::nstar_rot::polytrope_solve

Subclass of nstar_rot which specifies the function to invert a polytropic EOS.

Public Functions

polytrope_solve(double Gamma_P, double ee)

Create a function object with specified polytropic index and ?

double operator()(double rho0)

The function.

Protected Attributes

double _Gamma_P

The polytropic index.

double _ee

The energy density.