Method

NumCosmoMathTriVecget_spherical_coord

Declaration [src]

void
ncm_trivec_get_spherical_coord (
  NcmTriVec* v,
  gdouble* r,
  gdouble* theta,
  gdouble* phi
)

Description [src]

Computes the spherical coordinates of a NcmTriVec.

Parameters

r

Type: gdouble*

The radius.

The argument will be set by the function.
theta

Type: gdouble*

The polar angle.

The argument will be set by the function.
phi

Type: gdouble*

The azimuthal angle.

The argument will be set by the function.