1 
2 
3 // DO NOT EDIT !
4 // This file is generated using the MantaFlow preprocessor (prep link).
5 
6 #include "grid.h"
7 namespace Manta {
8 #ifdef _C_FlagGrid
9 static const Pb::Register _R_26("FlagGrid", "FlagGrid", "Grid<int>");
10 template<> const char *Namify<FlagGrid>::S = "FlagGrid";
11 static const Pb::Register _R_27("FlagGrid", "FlagGrid", FlagGrid::_W_40);
12 static const Pb::Register _R_28("FlagGrid", "initDomain", FlagGrid::_W_41);
13 static const Pb::Register _R_29("FlagGrid", "updateFromLevelset", FlagGrid::_W_42);
14 static const Pb::Register _R_30("FlagGrid", "fillGrid", FlagGrid::_W_43);
15 static const Pb::Register _R_31("FlagGrid", "countCells", FlagGrid::_W_44);
16 #endif
17 #ifdef _C_Grid
18 static const Pb::Register _R_32("Grid<int>", "Grid<int>", "GridBase");
19 template<> const char *Namify<Grid<int>>::S = "Grid<int>";
20 static const Pb::Register _R_33("Grid<int>", "Grid", Grid<int>::_W_10);
21 static const Pb::Register _R_34("Grid<int>", "save", Grid<int>::_W_11);
22 static const Pb::Register _R_35("Grid<int>", "load", Grid<int>::_W_12);
23 static const Pb::Register _R_36("Grid<int>", "clear", Grid<int>::_W_13);
24 static const Pb::Register _R_37("Grid<int>", "copyFrom", Grid<int>::_W_14);
25 static const Pb::Register _R_38("Grid<int>", "getGridType", Grid<int>::_W_15);
26 static const Pb::Register _R_39("Grid<int>", "add", Grid<int>::_W_16);
27 static const Pb::Register _R_40("Grid<int>", "sub", Grid<int>::_W_17);
28 static const Pb::Register _R_41("Grid<int>", "setConst", Grid<int>::_W_18);
29 static const Pb::Register _R_42("Grid<int>", "addConst", Grid<int>::_W_19);
30 static const Pb::Register _R_43("Grid<int>", "addScaled", Grid<int>::_W_20);
31 static const Pb::Register _R_44("Grid<int>", "mult", Grid<int>::_W_21);
32 static const Pb::Register _R_45("Grid<int>", "multConst", Grid<int>::_W_22);
33 static const Pb::Register _R_46("Grid<int>", "safeDivide", Grid<int>::_W_23);
34 static const Pb::Register _R_47("Grid<int>", "clamp", Grid<int>::_W_24);
35 static const Pb::Register _R_48("Grid<int>", "stomp", Grid<int>::_W_25);
36 static const Pb::Register _R_49("Grid<int>", "permuteAxes", Grid<int>::_W_26);
37 static const Pb::Register _R_50("Grid<int>", "permuteAxesCopyToGrid", Grid<int>::_W_27);
38 static const Pb::Register _R_51("Grid<int>", "join", Grid<int>::_W_28);
39 static const Pb::Register _R_52("Grid<int>", "getMaxAbs", Grid<int>::_W_29);
40 static const Pb::Register _R_53("Grid<int>", "getMax", Grid<int>::_W_30);
41 static const Pb::Register _R_54("Grid<int>", "getMin", Grid<int>::_W_31);
42 static const Pb::Register _R_55("Grid<int>", "getL1", Grid<int>::_W_32);
43 static const Pb::Register _R_56("Grid<int>", "getL2", Grid<int>::_W_33);
44 static const Pb::Register _R_57("Grid<int>", "setBound", Grid<int>::_W_34);
45 static const Pb::Register _R_58("Grid<int>", "setBoundNeumann", Grid<int>::_W_35);
46 static const Pb::Register _R_59("Grid<int>", "getDataPointer", Grid<int>::_W_36);
47 static const Pb::Register _R_60("Grid<int>", "printGrid", Grid<int>::_W_37);
48 static const Pb::Register _R_61("Grid<Real>", "Grid<Real>", "GridBase");
49 template<> const char *Namify<Grid<Real>>::S = "Grid<Real>";
50 static const Pb::Register _R_62("Grid<Real>", "Grid", Grid<Real>::_W_10);
51 static const Pb::Register _R_63("Grid<Real>", "save", Grid<Real>::_W_11);
52 static const Pb::Register _R_64("Grid<Real>", "load", Grid<Real>::_W_12);
53 static const Pb::Register _R_65("Grid<Real>", "clear", Grid<Real>::_W_13);
54 static const Pb::Register _R_66("Grid<Real>", "copyFrom", Grid<Real>::_W_14);
55 static const Pb::Register _R_67("Grid<Real>", "getGridType", Grid<Real>::_W_15);
56 static const Pb::Register _R_68("Grid<Real>", "add", Grid<Real>::_W_16);
57 static const Pb::Register _R_69("Grid<Real>", "sub", Grid<Real>::_W_17);
58 static const Pb::Register _R_70("Grid<Real>", "setConst", Grid<Real>::_W_18);
59 static const Pb::Register _R_71("Grid<Real>", "addConst", Grid<Real>::_W_19);
60 static const Pb::Register _R_72("Grid<Real>", "addScaled", Grid<Real>::_W_20);
61 static const Pb::Register _R_73("Grid<Real>", "mult", Grid<Real>::_W_21);
62 static const Pb::Register _R_74("Grid<Real>", "multConst", Grid<Real>::_W_22);
63 static const Pb::Register _R_75("Grid<Real>", "safeDivide", Grid<Real>::_W_23);
64 static const Pb::Register _R_76("Grid<Real>", "clamp", Grid<Real>::_W_24);
65 static const Pb::Register _R_77("Grid<Real>", "stomp", Grid<Real>::_W_25);
66 static const Pb::Register _R_78("Grid<Real>", "permuteAxes", Grid<Real>::_W_26);
67 static const Pb::Register _R_79("Grid<Real>", "permuteAxesCopyToGrid", Grid<Real>::_W_27);
68 static const Pb::Register _R_80("Grid<Real>", "join", Grid<Real>::_W_28);
69 static const Pb::Register _R_81("Grid<Real>", "getMaxAbs", Grid<Real>::_W_29);
70 static const Pb::Register _R_82("Grid<Real>", "getMax", Grid<Real>::_W_30);
71 static const Pb::Register _R_83("Grid<Real>", "getMin", Grid<Real>::_W_31);
72 static const Pb::Register _R_84("Grid<Real>", "getL1", Grid<Real>::_W_32);
73 static const Pb::Register _R_85("Grid<Real>", "getL2", Grid<Real>::_W_33);
74 static const Pb::Register _R_86("Grid<Real>", "setBound", Grid<Real>::_W_34);
75 static const Pb::Register _R_87("Grid<Real>", "setBoundNeumann", Grid<Real>::_W_35);
76 static const Pb::Register _R_88("Grid<Real>", "getDataPointer", Grid<Real>::_W_36);
77 static const Pb::Register _R_89("Grid<Real>", "printGrid", Grid<Real>::_W_37);
78 static const Pb::Register _R_90("Grid<Vec3>", "Grid<Vec3>", "GridBase");
79 template<> const char *Namify<Grid<Vec3>>::S = "Grid<Vec3>";
80 static const Pb::Register _R_91("Grid<Vec3>", "Grid", Grid<Vec3>::_W_10);
81 static const Pb::Register _R_92("Grid<Vec3>", "save", Grid<Vec3>::_W_11);
82 static const Pb::Register _R_93("Grid<Vec3>", "load", Grid<Vec3>::_W_12);
83 static const Pb::Register _R_94("Grid<Vec3>", "clear", Grid<Vec3>::_W_13);
84 static const Pb::Register _R_95("Grid<Vec3>", "copyFrom", Grid<Vec3>::_W_14);
85 static const Pb::Register _R_96("Grid<Vec3>", "getGridType", Grid<Vec3>::_W_15);
86 static const Pb::Register _R_97("Grid<Vec3>", "add", Grid<Vec3>::_W_16);
87 static const Pb::Register _R_98("Grid<Vec3>", "sub", Grid<Vec3>::_W_17);
88 static const Pb::Register _R_99("Grid<Vec3>", "setConst", Grid<Vec3>::_W_18);
89 static const Pb::Register _R_100("Grid<Vec3>", "addConst", Grid<Vec3>::_W_19);
90 static const Pb::Register _R_101("Grid<Vec3>", "addScaled", Grid<Vec3>::_W_20);
91 static const Pb::Register _R_102("Grid<Vec3>", "mult", Grid<Vec3>::_W_21);
92 static const Pb::Register _R_103("Grid<Vec3>", "multConst", Grid<Vec3>::_W_22);
93 static const Pb::Register _R_104("Grid<Vec3>", "safeDivide", Grid<Vec3>::_W_23);
94 static const Pb::Register _R_105("Grid<Vec3>", "clamp", Grid<Vec3>::_W_24);
95 static const Pb::Register _R_106("Grid<Vec3>", "stomp", Grid<Vec3>::_W_25);
96 static const Pb::Register _R_107("Grid<Vec3>", "permuteAxes", Grid<Vec3>::_W_26);
97 static const Pb::Register _R_108("Grid<Vec3>", "permuteAxesCopyToGrid", Grid<Vec3>::_W_27);
98 static const Pb::Register _R_109("Grid<Vec3>", "join", Grid<Vec3>::_W_28);
99 static const Pb::Register _R_110("Grid<Vec3>", "getMaxAbs", Grid<Vec3>::_W_29);
100 static const Pb::Register _R_111("Grid<Vec3>", "getMax", Grid<Vec3>::_W_30);
101 static const Pb::Register _R_112("Grid<Vec3>", "getMin", Grid<Vec3>::_W_31);
102 static const Pb::Register _R_113("Grid<Vec3>", "getL1", Grid<Vec3>::_W_32);
103 static const Pb::Register _R_114("Grid<Vec3>", "getL2", Grid<Vec3>::_W_33);
104 static const Pb::Register _R_115("Grid<Vec3>", "setBound", Grid<Vec3>::_W_34);
105 static const Pb::Register _R_116("Grid<Vec3>", "setBoundNeumann", Grid<Vec3>::_W_35);
106 static const Pb::Register _R_117("Grid<Vec3>", "getDataPointer", Grid<Vec3>::_W_36);
107 static const Pb::Register _R_118("Grid<Vec3>", "printGrid", Grid<Vec3>::_W_37);
108 #endif
109 #ifdef _C_GridBase
110 static const Pb::Register _R_119("GridBase", "GridBase", "PbClass");
111 template<> const char *Namify<GridBase>::S = "GridBase";
112 static const Pb::Register _R_120("GridBase", "GridBase", GridBase::_W_0);
113 static const Pb::Register _R_121("GridBase", "getSizeX", GridBase::_W_1);
114 static const Pb::Register _R_122("GridBase", "getSizeY", GridBase::_W_2);
115 static const Pb::Register _R_123("GridBase", "getSizeZ", GridBase::_W_3);
116 static const Pb::Register _R_124("GridBase", "getSize", GridBase::_W_4);
117 static const Pb::Register _R_125("GridBase", "is3D", GridBase::_W_5);
118 static const Pb::Register _R_126("GridBase", "is4D", GridBase::_W_6);
119 static const Pb::Register _R_127("GridBase", "getSizeT", GridBase::_W_7);
120 static const Pb::Register _R_128("GridBase", "getStrideT", GridBase::_W_8);
121 static const Pb::Register _R_129("GridBase", "setName", GridBase::_W_9);
122 #endif
123 #ifdef _C_MACGrid
124 static const Pb::Register _R_130("MACGrid", "MACGrid", "Grid<Vec3>");
125 template<> const char *Namify<MACGrid>::S = "MACGrid";
126 static const Pb::Register _R_131("MACGrid", "MACGrid", MACGrid::_W_38);
127 static const Pb::Register _R_132("MACGrid", "setBoundMAC", MACGrid::_W_39);
128 #endif
129 static const Pb::Register _R_7("GridType_TypeNone", 0);
130 static const Pb::Register _R_8("GridType_TypeReal", 1);
131 static const Pb::Register _R_9("GridType_TypeInt", 2);
132 static const Pb::Register _R_10("GridType_TypeVec3", 4);
133 static const Pb::Register _R_11("GridType_TypeMAC", 8);
134 static const Pb::Register _R_12("GridType_TypeLevelset", 16);
135 static const Pb::Register _R_13("GridType_TypeFlags", 32);
136 static const Pb::Register _R_14("Grid<int>", "IntGrid", "");
137 static const Pb::Register _R_15("Grid<Real>", "RealGrid", "");
138 static const Pb::Register _R_16("Grid<Vec3>", "VecGrid", "");
139 static const Pb::Register _R_17("CellType_TypeNone", 0);
140 static const Pb::Register _R_18("CellType_TypeFluid", 1);
141 static const Pb::Register _R_19("CellType_TypeObstacle", 2);
142 static const Pb::Register _R_20("CellType_TypeEmpty", 4);
143 static const Pb::Register _R_21("CellType_TypeInflow", 8);
144 static const Pb::Register _R_22("CellType_TypeOutflow", 16);
145 static const Pb::Register _R_23("CellType_TypeOpen", 32);
146 static const Pb::Register _R_24("CellType_TypeStick", 64);
147 static const Pb::Register _R_25("CellType_TypeReserved", 256);
148 extern "C" {
PbRegister_file_7()149 void PbRegister_file_7()
150 {
151   KEEP_UNUSED(_R_26);
152   KEEP_UNUSED(_R_27);
153   KEEP_UNUSED(_R_28);
154   KEEP_UNUSED(_R_29);
155   KEEP_UNUSED(_R_30);
156   KEEP_UNUSED(_R_31);
157   KEEP_UNUSED(_R_32);
158   KEEP_UNUSED(_R_33);
159   KEEP_UNUSED(_R_34);
160   KEEP_UNUSED(_R_35);
161   KEEP_UNUSED(_R_36);
162   KEEP_UNUSED(_R_37);
163   KEEP_UNUSED(_R_38);
164   KEEP_UNUSED(_R_39);
165   KEEP_UNUSED(_R_40);
166   KEEP_UNUSED(_R_41);
167   KEEP_UNUSED(_R_42);
168   KEEP_UNUSED(_R_43);
169   KEEP_UNUSED(_R_44);
170   KEEP_UNUSED(_R_45);
171   KEEP_UNUSED(_R_46);
172   KEEP_UNUSED(_R_47);
173   KEEP_UNUSED(_R_48);
174   KEEP_UNUSED(_R_49);
175   KEEP_UNUSED(_R_50);
176   KEEP_UNUSED(_R_51);
177   KEEP_UNUSED(_R_52);
178   KEEP_UNUSED(_R_53);
179   KEEP_UNUSED(_R_54);
180   KEEP_UNUSED(_R_55);
181   KEEP_UNUSED(_R_56);
182   KEEP_UNUSED(_R_57);
183   KEEP_UNUSED(_R_58);
184   KEEP_UNUSED(_R_59);
185   KEEP_UNUSED(_R_60);
186   KEEP_UNUSED(_R_61);
187   KEEP_UNUSED(_R_62);
188   KEEP_UNUSED(_R_63);
189   KEEP_UNUSED(_R_64);
190   KEEP_UNUSED(_R_65);
191   KEEP_UNUSED(_R_66);
192   KEEP_UNUSED(_R_67);
193   KEEP_UNUSED(_R_68);
194   KEEP_UNUSED(_R_69);
195   KEEP_UNUSED(_R_70);
196   KEEP_UNUSED(_R_71);
197   KEEP_UNUSED(_R_72);
198   KEEP_UNUSED(_R_73);
199   KEEP_UNUSED(_R_74);
200   KEEP_UNUSED(_R_75);
201   KEEP_UNUSED(_R_76);
202   KEEP_UNUSED(_R_77);
203   KEEP_UNUSED(_R_78);
204   KEEP_UNUSED(_R_79);
205   KEEP_UNUSED(_R_80);
206   KEEP_UNUSED(_R_81);
207   KEEP_UNUSED(_R_82);
208   KEEP_UNUSED(_R_83);
209   KEEP_UNUSED(_R_84);
210   KEEP_UNUSED(_R_85);
211   KEEP_UNUSED(_R_86);
212   KEEP_UNUSED(_R_87);
213   KEEP_UNUSED(_R_88);
214   KEEP_UNUSED(_R_89);
215   KEEP_UNUSED(_R_90);
216   KEEP_UNUSED(_R_91);
217   KEEP_UNUSED(_R_92);
218   KEEP_UNUSED(_R_93);
219   KEEP_UNUSED(_R_94);
220   KEEP_UNUSED(_R_95);
221   KEEP_UNUSED(_R_96);
222   KEEP_UNUSED(_R_97);
223   KEEP_UNUSED(_R_98);
224   KEEP_UNUSED(_R_99);
225   KEEP_UNUSED(_R_100);
226   KEEP_UNUSED(_R_101);
227   KEEP_UNUSED(_R_102);
228   KEEP_UNUSED(_R_103);
229   KEEP_UNUSED(_R_104);
230   KEEP_UNUSED(_R_105);
231   KEEP_UNUSED(_R_106);
232   KEEP_UNUSED(_R_107);
233   KEEP_UNUSED(_R_108);
234   KEEP_UNUSED(_R_109);
235   KEEP_UNUSED(_R_110);
236   KEEP_UNUSED(_R_111);
237   KEEP_UNUSED(_R_112);
238   KEEP_UNUSED(_R_113);
239   KEEP_UNUSED(_R_114);
240   KEEP_UNUSED(_R_115);
241   KEEP_UNUSED(_R_116);
242   KEEP_UNUSED(_R_117);
243   KEEP_UNUSED(_R_118);
244   KEEP_UNUSED(_R_119);
245   KEEP_UNUSED(_R_120);
246   KEEP_UNUSED(_R_121);
247   KEEP_UNUSED(_R_122);
248   KEEP_UNUSED(_R_123);
249   KEEP_UNUSED(_R_124);
250   KEEP_UNUSED(_R_125);
251   KEEP_UNUSED(_R_126);
252   KEEP_UNUSED(_R_127);
253   KEEP_UNUSED(_R_128);
254   KEEP_UNUSED(_R_129);
255   KEEP_UNUSED(_R_130);
256   KEEP_UNUSED(_R_131);
257   KEEP_UNUSED(_R_132);
258 }
259 }
260 }  // namespace Manta