XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Member Functions | Public Attributes | List of all members
Moments Struct Reference

#include <moments.hpp>

Collaboration diagram for Moments:
Collaboration graph
[legend]

Public Member Functions

 Moments ()
 
 Moments (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, const VGridDistribution< HostType > &f, bool do_gather)
 
void calculate_moments_of_distribution (const VelocityGrid &vgrid, Plasma &plasma, const VGridDistribution< HostType > &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...
 

Constructor & Destructor Documentation

Moments::Moments ( )
inline
Moments::Moments ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const VelocityGrid vgrid,
Plasma plasma,
const VGridDistribution< HostType > &  f,
bool  do_gather 
)
inline

Here is the call graph for this function:

Member Function Documentation

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

Here is the call graph for this function:

Here is the caller graph for this function:

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

Here is the caller graph for this function:

Member Data Documentation

View<double**, CLayout, HostType> Moments::den_all

density, \( \int f d\mathbf{v} \), on all nodes [Nsp,Nnode]

View<double**, CLayout, HostType> Moments::den_local

density, \( \int f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode]

View<double**, CLayout, HostType> Moments::Kpara_local

parllel kinetic energy, \( \int v_\parallel^2 d\mathbf{v} \), local to compute node [Nsp,Nlocalnode]

View<double**, CLayout, HostType> Moments::Kperp_local

perpendicular kinetic energy, \( \int 1/2 v_\perp^2 f d\mathbf{v} \), local to compute node [Nsp,Nlocalnode]

View<double**, CLayout, HostType> Moments::temp_all

temperature, \( 2/3 \int 1/2 (\mathbf{v} - u_\parallel)^2 f d\mathbf{v} \), on all nodes [Nsp,Nnode]

View<double**, CLayout, HostType> Moments::temp_local

temperature, \( 2/3 \int 1/2 (\mathbf{v} - u_\parallel)^2 f d\mathbf{v} \), local to compute node [Nsp,Nlocalnode]

View<double**, CLayout, HostType> Moments::temp_para_all

parllel kinetic energy, \( \int v_\parallel^2 d\mathbf{v} \), on all nodes [Nsp,Nnode]

View<double**, CLayout, HostType> Moments::temp_para_local

parallel temperature, \( \int (v_\parallel-u_\parallel)^2 d\mathbf{v} \), local to compute node [Nsp,Nlocalnode]

View<double**, CLayout, HostType> Moments::temp_perp_all

perpendicular kinetic energy, \( \int 1/2 v_\perp^2 f d\mathbf{v} \), on all nodes [Nsp,Nnode]

View<double**, CLayout, HostType> Moments::upara_all

parallel bulk velocity, \( \int v_\parallel f d\mathbf{v} \), on all nodes [Nsp,Nnode]

View<double**, CLayout, HostType> Moments::upara_local

parallel bulk velocity, \( \int v_\parallel f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode]

View<double**, CLayout, HostType> Moments::uperp_local

perpendicular bulk velocity, \( \int v_\perp f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode]


The documentation for this struct was generated from the following file: