|
Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
|
Contains the declaration of the kernel to update the magnetic field. Method from Stone & Gardiner 2009 "A simple unsplit Godunov method for multidimensional MHD" hereafter referred to as "S&G 2009". More...
#include "../global/global.h"#include "../global/global_cuda.h"#include "../utils/gpu.hpp"

Go to the source code of this file.
Namespaces | |
| namespace | mhd |
| Namespace for MHD code. | |
Functions | |
| __global__ void | mhd::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. | |
Contains the declaration of the kernel to update the magnetic field. Method from Stone & Gardiner 2009 "A simple unsplit Godunov method for multidimensional MHD" hereafter referred to as "S&G 2009".