XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
collisions.cpp File Reference
#include <stdio.h>
#include <Kokkos_Core.hpp>
#include <Kokkos_DualView.hpp>
#include "timer_macro.hpp"
#include "space_settings.hpp"
#include "globals.hpp"
#include "species.hpp"
#include "domain_decomposition.hpp"
#include "distribution.hpp"
#include "col_grid.hpp"
#include "velocity_grid.hpp"
#include "view_arithmetic.hpp"
#include "collisions.hpp"
Include dependency graph for collisions.cpp:

Functions

void set_f0_node_cost_as_updated ()
 
View< bool *, HostTypeget_in_range (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const CollisionGrid< DeviceType > &col_grid, bool exclude_private_region)
 
void reduce_converged_all (const DomainDecomposition< DeviceType > &pol_decomp, View< int *, CLayout, HostType > &converged_all, bool axisym_parallelization)
 
void count_converged (const View< int *, CLayout, HostType > &converged_all, int &converged, int &unconverged)
 
void report_convergence (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const View< int *, CLayout, HostType > &converged_all, bool axisym_parallelization)
 
void collisions_diagnostic (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const XGC_IO_Stream &stream, const View< int *, CLayout, HostType > &converged_all)
 
void reduce_collisions_result (const DomainDecomposition< DeviceType > &pol_decomp, VGridDistribution< HostType > &df0g_tmp, bool axisym_parallelization)
 
void collisions (const Grid< DeviceType > &grid, const DomainDecomposition< DeviceType > &pol_decomp, const VelocityGrid &vgrid, Plasma &plasma, const Moments &moments, CollisionGrid< DeviceType > &col_grid, double dt, bool exclude_private_region, bool symmetric_f, const VGridDistribution< HostType > &f0_f, VGridDistribution< HostType > &f0_df0g, View< double *, CLayout, HostType > &node_cost)
 

Function Documentation

void collisions ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const VelocityGrid vgrid,
Plasma plasma,
const Moments moments,
CollisionGrid< DeviceType > &  col_grid,
double  dt,
bool  exclude_private_region,
bool  symmetric_f,
const VGridDistribution< HostType > &  f0_f,
VGridDistribution< HostType > &  f0_df0g,
View< double *, CLayout, HostType > &  node_cost 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void collisions_diagnostic ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const XGC_IO_Stream stream,
const View< int *, CLayout, HostType > &  converged_all 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void count_converged ( const View< int *, CLayout, HostType > &  converged_all,
int &  converged,
int &  unconverged 
)

Here is the caller graph for this function:

View<bool*, HostType> get_in_range ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const CollisionGrid< DeviceType > &  col_grid,
bool  exclude_private_region 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void reduce_collisions_result ( const DomainDecomposition< DeviceType > &  pol_decomp,
VGridDistribution< HostType > &  df0g_tmp,
bool  axisym_parallelization 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void reduce_converged_all ( const DomainDecomposition< DeviceType > &  pol_decomp,
View< int *, CLayout, HostType > &  converged_all,
bool  axisym_parallelization 
)

Here is the caller graph for this function:

void report_convergence ( const Grid< DeviceType > &  grid,
const DomainDecomposition< DeviceType > &  pol_decomp,
const View< int *, CLayout, HostType > &  converged_all,
bool  axisym_parallelization 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void set_f0_node_cost_as_updated ( )

Here is the caller graph for this function: