File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -267,6 +267,7 @@ class Grid
267
267
268
268
void set_IsDipole (bool value);
269
269
bool get_IsDipole ();
270
+ bool get_IsClosed ();
270
271
271
272
int64_t get_nPointsInGrid ();
272
273
@@ -327,6 +328,8 @@ class Grid
327
328
void report_grid_boundaries ();
328
329
void calc_cent_acc (Planets planet);
329
330
331
+ void create_dipole_connection (Quadtree quadtree);
332
+
330
333
// Make mag-field grid:
331
334
bool init_dipole_grid (Quadtree quadtree_ion, Planets planet);
332
335
// Support functions:
@@ -350,17 +353,26 @@ class Grid
350
353
int iProcYp;
351
354
// / The processor to the South/Down/Y-:
352
355
int iProcYm;
356
+ // This is special, since message passing in the z direction will only be
357
+ // between closed magnetic field lines, so we don't need a +/- (p/m):
358
+ int iProcZ;
353
359
360
+ bool isExchangeInitialized = false ;
361
+
354
362
arma_vec edge_Xp;
355
363
arma_vec edge_Yp;
356
364
arma_vec edge_Xm;
357
365
arma_vec edge_Ym;
366
+ // again, z will only be in one
367
+ arma_vec edge_Z;
358
368
359
369
int64_t iRoot;
360
370
int64_t iRootXp;
361
371
int64_t iRootXm;
362
372
int64_t iRootYp;
363
373
int64_t iRootYm;
374
+ // again, z will only be in one
375
+ int64_t iRootZ;
364
376
365
377
struct messages_struct
366
378
{
You can’t perform that action at this time.
0 commit comments