WarpX
|
Functions | |
std::optional< PhysicalSpecies > | from_string (const std::string &species_name) |
Returns the PhysicalSpecies associated to a given name. More... | |
amrex::Real | get_charge (const PhysicalSpecies &ps) |
Returns the charge associated to a PhysicalSpecies. More... | |
amrex::Real | get_mass (const PhysicalSpecies &ps) |
Returns the mass associated to a PhysicalSpecies. More... | |
std::string | get_name (const PhysicalSpecies &ps) |
Returns the name associated to a PhysicalSpecies. More... | |
std::optional< PhysicalSpecies > species::from_string | ( | const std::string & | species_name | ) |
Returns the PhysicalSpecies associated to a given name.
[in] | species_name | the name of a species |
amrex::Real species::get_charge | ( | const PhysicalSpecies & | ps | ) |
Returns the charge associated to a PhysicalSpecies.
[in] | ps | the PhysicalSpecies |
amrex::Real species::get_mass | ( | const PhysicalSpecies & | ps | ) |
Returns the mass associated to a PhysicalSpecies.
[in] | ps | the PhysicalSpecies |
std::string species::get_name | ( | const PhysicalSpecies & | ps | ) |
Returns the name associated to a PhysicalSpecies.
[in] | ps | the PhysicalSpecies |