Block-Structured AMR Software Framework
amrex::ValLocPair< TV, TI > Struct Template Reference

#include <AMReX_ValLocPair.H>

Public Member Functions

constexpr TV & first ()
 
constexpr TV const & first () const
 
constexpr TI & second ()
 
constexpr TI const & second () const
 

Static Public Member Functions

static constexpr ValLocPair< TV, TI > max ()
 
static constexpr ValLocPair< TV, TI > lowest ()
 

Public Attributes

TV value
 
TI index
 

Friends

constexpr friend bool operator< (ValLocPair< TV, TI > const &a, ValLocPair< TV, TI > const &b)
 
constexpr friend bool operator> (ValLocPair< TV, TI > const &a, ValLocPair< TV, TI > const &b)
 

Member Function Documentation

◆ first() [1/2]

template<typename TV , typename TI >
constexpr TV& amrex::ValLocPair< TV, TI >::first ( )
inlineconstexpr

◆ first() [2/2]

template<typename TV , typename TI >
constexpr TV const& amrex::ValLocPair< TV, TI >::first ( ) const
inlineconstexpr

◆ lowest()

template<typename TV , typename TI >
static constexpr ValLocPair<TV,TI> amrex::ValLocPair< TV, TI >::lowest ( )
inlinestaticconstexpr

◆ max()

template<typename TV , typename TI >
static constexpr ValLocPair<TV,TI> amrex::ValLocPair< TV, TI >::max ( )
inlinestaticconstexpr

◆ second() [1/2]

template<typename TV , typename TI >
constexpr TI& amrex::ValLocPair< TV, TI >::second ( )
inlineconstexpr

◆ second() [2/2]

template<typename TV , typename TI >
constexpr TI const& amrex::ValLocPair< TV, TI >::second ( ) const
inlineconstexpr

Friends And Related Function Documentation

◆ operator<

template<typename TV , typename TI >
constexpr friend bool operator< ( ValLocPair< TV, TI > const &  a,
ValLocPair< TV, TI > const &  b 
)
friend

◆ operator>

template<typename TV , typename TI >
constexpr friend bool operator> ( ValLocPair< TV, TI > const &  a,
ValLocPair< TV, TI > const &  b 
)
friend

Member Data Documentation

◆ index

template<typename TV , typename TI >
TI amrex::ValLocPair< TV, TI >::index

◆ value

template<typename TV , typename TI >
TV amrex::ValLocPair< TV, TI >::value

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