XGCa
Public Member Functions | Public Attributes | List of all members
Bounds Struct Reference

#include <bounds.hpp>

Public Member Functions

KOKKOS_INLINE_FUNCTION Bounds ()
 
 Bounds (double min_in, double max_in)
 
KOKKOS_INLINE_FUNCTION bool is_outside (double v) const
 
KOKKOS_INLINE_FUNCTION double width () const
 
KOKKOS_INLINE_FUNCTION double bound (double v) const
 

Public Attributes

double min_
 
double max_
 

Constructor & Destructor Documentation

◆ Bounds() [1/2]

KOKKOS_INLINE_FUNCTION Bounds::Bounds ( )
inline

◆ Bounds() [2/2]

Bounds::Bounds ( double  min_in,
double  max_in 
)
inline

Member Function Documentation

◆ bound()

KOKKOS_INLINE_FUNCTION double Bounds::bound ( double  v) const
inline

◆ is_outside()

KOKKOS_INLINE_FUNCTION bool Bounds::is_outside ( double  v) const
inline

◆ width()

KOKKOS_INLINE_FUNCTION double Bounds::width ( ) const
inline
Here is the caller graph for this function:

Member Data Documentation

◆ max_

double Bounds::max_

◆ min_

double Bounds::min_

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