ListLoopM.H File Reference

Macros for accessing List elements. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define List_ACCESS(type, f, fp)   type* const __restrict__ fp = (f).begin()
 
#define List_CONST_ACCESS(type, f, fp)   const type* const __restrict__ fp = (f).begin()
 
#define List_FOR_ALL(f, i)
 
#define List_ELEM(fp, i)   (fp[i])
 

Detailed Description

Macros for accessing List elements.

Original source file ListLoopM.H

Definition in file ListLoopM.H.

Macro Definition Documentation

◆ List_ACCESS

#define List_ACCESS (   type,
  f,
  fp 
)    type* const __restrict__ fp = (f).begin()

Definition at line 39 of file ListLoopM.H.

◆ List_CONST_ACCESS

#define List_CONST_ACCESS (   type,
  f,
  fp 
)    const type* const __restrict__ fp = (f).begin()

Definition at line 43 of file ListLoopM.H.

◆ List_FOR_ALL

#define List_FOR_ALL (   f,
 
)
Value:
const label _n##i = (f).size(); \
for (label i=0; i<_n##i; ++i)

Definition at line 46 of file ListLoopM.H.

◆ List_ELEM

#define List_ELEM (   fp,
 
)    (fp[i])

Definition at line 51 of file ListLoopM.H.

f
labelList f(nPoints)