Octopus 16.0
real-space, real-time, TDDFT code
iihash_low.cc File Reference
#include <config.h>
#include <unordered_map>
#include <fortran_types.h>
Include dependency graph for iihash_low.cc:

Typedefs

typedef std::unordered_map< fint, fintmap_type
 
typedef std::unordered_map< fint8, fintmap_type8
 

Functions

void FC_FUNC_ (iihash_map_init, IIHASH_MAP_INIT)(map_type **map)
 
void FC_FUNC_ (iihash_map_end, IIHASH_MAP_END)(map_type **map)
 
void FC_FUNC_ (iihash_map_insert, IIHASH_MAP_INSERT)(map_type **map
 
void FC_FUNC_ (iihash_map_lookup, IIHASH_MAP_LOOKUP)(const map_type **map
 
 if (it==(*map) ->end())
 
void FC_FUNC_ (lihash_map_init, LIHASH_MAP_INIT)(map_type8 **map)
 
void FC_FUNC_ (lihash_map_end, LIHASH_MAP_END)(map_type8 **map)
 
void FC_FUNC_ (lihash_map_insert, LIHASH_MAP_INSERT)(map_type8 **map
 
void FC_FUNC_ (lihash_map_lookup, LIHASH_MAP_LOOKUP)(const map_type8 **map
 

Variables

void const fintkey
 
void const fint const fintval
 
void const fint fintfound
 
 else
 

Typedef Documentation

◆ map_type

typedef std::unordered_map<fint, fint> map_type

◆ map_type8

typedef std::unordered_map<fint8, fint> map_type8

Function Documentation

◆ FC_FUNC_() [1/8]

void FC_FUNC_ ( iihash_map_init  ,
IIHASH_MAP_INIT   
)

◆ FC_FUNC_() [2/8]

void FC_FUNC_ ( iihash_map_end  ,
IIHASH_MAP_END   
)

◆ FC_FUNC_() [3/8]

void FC_FUNC_ ( iihash_map_insert  ,
IIHASH_MAP_INSERT   
)

◆ FC_FUNC_() [4/8]

void FC_FUNC_ ( iihash_map_lookup  ,
IIHASH_MAP_LOOKUP   
) const

◆ if()

if ( it  = = (*map)->end())

◆ FC_FUNC_() [5/8]

void FC_FUNC_ ( lihash_map_init  ,
LIHASH_MAP_INIT   
)

◆ FC_FUNC_() [6/8]

void FC_FUNC_ ( lihash_map_end  ,
LIHASH_MAP_END   
)

◆ FC_FUNC_() [7/8]

void FC_FUNC_ ( lihash_map_insert  ,
LIHASH_MAP_INSERT   
)

◆ FC_FUNC_() [8/8]

void FC_FUNC_ ( lihash_map_lookup  ,
LIHASH_MAP_LOOKUP   
) const

Variable Documentation

◆ key

void const fint8 * key

◆ val

* val
Initial value:
{
(**map)[*key] = *val
void const fint const fint * val
Definition: iihash_low.cc:41
void const fint * key
Definition: iihash_low.cc:40

◆ found

void const fint8 fint * found

◆ else

else
Initial value:
{
*found = 1
void const fint fint * found
Definition: iihash_low.cc:47