BioCMAMC-ST
Simulation::Probes< buffer_size > Class Template Reference

#include <probe.hpp>

Public Member Functions

void clear ()
 
KOKKOS_INLINE_FUNCTION bool set (double val) const
 
bool need_export () const noexcept
 
std::span< const double > get () const
 
 Probes ()
 

Private Attributes

Kokkos::View< double[buffer_size], Kokkos::LayoutRight, Kokkos::DefaultExecutionSpace > buffer
 
Kokkos::View< uint64_t, Kokkos::SharedSpace > internal_counter
 
Kokkos::View< double[buffer_size], Kokkos::LayoutRight, Kokkos::DefaultHostExecutionSpace > host_buffer
 

Constructor & Destructor Documentation

◆ Probes()

template<std::size_t buffer_size>
Simulation::Probes< buffer_size >::Probes ( )
Here is the call graph for this function:

Member Function Documentation

◆ clear()

template<std::size_t buffer_size>
void Simulation::Probes< buffer_size >::clear ( )
Here is the caller graph for this function:

◆ get()

template<std::size_t buffer_size>
std::span< const double > Simulation::Probes< buffer_size >::get ( ) const
nodiscard

◆ need_export()

template<std::size_t buffer_size>
bool Simulation::Probes< buffer_size >::need_export ( ) const
nodiscardnoexcept

◆ set()

template<std::size_t buffer_size>
KOKKOS_INLINE_FUNCTION bool Simulation::Probes< buffer_size >::set ( double val) const
nodiscard

Member Data Documentation

◆ buffer

template<std::size_t buffer_size>
Kokkos::View<double[buffer_size], Kokkos::LayoutRight, Kokkos::DefaultExecutionSpace> Simulation::Probes< buffer_size >::buffer
private

◆ host_buffer

template<std::size_t buffer_size>
Kokkos::View<double[buffer_size], Kokkos::LayoutRight, Kokkos::DefaultHostExecutionSpace> Simulation::Probes< buffer_size >::host_buffer
private

◆ internal_counter

template<std::size_t buffer_size>
Kokkos::View<uint64_t, Kokkos::SharedSpace> Simulation::Probes< buffer_size >::internal_counter
private

The documentation for this class was generated from the following file: