From 93ebdabe00863d56a5c28cd56d7e7079ee2aac31 Mon Sep 17 00:00:00 2001 From: Hannes Vogt Date: Thu, 5 Aug 2021 08:35:13 +0200 Subject: [PATCH] Updated Iterator View (markdown) --- Iterator-View.md | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/Iterator-View.md b/Iterator-View.md index c51d8f3..8bfddc7 100644 --- a/Iterator-View.md +++ b/Iterator-View.md @@ -228,6 +228,8 @@ is the same as ### Concepts +- **Axis** - a tag denoting a dimension of the domain +- **NamedRange** - can be passed to `domain` builtin - **Domain** - can be followed by the `:domain` designator in the fencil definition. - **Value** - a type that potentially can be stored in the field. - **Location** - one of `:cell`, `:vertex` or `:edge` @@ -243,8 +245,8 @@ is the same as ### Signatures ```cpp= - Domain cartesian(int i0, int i1, int j0, int j1, int k0, int k1); - Domain unstructured(Location, int hor0, int hor1, int k0, int k1); + NamedRange named_range(Axis, int begin, int end) + Domain domain(NamedRange...); // Iterators API Stencil, V> shift(Offsets...); @@ -272,8 +274,8 @@ is the same as To cast(From); // ternary operator - V if(bool, V, V); - Column if(Column, Column, Column); + V if_(bool, V, V); + Column if_(Column, Column, Column); // conditionals bool eq(V, V); @@ -302,9 +304,9 @@ is the same as V minus(V, V); Column minus(Column, Column); - V mult(V, V); - Column mult(Column, Column); + V mul(V, V); + Column mul(Column, Column); - V divides(V, V); - Column divides(Column, Column); + V div(V, V); + Column div(Column, Column); ```