The AHA Model
Revision: 12809
Reference implementation 04 (HEDG02_04)
|
Simple history stack function, add to the end of the stack. We need only to add components on top (end) of the stack and retain HISTORY_SIZE_SPATIAL
elements of the prior history (for a spatial moving object). The stack works as follows, assuming 100 and 200 are added:
[1 2 3 4 5 6 7 8 9 10]
[2 3 4 5 6 7 8 9 10 100]
[3 4 5 6 7 8 9 10 100 200].
More...
Public Member Functions | |
pure subroutine | add_to_history_i4 (history_array, add_this) |
Simple history stack function, add to the end of the stack. We need only to add components on top of the stack and retain commondata::history_size_spatial elements of the prior history (for a spatial moving object). The stack works as follows, assuming 100 and 200 are added: [1 2 3 4 5 6 7 8 9 10]; [2 3 4 5 6 7 8 9 10 100]; [3 4 5 6 7 8 9 10 100 200]. More... | |
pure subroutine | add_to_history_r (history_array, add_this) |
Simple history stack function, add to the end of the stack. We need only to add components on top of the stack and retain commondata::history_size_spatial elements of the prior history (for a spatial moving object). More... | |
pure subroutine | add_to_history_char (history_array, add_this) |
Simple history stack function, add to the end of the stack. We need only to add components on top of the stack and retain commondata::history_size_spatial elements of the prior history. More... | |
Simple history stack function, add to the end of the stack. We need only to add components on top (end) of the stack and retain HISTORY_SIZE_SPATIAL
elements of the prior history (for a spatial moving object). The stack works as follows, assuming 100 and 200 are added:
[1 2 3 4 5 6 7 8 9 10]
[2 3 4 5 6 7 8 9 10 100]
[3 4 5 6 7 8 9 10 100 200].
Definition at line 5292 of file m_common.f90.
pure subroutine commondata::add_to_history::add_to_history_i4 | ( | integer, dimension(:), intent(inout) | history_array, |
integer, intent(in) | add_this | ||
) |
Simple history stack function, add to the end of the stack. We need only to add components on top of the stack and retain commondata::history_size_spatial
elements of the prior history (for a spatial moving object). The stack works as follows, assuming 100 and 200 are added:
[1 2 3 4 5 6 7 8 9 10];
[2 3 4 5 6 7 8 9 10 100];
[3 4 5 6 7 8 9 10 100 200].
history_array | Integer array that keeps the history. |
add_this | we add this element to the end of the history array. |
Definition at line 7299 of file m_common.f90.
pure subroutine commondata::add_to_history::add_to_history_r | ( | real(srp), dimension(:), intent(inout) | history_array, |
real(srp), intent(in) | add_this | ||
) |
Simple history stack function, add to the end of the stack. We need only to add components on top of the stack and retain commondata::history_size_spatial
elements of the prior history (for a spatial moving object).
history_array | Integer array that keeps the history. |
add_this | we add this element to the end of the history array. |
Definition at line 7324 of file m_common.f90.
pure subroutine commondata::add_to_history::add_to_history_char | ( | character(*), dimension(:), intent(inout) | history_array, |
character(*), intent(in) | add_this | ||
) |
Simple history stack function, add to the end of the stack. We need only to add components on top of the stack and retain commondata::history_size_spatial
elements of the prior history.
history_array | Integer array that keeps the history. |
add_this | we add this element to the end of the history array. |
Definition at line 7348 of file m_common.f90.