deriv_gcc_nonseg_m Module Function

pure elemental module function deriv_gcc_nonseg_m(self, state) result(suction_derivative)

Arguments

Type IntentOptional Attributes Name
class(type_gcc_non_segregation_m), intent(in) :: self
type(type_state), intent(in) :: state

Return Value real(kind=real64)


Called by

proc~~deriv_gcc_nonseg_m~~CalledByGraph proc~deriv_gcc_nonseg_m deriv_gcc_nonseg_m interface~deriv_gcc_nonseg_m type_gcc_non_segregation_m%deriv_gcc_nonseg_m interface~deriv_gcc_nonseg_m->proc~deriv_gcc_nonseg_m

Source Code

    module pure elemental function deriv_gcc_nonseg_m(self, state) result(suction_derivative)
        implicit none
        class(type_gcc_non_segregation_m), intent(in) :: self
        type(type_state), intent(in) :: state
        real(real64) :: suction_derivative

        if (state%temperature <= self%Tf) then
            suction_derivative = -self%Lf / ((state%temperature + self%TtoK) * self%g)
        else
            suction_derivative = 0.0d0
        end if
    end function deriv_gcc_nonseg_m