Chombo + EB + MF  3.2
Functions
CHSystem Namespace Reference

Functions

int fileExists (const char *const a_filename)
 Check if a file exists. More...
 
int memalign (void **a_memptr, size_t a_alignment, size_t a_size)
 Allocate aligned memory. More...
 
int popcnt (unsigned i)
 

Function Documentation

◆ fileExists()

int CHSystem::fileExists ( const char *const  a_filename)

Check if a file exists.

◆ memalign()

int CHSystem::memalign ( void **  a_memptr,
size_t  a_alignment,
size_t  a_size 
)

Allocate aligned memory.

◆ popcnt()

int CHSystem::popcnt ( unsigned  i)
inline
Parameters
[in]a_iInteger
Returns
Number of bits set to 1