test_mirror_geom Subroutine

public subroutine test_mirror_geom()

Arguments

None

Calls

proc~~test_mirror_geom~~CallsGraph proc~test_mirror_geom test_mirror_geom assert_that assert_that proc~test_mirror_geom->assert_that none~can_connect_to~14 FieldSpec%can_connect_to proc~test_mirror_geom->none~can_connect_to~14 stringvector stringvector proc~test_mirror_geom->stringvector true true proc~test_mirror_geom->true interface~are_convertible are_convertible none~can_connect_to~14->interface~are_convertible of of none~can_connect_to~14->of proc~mapl_return MAPL_Return none~can_connect_to~14->proc~mapl_return proc~mapl_verify MAPL_Verify none~can_connect_to~14->proc~mapl_verify at at proc~mapl_return->at insert insert proc~mapl_return->insert proc~mapl_throw_exception MAPL_throw_exception proc~mapl_return->proc~mapl_throw_exception proc~mapl_verify->proc~mapl_throw_exception

Source Code

   subroutine test_mirror_geom()
      type(FieldSpec) :: import_spec
      type(FieldSpec) :: export_spec

      
      import_spec = FieldSpec( &
           vertical_grid=BasicVerticalGrid(1), vertical_dim_spec=VerticalDimSpec(), &
           typekind=ESMF_TYPEKIND_R4, &
           ungridded_dims = UngriddedDims(), &
           standard_name='A', long_name='AA', attributes=StringVector())

      export_spec = FieldSpec( &
           geom=geom, vertical_grid=BasicVerticalGrid(1), vertical_dim_spec=VerticalDimSpec(), &
           typekind=ESMF_TYPEKIND_R4, &
           ungridded_dims = UngriddedDims(), &
           standard_name='A', long_name='AA', attributes=StringVector(), &
           units='m')

      @assert_that(import_spec%can_connect_to(export_spec), is(true()))

   end subroutine test_mirror_geom