| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cube), | intent(in) | :: | this | |||
| integer, | intent(in), | optional | :: | dimen |
integer pure function get_length_cube(this, dimen) class(cube), intent(in) :: this integer, intent(in), optional :: dimen #ifdef DEBUG_ character(*), parameter :: this_routine = "get_length_cube" #endif ASSERT(present(dimen)) ASSERT(dimen > 0) ASSERT(dimen <= 3) get_length_cube = this%length(dimen) end function get_length_cube