The AHA Model  Revision: 12809
Reference implementation 04 (HEDG02_04)
the_environment::operator(.above.) Interface Reference

Interface operators .above. for spatial objects. Usage: More...

Collaboration diagram for the_environment::operator(.above.):

Detailed Description

Interface operators .above. for spatial objects. Usage:

object1 .above. object2

Tests the condition of object1 is above object2 The operator can be used in two ways:

  • as an expression, with both scalar and array values:
    parents%ind(i) .above. parents%ind(i)%perceive_food%foods_seen
  • in if blocks, only scalars:
    if ( parents%ind(i) .above. parents%ind(i)%perceive_food%foods_seen(1) )
Note
Note that the operator .above. refers to the "below" procedure the_environment::spatial_check_located_below as the dummy parameters have reverse order in this implementation procedure.

Definition at line 880 of file m_env.f90.


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