Chombo + EB  3.2
NamespaceVar.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 #ifndef CH_LANG_FORT
12  #ifdef CH_XDIR
13  #undef DIM_NAMESPACE
14  #undef CH_XDIR
15  #endif
16  #ifdef CH_MULTIDIM
17  #if CH_SPACEDIM == 1
18  #define CH_XDIR Chombo::D1
19  #elif CH_SPACEDIM == 2
20  #define CH_XDIR Chombo::D2
21  #elif CH_SPACEDIM == 3
22  #define CH_XDIR Chombo::D3
23  #elif CH_SPACEDIM == 4
24  #define CH_XDIR Chombo::D4
25  #elif CH_SPACEDIM == 5
26  #define CH_XDIR Chombo::D5
27  #elif CH_SPACEDIM == 6
28  #define CH_XDIR Chombo::D6
29  #else
30  Fail now: CH_SPACEDIM must be 1, 2, 3, 4, 5 or 6.
31  #endif
32  #else
33  #ifdef CH_NAMESPACE
34  #define CH_XDIR Chombo
35  #else
36  #define CH_XDIR
37  #endif
38  #endif
39 #endif
#define CH_SPACEDIM
Definition: SPACE.H:51
Fail now
Definition: BaseNamespaceFooter.H:15