Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
grid_test_neighbors.cpp File Reference
#include "dccrg.hpp"
#include "mpi.h"
#include <iostream>
#include <fstream>
#include <vector>
#include <iterator>
#include <algorithm>
#include "../../definitions.h"
#include "../../parameters.h"
Include dependency graph for grid_test_neighbors.cpp:

Go to the source code of this file.

Classes

struct  grid_data
struct  setOfPencils

Functions

CellID selectNeighbor (dccrg::Dccrg< grid_data > &grid, CellID id, int dimension=0, uint path=0)
setOfPencils buildPencilsWithNeighbors (dccrg::Dccrg< grid_data > &grid, setOfPencils &pencils, CellID startingId, vector< CellID > ids, uint dimension, vector< uint > path)
void printVector (vector< CellID > v)
int main (int argc, char *argv[])

Function Documentation

◆ buildPencilsWithNeighbors()

setOfPencils buildPencilsWithNeighbors ( dccrg::Dccrg< grid_data > & grid,
setOfPencils & pencils,
CellID startingId,
vector< CellID > ids,
uint dimension,
vector< uint > path )

Definition at line 113 of file grid_test_neighbors.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ main()

int main ( int argc,
char * argv[] )

Definition at line 300 of file grid_test_neighbors.cpp.

Here is the call graph for this function:

◆ printVector()

void printVector ( vector< CellID > v)

Definition at line 292 of file grid_test_neighbors.cpp.

Here is the caller graph for this function:

◆ selectNeighbor()

CellID selectNeighbor ( dccrg::Dccrg< grid_data > & grid,
CellID id,
int dimension = 0,
uint path = 0 )

Definition at line 73 of file grid_test_neighbors.cpp.

Here is the caller graph for this function: