Cholla 3.0.1-dev
Cholla - Massively parallel hydro on GPUs
Loading...
Searching...
No Matches
Namespaces | Functions
magnetic_update.h File Reference

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"
Include dependency graph for magnetic_update.h:
This graph shows which files directly or indirectly include this file:

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.
 

Detailed Description

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".

Author
Robert 'Bob' Caddy (rvc@p.nosp@m.itt..nosp@m.edu)