XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
get_volume.hpp
Go to the documentation of this file.
1 #include <Kokkos_Random.hpp>
2 #include "globals.hpp"
3 #include "sml.hpp"
4 #include "magnetic_field.hpp"
5 #include "grid.hpp"
6 
7 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,
8  const View<int*,CLayout,HostType>& nnodes_on_surface_h, const View<int**,CLayout,HostType>& surf_idx_h, VolumesAndAreas& volumes_and_areas);
9 
10 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,
11  double psi_min, double psi_max, int m, int mtheta, double inv_dp, double inv_dtheta,
12  View<double**,CLayout,DeviceType>& vol);
13 
14 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,
15  View<double*,CLayout,DeviceType>& vol);
Definition: magnetic_field.hpp:12
Definition: volumes_and_areas.hpp:8
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)
Definition: get_volume.cpp:376
Definition: magnetic_field.F90:1
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)
Definition: get_volume.cpp:535
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)
Definition: get_volume.cpp:359