XGCa
|
#include <Kokkos_Random.hpp>
#include "globals.hpp"
#include "sml.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
Go to the source code of this file.
Functions | |
void | get_node_volume (const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, const View< int *, CLayout, DeviceType > &num_t_node, const View< int **, CLayout, DeviceType > &tr_node, bool node_vol_monte, int n_monte_carlo, const View< int *, CLayout, HostType > &nnodes_on_surface_h, const View< int **, CLayout, HostType > &surf_idx_h, VolumesAndAreas &volumes_and_areas) |
void | monte_carlo_col_vb_vol (const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, long long int n_monte_carlo, bool use_nonrandom_sampling, double psi_min, double psi_max, int m, int mtheta, double inv_dp, double inv_dtheta, View< double **, CLayout, DeviceType > &vol) |
void | monte_carlo_diag_1d_vol (const DomainDecomposition< DeviceType > &pol_decomp, const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, long long int n_monte_carlo, bool use_nonrandom_sampling, View< double *, CLayout, DeviceType > &vol) |
void get_node_volume | ( | const DomainDecomposition< DeviceType > & | pol_decomp, |
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
const View< int *, CLayout, DeviceType > & | num_t_node, | ||
const View< int **, CLayout, DeviceType > & | tr_node, | ||
bool | node_vol_monte, | ||
int | n_monte_carlo, | ||
const View< int *, CLayout, HostType > & | nnodes_on_surface_h, | ||
const View< int **, CLayout, HostType > & | surf_idx_h, | ||
VolumesAndAreas & | volumes_and_areas | ||
) |
Get volume arrays
void monte_carlo_col_vb_vol | ( | const DomainDecomposition< DeviceType > & | pol_decomp, |
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
long long int | n_monte_carlo, | ||
bool | use_nonrandom_sampling, | ||
double | psi_min, | ||
double | psi_max, | ||
int | m, | ||
int | mtheta, | ||
double | inv_dp, | ||
double | inv_dtheta, | ||
View< double **, CLayout, DeviceType > & | vol | ||
) |
Get col_vb_vol
void monte_carlo_diag_1d_vol | ( | const DomainDecomposition< DeviceType > & | pol_decomp, |
const Grid< DeviceType > & | grid, | ||
const MagneticField< DeviceType > & | magnetic_field, | ||
long long int | n_monte_carlo, | ||
bool | use_nonrandom_sampling, | ||
View< double *, CLayout, DeviceType > & | vol | ||
) |
Get diag_1d_vol