Skip to content

Commit 28bbfb6

Browse files
anstafhavogt
authored andcommitted
API change: bye bye conditionals (#1225)
Description: Removes conditionals from the API. On the multi_stage level it is easier to implement them by multiple computations. API change: conditionals (`if_` and `switch_`) are removed.
1 parent 284a5f6 commit 28bbfb6

20 files changed

+25
-1112
lines changed

docs_src/manuals/gridtools_lexer.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,7 @@
4545
'call',
4646
'call_proc',
4747
'with',
48-
'at',
49-
'if_',
50-
'switch_',
51-
'case_'
48+
'at'
5249
))
5350

5451
gridtools_namespace = ((

docs_src/manuals/user_manual/advanced_functionality.hrst

-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,5 @@ Advanced Functionality
33

44
.. include:: stencil_functions.hrst
55
.. include:: software_caches.hrst
6-
.. include:: conditional_switches.hrst
76
.. include:: expandable_parameters.hrst
87
.. include:: global_accessor.hrst

docs_src/manuals/user_manual/conditional_switches.hrst

-120
This file was deleted.

include/gridtools/stencil_composition/conditionals/case_.hpp

-32
This file was deleted.

include/gridtools/stencil_composition/conditionals/case_type.hpp

-64
This file was deleted.

include/gridtools/stencil_composition/conditionals/condition.hpp

-35
This file was deleted.

0 commit comments

Comments
 (0)