Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=r8), | intent(in) | :: | viscosity_value | The numerical value of the viscosity which this type is meant to return. |
The viscosity object being created.
pure function constructor(viscosity_value) result(this)
real(r8), intent(in) :: viscosity_value
!! The numerical value of the viscosity which this type is meant
!! to return.
type(newtonian_viscosity) :: this
!! The viscosity object being created.
this%viscosity_value = viscosity_value
end function constructor