makeSolidReaction.H File Reference

Macros for instantiating reactions for solid. More...

Include dependency graph for makeSolidReaction.H:
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 makeSolidReaction(ReactionType, Thermo, ReactionRate)
 
#define makeSolidIRReactions(Thermo, ReactionRate)
 

Detailed Description

Macros for instantiating reactions for solid.

Original source file makeSolidReaction.H

InClass Foam::makeSolidReaction

Definition in file makeSolidReaction.H.

Macro Definition Documentation

◆ makeSolidReaction

#define makeSolidReaction (   ReactionType,
  Thermo,
  ReactionRate 
)
Value:
\
typedef solidReaction<Thermo> solidReaction##Thermo; \
\
typedef Reaction<Thermo> Reaction##Thermo; \
\
typedef ReactionType<solidReaction, Thermo, ReactionRate> \
ReactionType##Thermo##ReactionRate; \
\
template<> \
const word ReactionType##Thermo##ReactionRate::typeName \
( \
ReactionType::typeName_() \
+ ReactionRate::type() \
+ solidReaction##Thermo::typeName_() \
); \
\
( \
Reaction##Thermo, \
ReactionType##Thermo##ReactionRate, \
dictionary \
);
#define addToRunTimeSelectionTable(baseType, thisType, argNames)
Add to construction table with typeName as the key.

Definition at line 51 of file makeSolidReaction.H.

◆ makeSolidIRReactions

#define makeSolidIRReactions (   Thermo,
  ReactionRate 
)
Value:
\
makeSolidReaction(IrreversibleReaction, Thermo, ReactionRate)

Definition at line 75 of file makeSolidReaction.H.