ORB5X 1.0.0
Performance-portable global electromagnetic gyrokinetic PIC code
orb5x::PairHash Struct Reference

Hashes (global toroidal mode, matrix number) keys. More...

#include "solver_data.hpp"

Public Member Functions

std::size_t operator() (const std::pair< int, int > &p) const
 Return a stable combined hash for a mode/matrix key.
 

Detailed Description

Hashes (global toroidal mode, matrix number) keys.

Member Function Documentation

◆ operator()()

std::size_t orb5x::PairHash::operator() ( const std::pair< int, int > &  p) const
inline

Return a stable combined hash for a mode/matrix key.

Parameters
[in]pPair (global toroidal mode,matrix number).
Returns
Combined std::size_t hash value.

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