Performs multiplication of real Eulerian objects by real scalar.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(eulerian_obj_base), | intent(in) | :: | this |
An Eulerian object |
||
| real(kind=wp), | intent(in) | :: | in |
An Eulerian object |
Result
impure function eulerian_obj_MulReal0D(this,in) result (res) !> Performs multiplication of real Eulerian objects by real scalar. implicit none class(eulerian_obj_base), intent(in) :: this !! An Eulerian object real(wp), intent(in) :: in !! An Eulerian object type(eulerian_obj_r) :: res !! Result call res%Initialize(this%name,this%block,this%parallel,this%staggering) select type (this) type is (eulerian_obj_r) res%cell = this%cell*in class default call this%parallel%Stop("Error performing multiplication of Eulerian object") end select return end function eulerian_obj_MulReal0D