XGCa
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
get_current_triangles.hpp File Reference
#include "globals.hpp"
#include "sml.hpp"
#include "magnetic_field.hpp"
#include "grid.hpp"
#include "particles.hpp"
#include "species.hpp"
#include "get_current_triangles.tpp"
Include dependency graph for get_current_triangles.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<class Device >
KOKKOS_INLINE_FUNCTION void get_current_triangles_c (const TmpSpecies< Device > &tmp_species, const Grid< Device > &grid, const Kokkos::View< int *, Kokkos::LayoutRight, Device > &current_triangle, int)
 
template<class Device >
KOKKOS_INLINE_FUNCTION void compute_p_and_itr_c (const TmpSpecies< Device > &tmp_species, const Grid< Device > &grid, const MagneticField< Device > &magnetic_field, int i_item)
 

Function Documentation

template<class Device >
KOKKOS_INLINE_FUNCTION void compute_p_and_itr_c ( const TmpSpecies< Device > &  tmp_species,
const Grid< Device > &  grid,
const MagneticField< Device > &  magnetic_field,
int  i_item 
)

Loop over particles and save the triangle as well as the weights of each of the triangle vertices

Parameters
[in]partParticle AoSoA
[in]i_itemParticle/vector index

Here is the call graph for this function:

template<class Device >
KOKKOS_INLINE_FUNCTION void get_current_triangles_c ( const TmpSpecies< Device > &  tmp_species,
const Grid< Device > &  grid,
const Kokkos::View< int *, Kokkos::LayoutRight, Device > &  current_triangle,
int  i_item 
)

Loop over particles and save the triangle they belong to

Parameters
[in]partParticle AoSoA
[in]i_itemParticle/vector index

Here is the call graph for this function:

Here is the caller graph for this function: