find_surface Module Procedure

module procedure find_surface module subroutine find_surface(this, center, n_theta, n_phi, surface)

Uses

  • proc~~find_surface~~UsesGraph proc~find_surface find_surface constants constants proc~find_surface->constants module~utility utility proc~find_surface->module~utility module~utility->constants matrix matrix module~utility->matrix

Finds the surface of a star, using [[bnsbase::find_radius]] along many directions.

FT 18.02.2022


Arguments

Type IntentOptional 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


Calls

proc~~find_surface~~CallsGraph proc~find_surface find_surface proc~cartesian_from_spherical cartesian_from_spherical proc~find_surface->proc~cartesian_from_spherical

Called by

proc~~find_surface~~CalledByGraph proc~find_surface find_surface interface~find_surface find_surface interface~find_surface->proc~find_surface

Contents


Variables

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