XGCa
|
#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"
Functions | |
void | set_f0_node_cost_as_updated () |
View< bool *, HostType > | get_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) |
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 | ||
) |
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 count_converged | ( | const View< int *, CLayout, HostType > & | converged_all, |
int & | converged, | ||
int & | unconverged | ||
) |
View<bool*, HostType> get_in_range | ( | const Grid< DeviceType > & | grid, |
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
const CollisionGrid< DeviceType > & | col_grid, | ||
bool | exclude_private_region | ||
) |
void reduce_collisions_result | ( | const DomainDecomposition< DeviceType > & | pol_decomp, |
VGridDistribution< HostType > & | df0g_tmp, | ||
bool | axisym_parallelization | ||
) |
void reduce_converged_all | ( | const DomainDecomposition< DeviceType > & | pol_decomp, |
View< int *, CLayout, HostType > & | converged_all, | ||
bool | axisym_parallelization | ||
) |
void report_convergence | ( | const Grid< DeviceType > & | grid, |
const DomainDecomposition< DeviceType > & | pol_decomp, | ||
const View< int *, CLayout, HostType > & | converged_all, | ||
bool | axisym_parallelization | ||
) |
void set_f0_node_cost_as_updated | ( | ) |