sizeGrid Function

public function sizeGrid(this) result(n)

Arguments

Type IntentOptional Attributes Name
type(Grid), intent(in) :: this

Return Value integer


Contents

Source Code


Source Code

 function sizeGrid(this) result(n)
   type(Grid), intent(in)  :: this
   integer                 :: n

   if (.not. initialized(this)) then
      n = 0
   else
      n = size(this%data%grid_data)
   endif
 end function sizeGrid