Returns the grid instance that is the component of the domain.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(domain_type), | intent(in) | :: | self | Domain instance |
Grid instance component
pure function getGrid(self) result(grid)
!! Returns the grid instance that is the component of the domain.
class(domain_type),intent(in) :: self !! Domain instance
type(grid_type) :: grid !! Grid instance component
grid = self % grid
endfunction getGrid