Skip to content

Commit

Permalink
use generic structures in Fortran
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrdar committed Nov 8, 2023
1 parent 7dd8d43 commit d3f333d
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/tests/redistribution/fctest_redistribution.F90
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@ module fcta_Redistribution_fxt
use atlas_redistribution_module

implicit none
type(atlas_StructuredGrid) :: grid
type(atlas_functionspace_StructuredColumns) :: fspace_1, fspace_2, fspace_hlp
type(atlas_Grid) :: grid
type(atlas_FunctionSpace) :: fspace_1, fspace_2, fspace_hlp
type(atlas_Redistribution) :: redist, redist_hlp
type(atlas_Field) :: field_1, field_2
real(c_float), pointer :: field_1v(:), field_2v(:)

grid = atlas_StructuredGrid("O8")
grid = atlas_Grid("O8")
fspace_1 = atlas_functionspace_StructuredColumns(grid, atlas_Partitioner("equal_regions"), halo=2)
fspace_2 = atlas_functionspace_StructuredColumns(grid, atlas_Partitioner("regular_bands"))

Expand Down

0 comments on commit d3f333d

Please sign in to comment.