eulerian_obj_AssignReal0D Subroutine

private impure subroutine eulerian_obj_AssignReal0D(this, in)

Performs assignment for Eulerian_obj.

Type Bound

eulerian_obj_base

Arguments

Type IntentOptional Attributes Name
class(eulerian_obj_base), intent(inout) :: this

An Eulerian object

real(kind=wp), intent(in) :: in

Object to assign


Source Code

    impure subroutine eulerian_obj_AssignReal0D(this,in)
      !> Performs assignment for Eulerian_obj.
      implicit none
      class(eulerian_obj_base), intent(inout) :: this                          !! An Eulerian object
      real(wp),                 intent(in)    :: in                            !! Object to assign

      select type (this)
      type is (eulerian_obj_r)
          this%cell = in

      class default
        call this%parallel%Stop("Error assigning Eulerian object")
      end select

      return
    end subroutine eulerian_obj_AssignReal0D