Scippy

UG

Ubiquity Generator framework

scipParaTagDef.h
Go to the documentation of this file.
1 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
2 /* */
3 /* This file is part of the program and software framework */
4 /* UG --- Ubquity Generator Framework */
5 /* */
6 /* Copyright Written by Yuji Shinano <shinano@zib.de>, */
7 /* Copyright (C) 2021 by Zuse Institute Berlin, */
8 /* licensed under LGPL version 3 or later. */
9 /* Commercial licenses are available through <licenses@zib.de> */
10 /* */
11 /* This code is free software; you can redistribute it and/or */
12 /* modify it under the terms of the GNU Lesser General Public License */
13 /* as published by the Free Software Foundation; either version 3 */
14 /* of the License, or (at your option) any later version. */
15 /* */
16 /* This program is distributed in the hope that it will be useful, */
17 /* but WITHOUT ANY WARRANTY; without even the implied warranty of */
18 /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */
19 /* GNU Lesser General Public License for more details. */
20 /* */
21 /* You should have received a copy of the GNU Lesser General Public License */
22 /* along with this program. If not, see <http://www.gnu.org/licenses/>. */
23 /* */
24 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
25 
26 /**@file paraTagDef.h
27  * @brief Fundamental Tag definitions
28  * @author Yuji Shinano
29  *
30  *
31  *
32  */
33 
34 /*---+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----0----+----1----+----2*/
35 
36 
37 #ifndef __SCIP_PARA_TAG_DEF_H__
38 #define __SCIP_PARA_TAG_DEF_H__
39 
40 #include "ug_bb/bbParaTagDef.h"
41 
42 // #define TAG_STR(tag) #tag
43 
44 namespace ParaSCIP
45 {
46 static const int TAG_SCIP_FIRST = UG::TAG_BB_LAST + 1;
47 //------------------------------------------------------------------------------------------------
48 static const int TagInitialStat = TAG_SCIP_FIRST + 0;
49 //------------------------------------------------------------------------------------------------
50 static const int TAG_SCIP_BASE_LAST = TAG_SCIP_FIRST + 0;
51 static const int N_SCIP_BASE_TAGS = TAG_SCIP_BASE_LAST - UG::TAG_UG_FIRST + 1;
52 
53 #ifdef _COMM_MPI_WORLD
54 
55 static const int TAG_SCIP_MPI_FIRST = TAG_SCIP_BASE_LAST + 1;
56 //------------------------------------------------------------------------------------------------
57 static const int TagSolverDiffParamSet1 = TAG_SCIP_MPI_FIRST + 0;
58 static const int TagDiffSubproblem1 = TAG_SCIP_MPI_FIRST + 1;
59 static const int TagDiffSubproblem2 = TAG_SCIP_MPI_FIRST + 2;
60 static const int TagDiffSubproblem3 = TAG_SCIP_MPI_FIRST + 3;
61 static const int TagDiffSubproblem4 = TAG_SCIP_MPI_FIRST + 4;
62 static const int TagDiffSubproblem5 = TAG_SCIP_MPI_FIRST + 5;
63 static const int TagDiffSubproblem6 = TAG_SCIP_MPI_FIRST + 6;
64 static const int TagDiffSubproblem7 = TAG_SCIP_MPI_FIRST + 7;
65 static const int TagDiffSubproblem8 = TAG_SCIP_MPI_FIRST + 8;
66 static const int TagDiffSubproblem9 = TAG_SCIP_MPI_FIRST + 9;
67 static const int TagDiffSubproblem10 = TAG_SCIP_MPI_FIRST + 10;
68 static const int TagDiffSubproblem11 = TAG_SCIP_MPI_FIRST + 11;
69 static const int TagDiffSubproblem12 = TAG_SCIP_MPI_FIRST + 12;
70 static const int TagDiffSubproblem13 = TAG_SCIP_MPI_FIRST + 13;
71 static const int TagDiffSubproblem14 = TAG_SCIP_MPI_FIRST + 14;
72 static const int TagSolution1 = TAG_SCIP_MPI_FIRST + 15;
73 //------------------------------------------------------------------------------------------------
74 static const int TAG_SCIP_MPI_LAST = TAG_SCIP_MPI_FIRST + 15;
75 static const int N_SCIP_MPI_TAGS = TAG_SCIP_MPI_LAST - UG::TAG_UG_FIRST + 1;
76 //------------------------------------------------------------------------------------------------
77 static const int TAG_SCIP_LAST = TAG_SCIP_MPI_LAST;
78 static const int N_SCIP_TAGS = TAG_SCIP_LAST - UG::TAG_UG_FIRST + 1;
79 
80 #endif
81 #if defined(_COMM_PTH) || defined (_COMM_CPP11)
82 
83 static const int TAG_SCIP_TH_FIRST = TAG_SCIP_BASE_LAST + 1;
84 //------------------------------------------------------------------------------------------------
85 //------------------------------------------------------------------------------------------------
86 static const int TAG_SCIP_TH_LAST = TAG_SCIP_TH_FIRST - 1;
87 static const int N_SCIP_TH_TAGS = TAG_SCIP_TH_LAST - UG::TAG_UG_FIRST + 1;
88 //------------------------------------------------------------------------------------------------
89 static const int TAG_SCIP_LAST = TAG_SCIP_TH_LAST;
90 static const int N_SCIP_TAGS = TAG_SCIP_LAST - UG::TAG_UG_FIRST + 1;
91 #endif
92 
93 }
94 
95 #endif // __SCIP_PARA_TAG_DEF_H__
ug_bb Tag definitions
static const int N_SCIP_BASE_TAGS
static const int TAG_UG_FIRST
Definition: paraTagDef.h:45
static const int TAG_SCIP_BASE_LAST
static const int TAG_SCIP_FIRST
static const int TagInitialStat