Loading...
Searching...
No Matches
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

namespace  Foam
 Namespace for OpenFOAM.

Macros

#define DefinePropertyList(str)
 Define a static 'propertyList' for particle properties.
#define AddToPropertyList(ParcelType, str)
 Add to existing static 'propertyList' for particle properties.

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; \
}

Define a static 'propertyList' for particle properties.

The property list is space-delimited with brackets for vector groupings

See also
AddToPropertyList

Definition at line 45 of file particleMacros.H.

◆ AddToPropertyList

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

Add to existing static 'propertyList' for particle properties.

The property list is space-delimited with brackets for vector groupings

See also
DefinePropertyList

Definition at line 61 of file particleMacros.H.