Hipace
|
#include "fft_poisson_solver/FFTPoissonSolver.H"
#include "diagnostics/Diagnostic.H"
#include "laser/MultiLaser.H"
#include "utils/GPUUtil.H"
#include <AMReX_MultiFab.H>
#include <AMReX_Vector.H>
#include <AMReX_AmrCore.H>
#include <algorithm>
Go to the source code of this file.
Classes | |
struct | WhichSlice |
describes which slice with respect to the currently calculated is used More... | |
struct | assert_map |
struct | Direction |
Direction of each dimension. Can be used for clean handling 2D vs. 3D in the future. More... | |
class | Fields |
Main class handling all field data structures and operations. More... | |
Functions | |
amrex::Real | GetPosOffset (const int dir, const amrex::Geometry &geom, const amrex::Box &box) |
Function to help converting field indexes to positions and backwards. Usage: x = i * dx + GetPosOffset(0, geom, box) i = round( (x - GetPosOffset(0, geom, box)) / dx ) More... | |
Variables | |
std::array< assert_map, WhichSlice::N > | Comps {} |
Map names and indices of each fields in each slice. More... | |
int | N_Comps {0} |
number of fields in each slice More... | |
|
inline |
Function to help converting field indexes to positions and backwards. Usage: x = i * dx + GetPosOffset(0, geom, box) i = round( (x - GetPosOffset(0, geom, box)) / dx )
[in] | dir | 0, 1 or 2 for x, y or z respectively |
[in] | geom | geometry of the field |
[in] | box | box of the field, can be with or without ghost cells |
|
inline |
Map names and indices of each fields in each slice.
|
inline |
number of fields in each slice