|
XGCa
|
#include <moments.hpp>

Public Member Functions | |
| Moments () | |
| Moments (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, const VGridDistribution< DeviceType > &f, bool do_gather) | |
| void | calculate_moments_of_distribution (const VelocityGrid &vgrid, Plasma &plasma, const VGridDistribution< DeviceType > &f) |
| void | gather (const DomainDecomposition< DeviceType > &pol_decomp) |
Public Attributes | |
| View< double **, CLayout, HostType > | den_local |
| density, \( \int f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode] More... | |
| View< double **, CLayout, HostType > | upara_local |
| parallel bulk velocity, \( \int v_\parallel f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode] More... | |
| View< double **, CLayout, HostType > | uperp_local |
| perpendicular bulk velocity, \( \int v_\perp f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode] More... | |
| View< double **, CLayout, HostType > | temp_local |
| temperature, \( 2/3 \int 1/2 (\mathbf{v} - u_\parallel)^2 f d\mathbf{v} \), local to compute node [Nsp,Nlocalnode] More... | |
| View< double **, CLayout, HostType > | Kperp_local |
| perpendicular kinetic energy, \( \int 1/2 v_\perp^2 f d\mathbf{v} \), local to compute node [Nsp,Nlocalnode] More... | |
| View< double **, CLayout, HostType > | Kpara_local |
| parllel kinetic energy, \( \int v_\parallel^2 d\mathbf{v} \), local to compute node [Nsp,Nlocalnode] More... | |
| View< double **, CLayout, HostType > | temp_para_local |
| parallel temperature, \( \int (v_\parallel-u_\parallel)^2 d\mathbf{v} \), local to compute node [Nsp,Nlocalnode] More... | |
| View< double **, CLayout, HostType > | den_all |
| density, \( \int f d\mathbf{v} \), on all nodes [Nsp,Nnode] More... | |
| View< double **, CLayout, HostType > | upara_all |
| parallel bulk velocity, \( \int v_\parallel f d\mathbf{v} \), on all nodes [Nsp,Nnode] More... | |
| View< double **, CLayout, HostType > | temp_all |
| temperature, \( 2/3 \int 1/2 (\mathbf{v} - u_\parallel)^2 f d\mathbf{v} \), on all nodes [Nsp,Nnode] More... | |
| View< double **, CLayout, HostType > | temp_perp_all |
| perpendicular kinetic energy, \( \int 1/2 v_\perp^2 f d\mathbf{v} \), on all nodes [Nsp,Nnode] More... | |
| View< double **, CLayout, HostType > | temp_para_all |
| parllel kinetic energy, \( \int v_\parallel^2 d\mathbf{v} \), on all nodes [Nsp,Nnode] More... | |
|
inline |
| Moments::Moments | ( | const Grid< DeviceType > & | grid, |
| const DomainDecomposition< DeviceType > & | pol_decomp, | ||
| const VelocityGrid & | vgrid, | ||
| Plasma & | plasma, | ||
| const VGridDistribution< DeviceType > & | f, | ||
| bool | do_gather | ||
| ) |

| void Moments::calculate_moments_of_distribution | ( | const VelocityGrid & | vgrid, |
| Plasma & | plasma, | ||
| const VGridDistribution< DeviceType > & | f | ||
| ) |


| void Moments::gather | ( | const DomainDecomposition< DeviceType > & | pol_decomp | ) |

density, \( \int f d\mathbf{v} \), on all nodes [Nsp,Nnode]
density, \( \int f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode]
parllel kinetic energy, \( \int v_\parallel^2 d\mathbf{v} \), local to compute node [Nsp,Nlocalnode]
perpendicular kinetic energy, \( \int 1/2 v_\perp^2 f d\mathbf{v} \), local to compute node [Nsp,Nlocalnode]
temperature, \( 2/3 \int 1/2 (\mathbf{v} - u_\parallel)^2 f d\mathbf{v} \), on all nodes [Nsp,Nnode]
temperature, \( 2/3 \int 1/2 (\mathbf{v} - u_\parallel)^2 f d\mathbf{v} \), local to compute node [Nsp,Nlocalnode]
parllel kinetic energy, \( \int v_\parallel^2 d\mathbf{v} \), on all nodes [Nsp,Nnode]
parallel temperature, \( \int (v_\parallel-u_\parallel)^2 d\mathbf{v} \), local to compute node [Nsp,Nlocalnode]
perpendicular kinetic energy, \( \int 1/2 v_\perp^2 f d\mathbf{v} \), on all nodes [Nsp,Nnode]
parallel bulk velocity, \( \int v_\parallel f d\mathbf{v} \), on all nodes [Nsp,Nnode]
parallel bulk velocity, \( \int v_\parallel f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode]
perpendicular bulk velocity, \( \int v_\perp f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode]