|
WarpX
|
#include <PML.H>
Public Member Functions | |
| PML (const amrex::BoxArray &ba, const amrex::DistributionMapping &dm, const amrex::Geometry *geom, const amrex::Geometry *cgeom, int ncell, int delta, int ref_ratio, amrex::Real dt, int nox_fft, int noy_fft, int noz_fft, bool do_nodal, int do_dive_cleaning, int do_moving_window, int pml_has_particles, int do_pml_in_domain, const amrex::IntVect do_pml_Lo=amrex::IntVect::TheUnitVector(), const amrex::IntVect do_pml_Hi=amrex::IntVect::TheUnitVector()) | |
| void | ComputePMLFactors (amrex::Real dt) |
| std::array< amrex::MultiFab *, 3 > | GetE_fp () |
| std::array< amrex::MultiFab *, 3 > | GetB_fp () |
| std::array< amrex::MultiFab *, 3 > | Getj_fp () |
| std::array< amrex::MultiFab *, 3 > | GetE_cp () |
| std::array< amrex::MultiFab *, 3 > | GetB_cp () |
| std::array< amrex::MultiFab *, 3 > | Getj_cp () |
| amrex::MultiFab * | GetF_fp () |
| amrex::MultiFab * | GetF_cp () |
| const MultiSigmaBox & | GetMultiSigmaBox_fp () const |
| const MultiSigmaBox & | GetMultiSigmaBox_cp () const |
| void | PushPSATD () |
| void | ExchangeB (const std::array< amrex::MultiFab *, 3 > &B_fp, const std::array< amrex::MultiFab *, 3 > &B_cp, int do_pml_in_domain) |
| void | ExchangeE (const std::array< amrex::MultiFab *, 3 > &E_fp, const std::array< amrex::MultiFab *, 3 > &E_cp, int do_pml_in_domain) |
| void | CopyJtoPMLs (const std::array< amrex::MultiFab *, 3 > &j_fp, const std::array< amrex::MultiFab *, 3 > &j_cp) |
| void | ExchangeB (PatchType patch_type, const std::array< amrex::MultiFab *, 3 > &Bp, int do_pml_in_domain) |
| void | ExchangeE (PatchType patch_type, const std::array< amrex::MultiFab *, 3 > &Ep, int do_pml_in_domain) |
| void | CopyJtoPMLs (PatchType patch_type, const std::array< amrex::MultiFab *, 3 > &jp) |
| void | ExchangeF (amrex::MultiFab *F_fp, amrex::MultiFab *F_cp, int do_pml_in_domain) |
| void | ExchangeF (PatchType patch_type, amrex::MultiFab *Fp, int do_pml_in_domain) |
| void | FillBoundary () |
| void | FillBoundaryE () |
| void | FillBoundaryB () |
| void | FillBoundaryF () |
| void | FillBoundaryE (PatchType patch_type) |
| void | FillBoundaryB (PatchType patch_type) |
| void | FillBoundaryF (PatchType patch_type) |
| bool | ok () const |
| void | CheckPoint (const std::string &dir) const |
| void | Restart (const std::string &dir) |
Static Public Member Functions | |
| static void | Exchange (amrex::MultiFab &pml, amrex::MultiFab ®, const amrex::Geometry &geom, int do_pml_in_domain) |
Static Private Member Functions | |
| static amrex::BoxArray | MakeBoxArray (const amrex::Geometry &geom, const amrex::BoxArray &grid_ba, int ncell, int do_pml_in_domain, const amrex::IntVect do_pml_Lo=amrex::IntVect::TheUnitVector(), const amrex::IntVect do_pml_Hi=amrex::IntVect::TheUnitVector()) |
| static void | CopyToPML (amrex::MultiFab &pml, amrex::MultiFab ®, const amrex::Geometry &geom) |
Private Attributes | |
| bool | m_ok |
| const amrex::Geometry * | m_geom |
| const amrex::Geometry * | m_cgeom |
| std::array< std::unique_ptr< amrex::MultiFab >, 3 > | pml_E_fp |
| std::array< std::unique_ptr< amrex::MultiFab >, 3 > | pml_B_fp |
| std::array< std::unique_ptr< amrex::MultiFab >, 3 > | pml_j_fp |
| std::array< std::unique_ptr< amrex::MultiFab >, 3 > | pml_E_cp |
| std::array< std::unique_ptr< amrex::MultiFab >, 3 > | pml_B_cp |
| std::array< std::unique_ptr< amrex::MultiFab >, 3 > | pml_j_cp |
| std::unique_ptr< amrex::MultiFab > | pml_F_fp |
| std::unique_ptr< amrex::MultiFab > | pml_F_cp |
| std::unique_ptr< MultiSigmaBox > | sigba_fp |
| std::unique_ptr< MultiSigmaBox > | sigba_cp |
| std::unique_ptr< SpectralSolver > | spectral_solver_fp |
| std::unique_ptr< SpectralSolver > | spectral_solver_cp |
| PML::PML | ( | const amrex::BoxArray & | ba, |
| const amrex::DistributionMapping & | dm, | ||
| const amrex::Geometry * | geom, | ||
| const amrex::Geometry * | cgeom, | ||
| int | ncell, | ||
| int | delta, | ||
| int | ref_ratio, | ||
| amrex::Real | dt, | ||
| int | nox_fft, | ||
| int | noy_fft, | ||
| int | noz_fft, | ||
| bool | do_nodal, | ||
| int | do_dive_cleaning, | ||
| int | do_moving_window, | ||
| int | pml_has_particles, | ||
| int | do_pml_in_domain, | ||
| const amrex::IntVect | do_pml_Lo = amrex::IntVect::TheUnitVector(), |
||
| const amrex::IntVect | do_pml_Hi = amrex::IntVect::TheUnitVector() |
||
| ) |
| void PML::CheckPoint | ( | const std::string & | dir | ) | const |
| void PML::ComputePMLFactors | ( | amrex::Real | dt | ) |
| void PML::CopyJtoPMLs | ( | const std::array< amrex::MultiFab *, 3 > & | j_fp, |
| const std::array< amrex::MultiFab *, 3 > & | j_cp | ||
| ) |
| void PML::CopyJtoPMLs | ( | PatchType | patch_type, |
| const std::array< amrex::MultiFab *, 3 > & | jp | ||
| ) |
|
staticprivate |
|
static |
| void PML::ExchangeB | ( | const std::array< amrex::MultiFab *, 3 > & | B_fp, |
| const std::array< amrex::MultiFab *, 3 > & | B_cp, | ||
| int | do_pml_in_domain | ||
| ) |
| void PML::ExchangeB | ( | PatchType | patch_type, |
| const std::array< amrex::MultiFab *, 3 > & | Bp, | ||
| int | do_pml_in_domain | ||
| ) |
| void PML::ExchangeE | ( | const std::array< amrex::MultiFab *, 3 > & | E_fp, |
| const std::array< amrex::MultiFab *, 3 > & | E_cp, | ||
| int | do_pml_in_domain | ||
| ) |
| void PML::ExchangeE | ( | PatchType | patch_type, |
| const std::array< amrex::MultiFab *, 3 > & | Ep, | ||
| int | do_pml_in_domain | ||
| ) |
| void PML::ExchangeF | ( | amrex::MultiFab * | F_fp, |
| amrex::MultiFab * | F_cp, | ||
| int | do_pml_in_domain | ||
| ) |
| void PML::ExchangeF | ( | PatchType | patch_type, |
| amrex::MultiFab * | Fp, | ||
| int | do_pml_in_domain | ||
| ) |
| void PML::FillBoundary | ( | ) |
| void PML::FillBoundaryB | ( | ) |
| void PML::FillBoundaryB | ( | PatchType | patch_type | ) |
| void PML::FillBoundaryE | ( | ) |
| void PML::FillBoundaryE | ( | PatchType | patch_type | ) |
| void PML::FillBoundaryF | ( | ) |
| void PML::FillBoundaryF | ( | PatchType | patch_type | ) |
| std::array< MultiFab *, 3 > PML::GetB_cp | ( | ) |
| std::array< MultiFab *, 3 > PML::GetB_fp | ( | ) |
| std::array< MultiFab *, 3 > PML::GetE_cp | ( | ) |
| std::array< MultiFab *, 3 > PML::GetE_fp | ( | ) |
| MultiFab * PML::GetF_cp | ( | ) |
| MultiFab * PML::GetF_fp | ( | ) |
| std::array< MultiFab *, 3 > PML::Getj_cp | ( | ) |
| std::array< MultiFab *, 3 > PML::Getj_fp | ( | ) |
|
inline |
|
inline |
|
staticprivate |
|
inline |
| void PML::PushPSATD | ( | ) |
| void PML::Restart | ( | const std::string & | dir | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.13