Finds the surface of a star, using [[bnsbase::find_radius]] along many directions.
FT 18.02.2022
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(bnsbase), | intent(in) | :: | this |
bnsbase object owning this PROCEDURE |
||
double precision, | intent(in), | DIMENSION(3) | :: | center |
Center point relative to which the radius is measured |
|
integer, | intent(in) | :: | n_theta |
Number of points in for the colatitude |
||
integer, | intent(in) | :: | n_phi |
Number of points in for the azimuth |
||
double precision, | intent(out), | DIMENSION(:,:,:), ALLOCATABLE | :: | surface |
Array storing the coordinates of the points on the surface |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
double precision, | private, | DIMENSION(3) | :: | direction_vector | |||
integer, | private | :: | i | ||||
integer, | private | :: | j | ||||
double precision, | private | :: | phi | ||||
double precision, | private | :: | radius | ||||
double precision, | private | :: | theta |