XGC1
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< 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, HostTypeden_local
 density, \( \int f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode] More...
 
View< double **, CLayout, HostTypeupara_local
 parallel bulk velocity, \( \int v_\parallel f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode] More...
 
View< double **, CLayout, HostTypeuperp_local
 perpendicular bulk velocity, \( \int v_\perp f d\mathbf{v} \) local to compute node [Nsp,Nlocalnode] More...
 
View< double **, CLayout, HostTypetemp_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, HostTypeKperp_local
 perpendicular kinetic energy, \( \int 1/2 v_\perp^2 f d\mathbf{v} \), local to compute node [Nsp,Nlocalnode] More...
 
View< double **, CLayout, HostTypeKpara_local
 parllel kinetic energy, \( \int v_\parallel^2 d\mathbf{v} \), local to compute node [Nsp,Nlocalnode] More...
 
View< double **, CLayout, HostTypetemp_para_local
 parallel temperature, \( \int (v_\parallel-u_\parallel)^2 d\mathbf{v} \), local to compute node [Nsp,Nlocalnode] More...
 
View< double **, CLayout, HostTypeden_all
 density, \( \int f d\mathbf{v} \), on all nodes [Nsp,Nnode] More...
 
View< double **, CLayout, HostTypeupara_all
 parallel bulk velocity, \( \int v_\parallel f d\mathbf{v} \), on all nodes [Nsp,Nnode] More...
 
View< double **, CLayout, HostTypetemp_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, HostTypetemp_perp_all
 perpendicular kinetic energy, \( \int 1/2 v_\perp^2 f d\mathbf{v} \), on all nodes [Nsp,Nnode] More...
 
View< double **, CLayout, HostTypetemp_para_all
 parllel kinetic energy, \( \int v_\parallel^2 d\mathbf{v} \), on all nodes [Nsp,Nnode] More...
 

Constructor & Destructor Documentation

◆ Moments() [1/2]

Moments::Moments ( )
inline

◆ Moments() [2/2]

Moments::Moments ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const VelocityGrid vgrid,
Plasma plasma,
const VGridDistribution< DeviceType > &  f,
bool  do_gather 
)
Here is the call graph for this function:

Member Function Documentation

◆ calculate_moments_of_distribution()

void Moments::calculate_moments_of_distribution ( const VelocityGrid vgrid,
Plasma plasma,
const VGridDistribution< DeviceType > &  f 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ gather()

void Moments::gather ( const DomainDecomposition< DeviceType > &  pol_decomp)
Here is the caller graph for this function:

Member Data Documentation

◆ den_all

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

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

◆ den_local

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

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

◆ Kpara_local

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

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

◆ Kperp_local

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]

◆ temp_all

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]

◆ temp_local

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]

◆ temp_para_all

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

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

◆ temp_para_local

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]

◆ temp_perp_all

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]

◆ upara_all

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

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

◆ upara_local

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

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

◆ uperp_local

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 files: