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

 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; \
defineTemplateRunTimeSelectionTable(Reaction##Thermo, dictionary); \
defineTemplateTypeNameAndDebug(SolidReaction##Thermo, 0); \
defineTemplateTypeNameAndDebug(Reaction##Thermo, 0); \
\
template<> \
const word ReactionType##Thermo##ReactionRate::typeName \
( \
ReactionType::typeName_() \
+ SolidReaction##Thermo::typeName_() \
); \
\
addToRunTimeSelectionTable \
( \
Reaction##Thermo, \
ReactionType##Thermo##ReactionRate, \
dictionary \
);
#define defineTemplateRunTimeSelectionTable(baseType, argNames)
Define run-time selection table for template classes.
#define defineTemplateTypeNameAndDebug(Type, DebugSwitch)
Define the typeName and debug information for templates, useful.
Definition: className.H:130
fileType type(const fileName &, const bool checkVariants=true, const bool followLink=true)
Return the file type: directory or file.
Definition: POSIX.C:488

Definition at line 48 of file makeSolidReaction.H.

◆ makeSolidIRReactions

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

Definition at line 77 of file makeSolidReaction.H.