|
Graph Framework
|
Mesh class. More...
#include <particle_in_cell.hpp>
Public Types | |
| enum | offset { low , center , high } |
| Mesh point. More... | |
Public Member Functions | |
| mesh (const T x_min, const T x_max, const size_t num, const characteristics< T > &norms) | |
| Construct a mesh object. | |
| graph::shared_leaf< T > | build_x_index (graph::shared_leaf< T > x) const |
| Build x index. | |
| graph::shared_leaf< T > | build_i_index (graph::shared_leaf< T > x) const |
| Build i index. | |
| template<size_t I = 0, offset O = center> | |
| graph::shared_leaf< T > | build_y_index (graph::shared_leaf< T > x, const parameters< T > ¶ms) const |
| Build y index. | |
| template<size_t I = 0, offset O = center> | |
| graph::shared_leaf< T > | build_dydx_index (graph::shared_leaf< T > x, const parameters< T > ¶ms) const |
| Build dy/dx index. | |
| std::array< graph::shared_leaf< T >, 3 > | build_mesh_solve (const ion< T > &ion) const |
| Build mesh accumulation. | |
| size_t | size () const |
| Get the number of computational ions. | |
| template<size_t I = 0> | |
| T * | data () const |
| Get the number of computational ions. | |
| void | define_variables (const output::result_file &file, output::data_set< T > &data, workflow::manager< T > &work) |
| Define variables. | |
| std::array< graph::shared_leaf< T >, 3 > | build_weights (graph::shared_leaf< T > x) const |
| Build interpolation weights. | |
| graph::shared_leaf< T > | build_interpolation (graph::shared_leaf< T > x) const |
| Build interpolation expression. | |
Public Attributes | |
| const T | xmin |
| Min x. | |
| const T | xmax |
| Max x. | |
| const T | dx |
| Dx. | |
| std::array< graph::shared_leaf< T >, 4 > | y |
| Mesh y values. | |
Mesh class.
| T | Base type of the calculation. |
| enum pic::mesh::offset |
|
inline |
Construct a mesh object.
| [in] | x_min | Minimum X postion of mesh. |
| [in] | x_max | Maximum X position of mesh. |
| [in] | num | Number of mesh points. |
| [in] | norms | A pic::characteristics object. |
|
inline |
Build dy/dx index.
| I | Mesh index. |
| O | Mesh offset. |
| [in] | x | The x position. |
| [in] | params | A pic::parameters object. |
|
inline |
Build i index.
| [in] | x | The x position. |
|
inline |
Build interpolation expression.
| [in] | x | The x position. |
|
inline |
Build mesh accumulation.
| [in] | ion | A pic::ion object. |
|
inline |
Build interpolation weights.
| [in] | x | The x position. |
|
inline |
Build x index.
| [in] | x | The x position. |
|
inline |
Build y index.
| I | Mesh index. |
| O | Mesh offset. |
| [in] | x | The x position. |
| [in] | params | A pic::parameters object. |
Get the number of computational ions.
| I | Mesh index. |
|
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] | work | A workflow::manager object where data was computed. |
|
inline |
Get the number of computational ions.