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