Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
magnetic_update.h
Go to the documentation of this file.
1
10#pragma once
11
12// STL Includes
13
14// External Includes
15
16// Local Includes
17#include "../global/global.h"
18#include "../global/global_cuda.h"
19#include "../utils/gpu.hpp"
20
25namespace mhd
26{
27// =========================================================================
47__global__ void Update_Magnetic_Field_3D(Real *sourceGrid, Real *destinationGrid, Real *ctElectricFields, int const nx,
48 int const ny, int const nz, int const n_cells, Real const dt, Real const dx,
49 Real const dy, Real const dz);
50// =========================================================================
51} // end namespace mhd
Namespace for MHD code.
Definition magnetic_divergence.h:26
__global__ void Update_Magnetic_Field_3D(Real *sourceGrid, Real *destinationGrid, Real *ctElectricFields, int const nx, int const ny, int const nz, int const n_cells, Real const dt, Real const dx, Real const dy, Real const dz)
Update the magnetic field using the CT electric fields.