Load the grid dimensions of all blocks into file.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(file_grid_object), | intent(inout) | :: | self | File object. |
||
| type(grid_dimensions_object), | intent(in) | :: | grid_dimensions | Grid dimensions off all blocks into file. |
subroutine save_grid_dimensions_into_file(self, grid_dimensions)
!< Load the grid dimensions of all blocks into file.
class(file_grid_object), intent(inout) :: self !< File object.
type(grid_dimensions_object), intent(in) :: grid_dimensions !< Grid dimensions off all blocks into file.
call self%open(action='write')
call grid_dimensions%save_into_file(file_unit=self%file_unit)
call self%close
endsubroutine save_grid_dimensions_into_file