|
Graph Framework
|
ion class. More...
#include <particle_in_cell.hpp>
Public Member Functions | |
| ion (const T mass, const uint8_t z, const size_t num_ions, const T num_real, const characteristics< T > &norms) | |
| Construct an ion object. | |
| graph::shared_variable< T > | get_x () const |
| Get x case as variable. | |
| size_t | size () const |
| Get the number of computational ions. | |
| T * | x_data () const |
| Get the data for x. | |
| graph::shared_variable< T > | get_v_para () const |
| Get x case as variable. | |
| T * | v_para_data () const |
| Get the data for the parallel velocity. | |
| graph::shared_variable< T > | get_v_perp () const |
| Get x case as variable. | |
| T * | v_perp_data () const |
| Get the data for the perpendicular velocity. | |
| T | super_to_real () const |
| Conversion factor from super particles to real particles. | |
| void | define_variables (const output::result_file &file, output::data_set< T > &data, workflow::manager< T > &work, const std::string tag) |
| Define variables. | |
| graph::shared_leaf< T > | build_profile (std::function< graph::shared_leaf< T >(graph::shared_leaf< T >)> func) const |
| Build a profile. | |
Public Attributes | |
| const uint8_t | z |
| Atomic number. | |
| const T | charge |
| Charge. | |
| const T | mass |
| Particle mass. | |
| graph::shared_leaf< T > | x |
| Normalized Position. | |
| graph::shared_leaf< T > | v_para |
| Normalized Parallel velocity. | |
| graph::shared_leaf< T > | v_perp |
| Normalized Perpendicular velocity. | |
| std::array< graph::shared_leaf< T >, 3 > | weights |
| Mesh Weights. | |
| const T | num_real |
| Number of real particles. | |
ion class.
These values need to be initialized using normalized quantities.
| T | Base type of the calculation. |
|
inline |
Construct an ion object.
| [in] | mass | Ion mass. |
| [in] | z | Ion Z. |
| [in] | num_ions | Number of ions. |
| [in] | num_real | Number of real particles. |
| [in] | norms | A pic::characteristics object. |
|
inline |
Build a profile.
| [in] | func | The profile function. |
|
inline |
Define variables.
| [in] | file | A output::result_file object to define variables. |
| [in,out] | data | A output::data_set object to create variable. |
| [in,out] | work | A workflow::manager object where data was computed. |
| [in] | tag | Unique identity for give the ion species. |
|
inline |
Get x case as variable.
|
inline |
Get x case as variable.
|
inline |
Get x case as variable.
|
inline |
Get the number of computational ions.
|
inline |
Conversion factor from super particles to real particles.
|
inline |
Get the data for the parallel velocity.
|
inline |
Get the data for the perpendicular velocity.
|
inline |
Get the data for x.