Functor to compute divE into mf_out.
More...
#include <DivEFunctor.H>
|
| | DivEFunctor (const std::array< const amrex::MultiFab *const, 3 > arr_mf_src, const int lev, const amrex::IntVect crse_ratio, bool convertRZmodes2cartesian=true, const int ncomp=1) |
| |
| virtual void | operator() (amrex::MultiFab &mf_dst, const int dcomp, const int) const override |
| | Compute DivE directly into mf_dst. More...
|
| |
| | ComputeDiagFunctor (int ncomp, amrex::IntVect crse_ratio) |
| |
| virtual | ~ComputeDiagFunctor ()=default |
| |
| int | nComp () const |
| |
| virtual void | PrepareFunctorData (int i_buffer, bool ZSliceInDomain, amrex::Real current_z_boost, amrex::Box buffer_box, const int k_index_zlab) |
| |
| virtual void | InitData () |
| |
Functor to compute divE into mf_out.
◆ DivEFunctor()
| DivEFunctor::DivEFunctor |
( |
const std::array< const amrex::MultiFab *const, 3 > |
arr_mf_src, |
|
|
const int |
lev, |
|
|
const amrex::IntVect |
crse_ratio, |
|
|
bool |
convertRZmodes2cartesian = true, |
|
|
const int |
ncomp = 1 |
|
) |
| |
Constructor.
- Parameters
-
| [in] | arr_mf_src | source multifabs (3 elements for x y z). |
| [in] | lev | level of multifab. |
| [in] | crse_ratio | for interpolating field values from simulation MultiFabs to the output diagnostic MultiFab mf_dst |
| [in] | ncomp | Number of component of mf_src to cell-center in dst multifab. |
◆ operator()()
| void DivEFunctor::operator() |
( |
amrex::MultiFab & |
mf_dst, |
|
|
const int |
dcomp, |
|
|
const int |
|
|
) |
| const |
|
overridevirtual |
Compute DivE directly into mf_dst.
- Parameters
-
| [out] | mf_dst | output MultiFab where the result is written |
| [in] | dcomp | first component of mf_dst in which cell-centered data is stored |
Implements ComputeDiagFunctor.
◆ m_arr_mf_src
| std::array<const amrex::MultiFab * const, 3> DivEFunctor::m_arr_mf_src |
|
private |
Vector of pointer to source multifab Bx, By, Bz
◆ m_convertRZmodes2cartesian
| bool DivEFunctor::m_convertRZmodes2cartesian |
|
private |
◆ m_lev
| int const DivEFunctor::m_lev |
|
private |
level on which mf_src is defined (used in cylindrical) (for cylindrical) whether to average all modes into 1 comp
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/20.10/Source/Diagnostics/ComputeDiagFunctors/DivEFunctor.H
- /home/docs/checkouts/readthedocs.org/user_builds/warpx/checkouts/20.10/Source/Diagnostics/ComputeDiagFunctors/DivEFunctor.cpp