|
WarpX
|
#include <MultiFluidContainer.H>
Private Attributes | |
| std::vector< std::string > | species_names |
| amrex::Vector< std::unique_ptr< WarpXFluidContainer > > | allcontainers |
The class MultiFluidContainer holds multiple instances of the class WarpXFluidContainer, stored in its member variable "allcontainers". The class WarpX typically has a single (pointer to an) instance of MultiFluidContainer.
MultiFluidContainer typically has two types of functions:
| MultiFluidContainer::MultiFluidContainer | ( | ) |
|
default |
|
delete |
|
default |
| void MultiFluidContainer::AllocateLevelMFs | ( | ablastr::fields::MultiFabRegister & | m_fields, |
| const amrex::BoxArray & | ba, | ||
| const amrex::DistributionMapping & | dm, | ||
| int | lev ) |
| void MultiFluidContainer::DepositCharge | ( | ablastr::fields::MultiFabRegister & | m_fields, |
| amrex::MultiFab & | rho, | ||
| int | lev ) |
| void MultiFluidContainer::DepositCurrent | ( | ablastr::fields::MultiFabRegister & | m_fields, |
| amrex::MultiFab & | jx, | ||
| amrex::MultiFab & | jy, | ||
| amrex::MultiFab & | jz, | ||
| int | lev ) |
| void MultiFluidContainer::Evolve | ( | ablastr::fields::MultiFabRegister & | fields, |
| int | lev, | ||
| std::string const & | current_fp_string, | ||
| amrex::Real | cur_time, | ||
| bool | skip_deposition = false ) |
This evolves all the fluids by one PIC time step, including current deposition, the field solve, and pushing the fluids, for all the species in the MultiFluidContainer.
|
inlinenodiscard |
|
inline |
| void MultiFluidContainer::InitData | ( | ablastr::fields::MultiFabRegister & | m_fields, |
| amrex::Box | init_box, | ||
| amrex::Real | cur_time, | ||
| int | lev, | ||
| const amrex::Geometry & | geom_lev, | ||
| amrex::Real | gamma_boost, | ||
| amrex::Real | beta_boost ) |
|
inlinenodiscard |
|
default |
|
delete |
|
private |
|
private |