|
| | JFunctor (int dir, int lev, amrex::IntVect crse_ratio, bool convertRZmodes2cartesian=true, bool deposit_current=false, 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.
|
| |
| | 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.
|
| |
| 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 current density and store result in mf_out.
| void JFunctor::operator() |
( |
amrex::MultiFab & | mf_dst, |
|
|
int | dcomp, |
|
|
int | ) const |
|
overridevirtual |
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 source multifab (can be multi-component)
Implements ComputeDiagFunctor.