Functor to cell-center MF for displacement current density and store result in mf_out.
More...
|
| JdispFunctor (int dir, int lev, amrex::IntVect crse_ratio, bool convertRZmodes2cartesian=true, int ncomp=1) |
|
void | operator() (amrex::MultiFab &mf_dst, int dcomp, int) const override |
| Cell-center m_mf_src and write the result in mf_dst. More...
|
|
| ComputeDiagFunctor (int ncomp, amrex::IntVect crse_ratio) |
|
virtual | ~ComputeDiagFunctor ()=default |
|
| ComputeDiagFunctor (const ComputeDiagFunctor &)=default |
|
ComputeDiagFunctor & | operator= (const ComputeDiagFunctor &)=default |
|
| ComputeDiagFunctor (ComputeDiagFunctor &&)=default |
|
ComputeDiagFunctor & | operator= (ComputeDiagFunctor &&)=default |
|
int | nComp () const |
|
virtual void | PrepareFunctorData (int i_buffer, bool z_slice_in_domain, amrex::Real current_z_boost, amrex::Box buffer_box, const int k_index_zlab, const int snapshot_full) |
| Prepare data required to process fields in the operator() Note that this function has parameters that are specific to back-transformed diagnostics, that are unused for regular diagnostics. More...
|
|
virtual void | InitData () |
|
void | InterpolateMFForDiag (amrex::MultiFab &mf_dst, const amrex::MultiFab &mf_src, int dcomp, const amrex::DistributionMapping &dm, bool convertRZmodes2cartesian) const |
|
Functor to cell-center MF for displacement current density and store result in mf_out.
Cell-center m_mf_src and write the result in mf_dst.
In cylindrical geometry, by default this functor average all components of a MultiFab and writes into one single component.
- 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 |
pointer to total simulation current (J) multifab
pointer to current calculated from Ampere's Law (Jamp) multifab
pointer to external currents (Jext) multifab
Implements ComputeDiagFunctor.