logo-header

 
 

definition:

AtomicRegions is the sixth argument of the discrete_alloc function. AtomicRegions is a domain unit defining the set of atomic regions. It contains attributes for each PartitioningAttribute that define to which region each atomic region belongs for that PartitioningAttribute.

description:

The overlay function is used to derive a AtomicRegions unit with the set of relevant subitems for the discrete_alloc function, see the example.

applies:

Unit AtomicRegions with value types:
  • uint8
  • uint16

conditions:

The names of the regions (subitems of the third argument of the overlay function) need to match with the values of the PartioningName argument.

since version:

5.15

example:

unit<uint8> lu_type: nrofrows = 3
{
attribute<string> PartioningName: ['Living','Working','Nature'];
}
container regionSets
{
attribute<regMaps/p1> Nature (DomainGrid) := regMaps/p1Map;
attribute<regMaps/p1> Living (DomainGrid) := regMaps/p1Map;
attribute<regMaps/p2> Working (DomainGrid) := regMaps/p2Map;
}
unit<uint16> AtomicRegions :=
overlay(lu_type/PartioningName, DomainGrid, regionSets);

OBJECT VISION BV
Vrije Universiteit
De Boelelaan 1085
1081 HV Amsterdam
The Netherlands

tel: +31 (0)20 598 9083
fax:+31 (0)20 598 9904