ARTEMIS
|
This class contains the macroscopic properties of the medium needed to evaluate macroscopic Maxwell equation. More...
#include <MacroscopicProperties.H>
Public Member Functions | |
MacroscopicProperties () | |
void | ReadParameters () |
void | InitData () |
amrex::MultiFab & | getsigma_mf () |
amrex::MultiFab * | get_pointer_sigma () |
amrex::MultiFab & | getepsilon_mf () |
amrex::MultiFab * | get_pointer_eps () |
amrex::MultiFab & | getmu_mf () |
amrex::MultiFab * | get_pointer_mu () |
void | InitializeMacroMultiFabUsingParser (amrex::MultiFab *macro_mf, amrex::ParserExecutor< 3 > const ¯o_parser, const int lev) |
Public Attributes | |
amrex::GpuArray< int, 3 > | macro_cr_ratio |
amrex::GpuArray< int, 3 > | sigma_IndexType |
amrex::GpuArray< int, 3 > | epsilon_IndexType |
amrex::GpuArray< int, 3 > | mu_IndexType |
amrex::GpuArray< int, 3 > | Ex_IndexType |
amrex::GpuArray< int, 3 > | Ey_IndexType |
amrex::GpuArray< int, 3 > | Ez_IndexType |
amrex::GpuArray< int, 3 > | Bx_IndexType |
amrex::GpuArray< int, 3 > | By_IndexType |
amrex::GpuArray< int, 3 > | Bz_IndexType |
std::string | m_sigma_s = "constant" |
std::string | m_epsilon_s = "constant" |
std::string | m_mu_s = "constant" |
amrex::Real | m_sigma = 0.0 |
amrex::Real | m_epsilon = PhysConst::ep0 |
amrex::Real | m_mu = PhysConst::mu0 |
std::unique_ptr< amrex::Parser > | m_sigma_parser |
std::unique_ptr< amrex::Parser > | m_epsilon_parser |
std::unique_ptr< amrex::Parser > | m_mu_parser |
Private Attributes | |
std::unique_ptr< amrex::MultiFab > | m_sigma_mf |
std::unique_ptr< amrex::MultiFab > | m_eps_mf |
std::unique_ptr< amrex::MultiFab > | m_mu_mf |
std::string | m_str_sigma_function |
std::string | m_str_epsilon_function |
std::string | m_str_mu_function |
This class contains the macroscopic properties of the medium needed to evaluate macroscopic Maxwell equation.
MacroscopicProperties::MacroscopicProperties | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
return MultiFab, epsilon (permittivity) of the medium.
|
inline |
return MultiFab, mu (permeability) of the medium.
|
inline |
return MultiFab, sigma (conductivity) of the medium.
void MacroscopicProperties::InitData | ( | ) |
Initialize multifabs storing macroscopic multifabs
void MacroscopicProperties::InitializeMacroMultiFabUsingParser | ( | amrex::MultiFab * | macro_mf, |
amrex::ParserExecutor< 3 > const & | macro_parser, | ||
const int | lev | ||
) |
Initializes the Multifabs storing macroscopic properties with user-defined functions(x,y,z).
void MacroscopicProperties::ReadParameters | ( | ) |
Read user-defined macroscopic properties. Called in constructor.
amrex::GpuArray<int, 3> MacroscopicProperties::Bx_IndexType |
Gpu Vector with index type of the Bx multifab
amrex::GpuArray<int, 3> MacroscopicProperties::By_IndexType |
Gpu Vector with index type of the By multifab
amrex::GpuArray<int, 3> MacroscopicProperties::Bz_IndexType |
Gpu Vector with index type of the Bz multifab
amrex::GpuArray<int, 3> MacroscopicProperties::epsilon_IndexType |
Gpu Vector with index type of the permittivity multifab
amrex::GpuArray<int, 3> MacroscopicProperties::Ex_IndexType |
Gpu Vector with index type of the Ex multifab
amrex::GpuArray<int, 3> MacroscopicProperties::Ey_IndexType |
Gpu Vector with index type of the Ey multifab
amrex::GpuArray<int, 3> MacroscopicProperties::Ez_IndexType |
Gpu Vector with index type of the Ez multifab
|
private |
Multifab for m_epsilon
amrex::Real MacroscopicProperties::m_epsilon = PhysConst::ep0 |
Permittivity, epsilon, of the medium
std::unique_ptr<amrex::Parser> MacroscopicProperties::m_epsilon_parser |
std::string MacroscopicProperties::m_epsilon_s = "constant" |
Stores initialization type for permittivity : constant or parser
amrex::Real MacroscopicProperties::m_mu = PhysConst::mu0 |
Permeability, mu, of the medium
|
private |
Multifab for m_mu
std::unique_ptr<amrex::Parser> MacroscopicProperties::m_mu_parser |
std::string MacroscopicProperties::m_mu_s = "constant" |
Stores initialization type for permeability : constant or parser
amrex::Real MacroscopicProperties::m_sigma = 0.0 |
Conductivity, sigma, of the medium
|
private |
Multifab for m_sigma
std::unique_ptr<amrex::Parser> MacroscopicProperties::m_sigma_parser |
Parser Wrappers
std::string MacroscopicProperties::m_sigma_s = "constant" |
Stores initialization type for conductivity : constant or parser
|
private |
|
private |
|
private |
string for storing parser function
amrex::GpuArray<int, 3> MacroscopicProperties::macro_cr_ratio |
Gpu Vector with index type of coarsening ratio with default value (1,1,1)
amrex::GpuArray<int, 3> MacroscopicProperties::mu_IndexType |
Gpu Vector with index type of the permeability multifab
amrex::GpuArray<int, 3> MacroscopicProperties::sigma_IndexType |
Gpu Vector with index type of the conductivity multifab