grid_implementation.f90 Source File


This file depends on

sourcefile~~grid_implementation.f90~~EfferentGraph sourcefile~grid_implementation.f90 grid_implementation.f90 sourcefile~grid_interface.f90 grid_interface.F90 sourcefile~grid_implementation.f90->sourcefile~grid_interface.f90 sourcefile~assertions_interface.f90 assertions_interface.F90 sourcefile~grid_implementation.f90->sourcefile~assertions_interface.f90 sourcefile~object_interface.f90 object_interface.f90 sourcefile~grid_interface.f90->sourcefile~object_interface.f90 sourcefile~units_interface.f90 units_interface.F90 sourcefile~grid_interface.f90->sourcefile~units_interface.f90 sourcefile~units_interface.f90->sourcefile~object_interface.f90

Contents


Source Code

!
!     (c) 2019-2020 Guide Star Engineering, LLC
!     This Software was developed for the US Nuclear Regulatory Commission (US NRC) under contract
!     "Multi-Dimensional Physics Implementation into Fuel Analysis under Steady-state and Transients (FAST)",
!     contract # NRC-HQ-60-17-C-0007
!
submodule(grid_interface) grid_implementation
    use assertions_interface, only : assertions,assert
    implicit none

    contains

        module procedure set_units
            implicit none
            !! define grid units
            this%units_ = units_obj
            call this%mark_as_defined
        end procedure

        module procedure get_units
            implicit none
            if (assertions) call assert(this%user_defined(),"grid%get_units: operand defined")
            !! Require user-defined passed-object dummy argument
            this_units = this%units_
        end procedure

end submodule grid_implementation