positive_hydro Interface

interface


Called by

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

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

Arguments

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

C pointer pointing to a \(\texttt{LORENE}\) \(\texttt{Et_diffrot}\) 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 positive, 0 otherwise

Description

Interface to the \(\texttt{LORENE}\) method of class \(\texttt{Et_diffrot}\) 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 nonpositive, at the specified point; it returns 0 otherwise

FT 24.10.2021