in_vessel Function

public function in_vessel(self, x, y, phi)

Returns whether a point (x, y, phi) lies inside the divertor vessel Not especially performant, would be better to check if the point is outside of flux limits rather than checking the full district routine

Type Bound

divertor_equilibrium_t

Arguments

Type IntentOptional Attributes Name
class(divertor_equilibrium_t), intent(in) :: self
real(kind=FP), intent(in) :: x

3D position (x and y normalized)

real(kind=FP), intent(in) :: y

3D position (x and y normalized)

real(kind=FP), intent(in) :: phi

3D position (x and y normalized)

Return Value logical


Calls

proc~~in_vessel~~CallsGraph proc~in_vessel divertor_equilibrium_t%in_vessel none~pt_inside closed_polygon2d_t%pt_inside proc~in_vessel->none~pt_inside proc~district divertor_equilibrium_t%district proc~in_vessel->proc~district proc~district_flux_defined divertor_equilibrium_t%district_flux_defined proc~district->proc~district_flux_defined proc~district_wall_defined divertor_equilibrium_t%district_wall_defined proc~district->proc~district_wall_defined proc~handle_error handle_error proc~district->proc~handle_error proc~district_flux_defined->proc~handle_error check_privflux_regions check_privflux_regions proc~district_flux_defined->check_privflux_regions proc~on_grid divertor_equilibrium_t%on_grid proc~district_flux_defined->proc~on_grid proc~rho divertor_equilibrium_t%rho proc~district_flux_defined->proc~rho proc~district_wall_defined->none~pt_inside proc~district_wall_defined->check_privflux_regions proc~district_wall_defined->proc~rho none~handle_error error_handler_t%handle_error proc~handle_error->none~handle_error proc~on_grid->none~pt_inside psi psi proc~rho->psi