Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
cpu_trans_pencils.hpp File Reference
#include <vector>
#include "vec.h"
#include <unordered_set>
#include <dccrg.hpp>
#include <dccrg_cartesian_geometry.hpp>
#include <string>
#include "../common.h"
#include "../spatial_cells/spatial_cell_wrapper.hpp"
Include dependency graph for cpu_trans_pencils.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  setOfPencils

Functions

bool do_translate_cell (const spatial_cell::SpatialCell *const SC)
void prepareSeedIdsAndPencils (const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid)
void prepareSeedIdsAndPencils (const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const uint dimension)
void prepareGhostTranslationCellLists (const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const std::vector< CellID > &localPropagatedCells)

Variables

std::array< setOfPencils, 3 > DimensionPencils
std::unordered_set< CellIDghostTranslate_sources_x
std::unordered_set< CellIDghostTranslate_sources_y
std::unordered_set< CellIDghostTranslate_sources_z
std::unordered_set< CellIDghostTranslate_active_x
std::unordered_set< CellIDghostTranslate_active_y
std::unordered_set< CellIDghostTranslate_active_z

Function Documentation

◆ do_translate_cell()

bool do_translate_cell ( const spatial_cell::SpatialCell *const SC)

Definition at line 26 of file cpu_trans_pencils.cpp.

Here is the caller graph for this function:

◆ prepareGhostTranslationCellLists()

void prepareGhostTranslationCellLists ( const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & mpiGrid,
const std::vector< CellID > & localPropagatedCells )

◆ prepareSeedIdsAndPencils() [1/2]

void prepareSeedIdsAndPencils ( const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & mpiGrid)

◆ prepareSeedIdsAndPencils() [2/2]

void prepareSeedIdsAndPencils ( const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & mpiGrid,
const uint dimension )

Variable Documentation

◆ DimensionPencils

std::array<setOfPencils,3> DimensionPencils
extern

Definition at line 23 of file cpu_trans_pencils.cpp.

◆ ghostTranslate_active_x

std::unordered_set<CellID> ghostTranslate_active_x
extern

Definition at line 19 of file cpu_trans_pencils.cpp.

◆ ghostTranslate_active_y

std::unordered_set<CellID> ghostTranslate_active_y
extern

Definition at line 20 of file cpu_trans_pencils.cpp.

◆ ghostTranslate_active_z

std::unordered_set<CellID> ghostTranslate_active_z
extern

Definition at line 21 of file cpu_trans_pencils.cpp.

◆ ghostTranslate_sources_x

std::unordered_set<CellID> ghostTranslate_sources_x
extern

Definition at line 16 of file cpu_trans_pencils.cpp.

◆ ghostTranslate_sources_y

std::unordered_set<CellID> ghostTranslate_sources_y
extern

Definition at line 17 of file cpu_trans_pencils.cpp.

◆ ghostTranslate_sources_z

std::unordered_set<CellID> ghostTranslate_sources_z
extern

Definition at line 18 of file cpu_trans_pencils.cpp.