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

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

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

Detailed Description

Interface operators .below. for spatial objects. Usage:

object1 .below. object2

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

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

Definition at line 902 of file m_env.f90.


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