Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
cpu_acc_load_blocks.hpp File Reference
Include dependency graph for cpu_acc_load_blocks.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define i_pcolumnv(j, k, k_block, num_k_blocks)
#define i_pcolumnv_b(planeVectorIndex, k, k_block, num_k_blocks)

Functions

void loadColumnBlockData (const vmesh::VelocityMesh *vmesh, vmesh::VelocityBlockContainer *blockContainer, const vmesh::GlobalID *blocks, const vmesh::LocalID n_blocks, const int dimension, Vec *__restrict__ values)

Macro Definition Documentation

◆ i_pcolumnv

#define i_pcolumnv ( j,
k,
k_block,
num_k_blocks )
Value:
( ((j) / ( VECL / WID)) * WID * ( num_k_blocks + 2) + (k) + ( k_block + 1 ) * WID )
#define WID
Definition common.h:514
const int j
const int k

Definition at line 11 of file cpu_acc_load_blocks.hpp.

◆ i_pcolumnv_b

#define i_pcolumnv_b ( planeVectorIndex,
k,
k_block,
num_k_blocks )
Value:
( planeVectorIndex * WID * ( num_k_blocks + 2) + (k) + ( k_block + 1 ) * WID )

Definition at line 12 of file cpu_acc_load_blocks.hpp.

Function Documentation

◆ loadColumnBlockData()

void loadColumnBlockData ( const vmesh::VelocityMesh * vmesh,
vmesh::VelocityBlockContainer * blockContainer,
const vmesh::GlobalID * blocks,
const vmesh::LocalID n_blocks,
const int dimension,
Vec *__restrict__ values )

Definition at line 28 of file cpu_acc_load_blocks.cpp.

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