positive_hydro Interface

interface


Called by

interface~~positive_hydro~~CalledByGraph interface~positive_hydro positive_hydro proc~is_hydro_positive is_hydro_positive proc~is_hydro_positive->interface~positive_hydro interface~is_hydro_positive is_hydro_positive interface~is_hydro_positive->proc~is_hydro_positive

private function positive_hydro(optr, x, y, z) result(res) bind(C, NAME= "is_hydro_positive")

Arguments

Type IntentOptional Attributes Name
type(C_PTR), intent(in), VALUE :: optr

C pointer pointing to a \(\texttt{LORENE}\) \(\texttt{Bin_NS}\) object

real(kind=C_DOUBLE), intent(in), VALUE :: x

coordinate of the desired point

real(kind=C_DOUBLE), intent(in), VALUE :: y

coordinate of the desired point

real(kind=C_DOUBLE), intent(in), VALUE :: z

coordinate of the desired point

Return Value integer(kind=C_INT)

1 if the energy density or the specific energy or the pressure are positve, 0 otherwise

Description

Interface to the \(\texttt{LORENE}\) method of class \(\texttt{Bin_NS}\) with the same name, that returns 1 if the energy density is positive, and if the specific energy is positive, and if the pressure is positive, at the specified point; it returns 0 otherwise

FT 12.03.2021