on_grid Function

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

Returns whether a point (x, y, phi) lies on the computational grid

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