Vlasiator ebf0dd394 on dev (v5.4.0 + 1054 commits)
Loading...
Searching...
No Matches
cpu_acc_semilag.cpp File Reference
#include <dccrg.hpp>
#include <dccrg_cartesian_geometry.hpp>
#include <phiprof.hpp>
#include "../definitions.h"
#include "cpu_acc_semilag.hpp"
#include "cpu_acc_intersections.hpp"
#include "cpu_acc_map.hpp"
Include dependency graph for cpu_acc_semilag.cpp:

Go to the source code of this file.

Functions

void cpu_accelerate_cells (dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > &mpiGrid, const std::vector< CellID > &acceleratedCells, const uint popID, const uint map_order)
void cpu_accelerate_cell (SpatialCell *spatial_cell, const uint popID, const uint map_order)

Function Documentation

◆ cpu_accelerate_cell()

void cpu_accelerate_cell ( SpatialCell * spatial_cell,
const uint popID,
const uint map_order )

Propagates the distribution function in velocity space of given real space cell.

Based on SLICE-3D algorithm: Zerroukat, M., and T. Allen. "A three‐dimensional monotone and conservative semi‐Lagrangian scheme (SLICE‐3D) for transport problems." Quarterly Journal of the Royal Meteorological Society 138.667 (2012): 1640-1651.

Parameters
spatial_cellSpatial cell containing the accelerated population.
popIDID of the accelerated particle species.
map_orderOrder in which vx,vy,vz mappings are performed.

Definition at line 92 of file cpu_acc_semilag.cpp.

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

◆ cpu_accelerate_cells()

void cpu_accelerate_cells ( dccrg::Dccrg< SpatialCell, dccrg::Cartesian_Geometry > & mpiGrid,
const std::vector< CellID > & acceleratedCells,
const uint popID,
const uint map_order )

Calls semi-lagrangian acceleration routines for the provided list of cells

Parameters
mpiGridDCCRG container of spatial cells
acceleratedCellsvector of cells for which to perform acceleration
popIDID of the accelerated particle species.
map_orderOrder in which vx,vy,vz mappings are performed.

Definition at line 45 of file cpu_acc_semilag.cpp.

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