lbm_reference
Namespaces | Macros
LBM_def.h File Reference

Implementation of the LBM class. More...

#include <byteswap.h>
#include <iomanip>
+ Include dependency graph for LBM_def.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  lbm
 Common namespace for all LBM classes.
 

Macros

#define DIST(x, y, z)   ((x) - xCenter) * ((x) - xCenter) + ((y) - yCenter) * ((y) - yCenter) + ((z) - zCenter) * ((z) - zCenter)
 
#define htobe32(x)   bswap_32(x)
 
#define htobe64(x)   bswap_64(x)
 

Detailed Description

Implementation of the LBM class.

Definition in file LBM_def.h.

Macro Definition Documentation

#define DIST (   x,
  y,
 
)    ((x) - xCenter) * ((x) - xCenter) + ((y) - yCenter) * ((y) - yCenter) + ((z) - zCenter) * ((z) - zCenter)

Definition at line 1212 of file LBM_def.h.

Referenced by lbm::LBM< T >::moveSphere().

#define htobe32 (   x)    bswap_32(x)
Date
Jan 16, 2009
Author
Florian Rathgeber

Definition at line 14 of file LBM_def.h.

Referenced by lbm::LBM< T >::writeVtkFile().

#define htobe64 (   x)    bswap_64(x)

Definition at line 15 of file LBM_def.h.

Referenced by lbm::LBM< T >::writeVtkFile().