XGC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Functions
get_volume.hpp File Reference
#include <Kokkos_Random.hpp>
#include "globals.hpp"
#include "sml.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
Include dependency graph for get_volume.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

double get_volume (const Grid< DeviceType > &grid, const MagneticField< DeviceType > &magnetic_field, int n_monte_carlo, bool calculate_node_vol_nearest)
 
void get_node_volume (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, VolumesAndAreas &volumes_and_areas)
 

Function Documentation

void get_node_volume ( 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,
VolumesAndAreas volumes_and_areas 
)

Get volume arrays

Here is the call graph for this function:

Here is the caller graph for this function:

double get_volume ( const Grid< DeviceType > &  grid,
const MagneticField< DeviceType > &  magnetic_field,
int  n_monte_carlo,
bool  calculate_node_vol_nearest 
)