WarpX
Loading...
Searching...
No Matches
FieldPoyntingFlux.H File Reference
#include "ReducedDiags.H"
#include <AMReX_Array4.H>
#include <AMReX_GpuControl.H>
#include <AMReX_Box.H>
#include <AMReX_REAL.H>
#include <AMReX_Reduce.H>
#include <string>

Go to the source code of this file.

Classes

struct  PoyntingStaggered
 
struct  PoyntingCellCentered
 
struct  PoyntingNodal
 
class  FieldPoyntingFlux
 This class mainly contains a function that computes the field Poynting flux, S = E cross B, integrated over each face of the domain. More...
 

Namespaces

namespace  Poynting
 

Functions

template<int normal_dir, typename T_Algo, typename AreaFunc>
amrex::Real Poynting::Kernel (amrex::Box const &box, amrex::Array4< const amrex::Real > const &Ex_arr, amrex::Array4< const amrex::Real > const &Ey_arr, amrex::Array4< const amrex::Real > const &Ez_arr, amrex::Array4< const amrex::Real > const &Bx_arr, amrex::Array4< const amrex::Real > const &By_arr, amrex::Array4< const amrex::Real > const &Bz_arr, AreaFunc area_factor)