#include <cmath>
#include <algorithm>
#include <utility>
#include "vec.h"
#include "../object_wrapper.h"
#include "cpu_acc_sort_blocks.hpp"
#include "cpu_acc_load_blocks.hpp"
#include "cpu_1d_pqm.hpp"
#include "cpu_1d_ppm.hpp"
#include "cpu_1d_plm.hpp"
#include "cpu_acc_map.hpp"
Go to the source code of this file.
◆ addVelocityBlock()
Attempt to add the given velocity block to the given velocity mesh. If the block was added to the mesh, its data is set to zero values and velocity block parameters are calculated.
- Parameters
-
| blockGID | Global ID of the added velocity block. |
| vmesh | Velocity mesh where the block is added. |
| blockContainer | Velocity block data container. |
- Returns
- Local ID of the added block. If the block was not added, the local ID of the null velocity block is returned instead.
Definition at line 47 of file cpu_acc_map.cpp.
◆ map_1d()
| bool map_1d |
( |
SpatialCell * | spatial_cell, |
|
|
const uint | popID, |
|
|
Real | in_intersection, |
|
|
Real | in_intersection_di, |
|
|
Real | in_intersection_dj, |
|
|
Real | in_intersection_dk, |
|
|
const uint | dimension ) |
◆ swapBlockIndices()