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

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 reduce_collisions_result (const DomainDecomposition< DeviceType > &pol_decomp, VGridDistribution< HostType > &df0g_tmp)
 
void add_collisions_result (VGridDistribution< HostType > &f0_df0g, VGridDistribution< HostType > &df0g_tmp, double ramp_coefficient)
 
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, double ramp_coefficient, const VGridDistribution< HostType > &f0_f, VGridDistribution< HostType > &f0_df0g, View< int *, CLayout, HostType > &converged_all, View< double *, CLayout, HostType > &node_cost)
 

Function Documentation

void add_collisions_result ( VGridDistribution< HostType > &  f0_df0g,
VGridDistribution< HostType > &  df0g_tmp,
double  ramp_coefficient 
)

Here is the call graph for this function:

Here is the caller graph for this function:

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,
double  ramp_coefficient,
const VGridDistribution< HostType > &  f0_f,
VGridDistribution< HostType > &  f0_df0g,
View< int *, CLayout, HostType > &  converged_all,
View< double *, CLayout, HostType > &  node_cost 
)

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 
)

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: