|
Nektar++
|
#include <boost/preprocessor/arithmetic/inc.hpp>#include <boost/preprocessor/arithmetic/mul.hpp>#include <boost/preprocessor/comparison/not_equal.hpp>#include <boost/preprocessor/repetition/for.hpp>#include <boost/preprocessor/tuple/elem.hpp>#include "Operators/SwitchLimits.h"Go to the source code of this file.
Macros | |
| #define | NM(i) BOOST_PP_TUPLE_ELEM(0, i) |
| #define | NM_P1(i) BOOST_PP_INC(BOOST_PP_TUPLE_ELEM(0, i)) |
| #define | NQ(i) BOOST_PP_TUPLE_ELEM(1, i) |
| #define | NQ_M1(i) BOOST_PP_DEC(BOOST_PP_TUPLE_ELEM(1, i)) |
| #define | STDLEV2TEST(r, state) |
| #define | STDLEV2TEST1(r, state) |
| #define | STDLEV2UPDATE(r, state) |
| #define | STDLEV2UPDATE1(r, state) |
| #define NM | ( | i | ) | BOOST_PP_TUPLE_ELEM(0, i) |
Definition at line 47 of file SwitchLevel2.h.
| #define NM_P1 | ( | i | ) | BOOST_PP_INC(BOOST_PP_TUPLE_ELEM(0, i)) |
Definition at line 49 of file SwitchLevel2.h.
| #define NQ | ( | i | ) | BOOST_PP_TUPLE_ELEM(1, i) |
Definition at line 51 of file SwitchLevel2.h.
| #define NQ_M1 | ( | i | ) | BOOST_PP_DEC(BOOST_PP_TUPLE_ELEM(1, i)) |
Definition at line 53 of file SwitchLevel2.h.
| #define STDLEV2TEST | ( | r, | |
| state | |||
| ) |
Macro tests the values of the tuple 'state' to see if the first element, given by BOOST_PP_TUPLE_ELEM(0, state), is not equal to the second element plus one, given by BOOST_PP_INC(BOOST_PP_TUPLE_ELEM(1, state)) and returns 1 if not equal otherwise zero
Definition at line 60 of file SwitchLevel2.h.
| #define STDLEV2TEST1 | ( | r, | |
| state | |||
| ) |
Definition at line 64 of file SwitchLevel2.h.
| #define STDLEV2UPDATE | ( | r, | |
| state | |||
| ) |
Macro returns an updated tuple where the first element, given by BOOST_PP_TUPLE_ELEM(0, state), is incremented by one and the second element, given by BOOST_PP_TUPLE_ELEM(1, state) remains the same
Definition at line 72 of file SwitchLevel2.h.
| #define STDLEV2UPDATE1 | ( | r, | |
| state | |||
| ) |
Definition at line 76 of file SwitchLevel2.h.