Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
cpu_trans_map_amr.cpp File Reference
#include "cpu_1d_ppm_nonuniform.hpp"
#include "vec.h"
#include "../grid.h"
#include "../object_wrapper.h"
#include "../memoryallocation.h"
#include "cpu_trans_map_amr.hpp"
#include "cpu_trans_pencils.hpp"
Include dependency graph for cpu_trans_map_amr.cpp:

Go to the source code of this file.

Macros

#define i_trans_ps_blockv_pencil(planeVectorIndex, planeIndex, blockIndex, lengthOfPencil)

Functions

bool check_skip_remapping (const Vec *const values)
void propagatePencil (const Realf *const dz, const Vec *const values, const uint dimension, const uint blockGID, const Realf dt, const vmesh::VelocityMesh *vmesh, const int lengthOfPencil, const Realf threshold, Realf **blockDataPointer, const Realf *const targetRatios, const unsigned int *const vcell_transpose)
bool copy_trans_block_data_amr (const Realf *const *pencilBlockData, const int lengthOfPencil, Vec *values, const unsigned int *const vcell_transpose, const uint popID)
bool trans_map_1d_amr (const dccrg::Dccrg< spatial_cell::SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const vector< CellID > &localPropagatedCells, const vector< CellID > &remoteTargetCells, std::vector< uint > &nPencils, const uint dimension, const Realf dt, const uint popID)
int get_sibling_index (const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const CellID &cellid)
void update_remote_mapping_contribution_amr (dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const uint dimension, int direction, const uint popID)

Macro Definition Documentation

◆ i_trans_ps_blockv_pencil

#define i_trans_ps_blockv_pencil ( planeVectorIndex,
planeIndex,
blockIndex,
lengthOfPencil )
Value:
( (blockIndex) + ( (planeVectorIndex) + (planeIndex) * VEC_PER_PLANE ) * ( lengthOfPencil) )

Definition at line 16 of file cpu_trans_map_amr.cpp.

Function Documentation

◆ check_skip_remapping()

bool check_skip_remapping ( const Vec *const values)
inline

Definition at line 18 of file cpu_trans_map_amr.cpp.

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

◆ copy_trans_block_data_amr()

bool copy_trans_block_data_amr ( const Realf *const * pencilBlockData,
const int lengthOfPencil,
Vec * values,
const unsigned int *const vcell_transpose,
const uint popID )

Definition at line 164 of file cpu_trans_map_amr.cpp.

Here is the caller graph for this function:

◆ get_sibling_index()

int get_sibling_index ( const dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & mpiGrid,
const CellID & cellid )

Definition at line 451 of file cpu_trans_map_amr.cpp.

Here is the caller graph for this function:

◆ propagatePencil()

void propagatePencil ( const Realf *const dz,
const Vec *const values,
const uint dimension,
const uint blockGID,
const Realf dt,
const vmesh::VelocityMesh * vmesh,
const int lengthOfPencil,
const Realf threshold,
Realf ** blockDataPointer,
const Realf *const targetRatios,
const unsigned int *const vcell_transpose )

Definition at line 37 of file cpu_trans_map_amr.cpp.

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

◆ trans_map_1d_amr()

bool trans_map_1d_amr ( const dccrg::Dccrg< spatial_cell::SpatialCell, dccrg::Cartesian_Geometry > & mpiGrid,
const vector< CellID > & localPropagatedCells,
const vector< CellID > & remoteTargetCells,
std::vector< uint > & nPencils,
const uint dimension,
const Realf dt,
const uint popID )

Definition at line 214 of file cpu_trans_map_amr.cpp.

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

◆ update_remote_mapping_contribution_amr()

void update_remote_mapping_contribution_amr ( dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & mpiGrid,
const uint dimension,
int direction,
const uint popID )

Definition at line 493 of file cpu_trans_map_amr.cpp.

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