ENH: Changing typeName for solidChemistryModel in dictionary

This commit is contained in:
Sergio Ferraris
2013-04-11 11:12:00 +01:00
parent 1b1cb83348
commit 9ea79303b7
3 changed files with 5 additions and 4 deletions

View File

@ -48,7 +48,8 @@ namespace Foam
defineTemplateTypeNameAndDebugWithName \ defineTemplateTypeNameAndDebugWithName \
( \ ( \
sChemistryl##Comp##SThermo, \ sChemistryl##Comp##SThermo, \
(#sChemistry"<"#Comp"," + SThermo::typeName() + ">").c_str(), \ (word(sChemistry::typeName_()) + "<"#Comp"," + SThermo::typeName() + \
+ ">").c_str(), \
0 \ 0 \
); \ ); \
\ \

View File

@ -47,8 +47,8 @@ namespace Foam
defineTemplateTypeNameAndDebugWithName \ defineTemplateTypeNameAndDebugWithName \
( \ ( \
SS##Schem##Comp##SThermo##GThermo, \ SS##Schem##Comp##SThermo##GThermo, \
(#SS"<"#Schem"<"#Comp"," + SThermo::typeName() + "," \ (#SS"<" + word(Schem::typeName_()) +"<"#Comp"," + SThermo::typeName() \
+ GThermo::typeName() + ">>").c_str(), \ + "," + GThermo::typeName() + ">>").c_str(), \
0 \ 0 \
); \ ); \
\ \

View File

@ -18,7 +18,7 @@ FoamFile
chemistryType chemistryType
{ {
chemistrySolver ode; chemistrySolver ode;
chemistryThermo pyrolysisChemistryModel; chemistryThermo pyrolysis;
} }
chemistry on; chemistry on;