particleMacros.H File Reference

Macros for adding to particle property lists. More...

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

Go to the source code of this file.

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define DefinePropertyList(str)
 
#define AddToPropertyList(ParcelType, str)
 

Detailed Description

Macros for adding to particle property lists.

Original source file particleMacros.H

InClass Foam::particle

Definition in file particleMacros.H.

Macro Definition Documentation

◆ DefinePropertyList

#define DefinePropertyList (   str)
Value:
\
static string propertyList_; \
\
static string propertyList() \
{ \
return str; \
}

Definition at line 42 of file particleMacros.H.

Referenced by particle< Type >::trackingData::trackingData().

◆ AddToPropertyList

#define AddToPropertyList (   ParcelType,
  str 
)
Value:
\
static string propertyList_; \
\
static string propertyList() \
{ \
return ParcelType::propertyList() + str; \
}

Definition at line 52 of file particleMacros.H.