find_center Interface

interface


Calls

interface~~find_center~~CallsGraph interface~find_center find_center proc~find_center find_center interface~find_center->proc~find_center

public module function find_center(this, separation, x_sign, get_density) result(center)

Arguments

Type IntentOptional Attributes Name
class(bnsbase), intent(in) :: this

bnsbase object owning this PROCEDURE

double precision, intent(in) :: separation

Separation between the stars

double precision, intent(in) :: x_sign

Sign of the x coordinates of the point inside the star

procedure(get_density_at_pos), optional :: get_density

Return Value double precision

Center of a star, as the point where the density is maximal.

Description

Finds the center of a star, as the point where the density is maximal.