FishMet: Fish feeding and appetite model, OPEN EDITION  0.1
FishMet: Fish feeding and appetite model, OPEN EDITION
commondata::last Interface Reference

Return the last element of a history array with optional offset. More...

Collaboration diagram for commondata::last:

Public Member Functions

pure integer function last_in_history_i4 (history_array, offset)
 Return the last value in the array. Note that this function is especially useful for long nested objects, to avoid complex set. More...
 
pure real(srp) function last_in_history_r (history_array, offset)
 Return the last value in the array. Note that this function is especially useful for long nested objects, to avoid complex set. More...
 
pure character(len=:) function, allocatable last_in_history_char (history_array, offset)
 Return the last value in the array. Note that this function is especially useful for long nested objects, to avoid complex set. More...
 

Detailed Description

Return the last element of a history array with optional offset.

Definition at line 792 of file m_common.f90.

Member Function/Subroutine Documentation

◆ last_in_history_i4()

pure integer function commondata::last::last_in_history_i4 ( integer, dimension(:), intent(in)  history_array,
integer, intent(in), optional  offset 
)

Return the last value in the array. Note that this function is especially useful for long nested objects, to avoid complex set.

Definition at line 1666 of file m_common.f90.

◆ last_in_history_r()

pure real(srp) function commondata::last::last_in_history_r ( real(srp), dimension(:), intent(in)  history_array,
integer, intent(in), optional  offset 
)

Return the last value in the array. Note that this function is especially useful for long nested objects, to avoid complex set.

Definition at line 1641 of file m_common.f90.

◆ last_in_history_char()

pure character(len=:) function, allocatable commondata::last::last_in_history_char ( character(*), dimension(:), intent(in)  history_array,
integer, intent(in), optional  offset 
)

Return the last value in the array. Note that this function is especially useful for long nested objects, to avoid complex set.

Definition at line 1691 of file m_common.f90.


The documentation for this interface was generated from the following file: