test_make_arbitrary_decomposition Subroutine

public subroutine test_make_arbitrary_decomposition(this)

Arguments

Type IntentOptional Attributes Name
class(ESMF_TestMethod), intent(inout) :: this

Calls

proc~~test_make_arbitrary_decomposition~~CallsGraph proc~test_make_arbitrary_decomposition test_make_arbitrary_decomposition assertequal assertequal proc~test_make_arbitrary_decomposition->assertequal asserttrue asserttrue proc~test_make_arbitrary_decomposition->asserttrue none~getpetcount ESMF_TestCase%getPetCount proc~test_make_arbitrary_decomposition->none~getpetcount none~make_arbitrary_decomposition AbstractGridFactory%make_arbitrary_decomposition proc~test_make_arbitrary_decomposition->none~make_arbitrary_decomposition ESMF_VMGet ESMF_VMGet none~getpetcount->ESMF_VMGet none~getvm ESMF_TestCase%getVM none~getpetcount->none~getvm none~make_arbitrary_decomposition->ESMF_VMGet ESMF_VMGetCurrent ESMF_VMGetCurrent none~make_arbitrary_decomposition->ESMF_VMGetCurrent proc~mapl_return MAPL_Return none~make_arbitrary_decomposition->proc~mapl_return proc~mapl_verify MAPL_Verify none~make_arbitrary_decomposition->proc~mapl_verify ESMF_GridCompGet ESMF_GridCompGet none~getvm->ESMF_GridCompGet 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_make_arbitrary_decomposition(this)
      class (ESMF_TestMethod), intent(inout) :: this
      type (LatLonGridFactory) :: factory

      integer :: nx, ny

      call factory%make_arbitrary_decomposition(nx, ny)
      @assertTrue(nx > 0)
      @assertTrue(ny > 0)
      @assertEqual(this%getPetCount(), nx*ny)

   end subroutine test_make_arbitrary_decomposition