mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: testDict: key substitution
This commit is contained in:
@ -47,6 +47,10 @@ x 5;
|
|||||||
varName x;
|
varName x;
|
||||||
|
|
||||||
|
|
||||||
|
//Indirection for keys
|
||||||
|
key inlet_9;
|
||||||
|
|
||||||
|
|
||||||
boundaryField
|
boundaryField
|
||||||
{
|
{
|
||||||
Default_Boundary_Region
|
Default_Boundary_Region
|
||||||
@ -63,6 +67,7 @@ boundaryField
|
|||||||
inlet_6 { $.inactive } // Test scoping
|
inlet_6 { $.inactive } // Test scoping
|
||||||
inlet_7 { ${inactive}} // Test variable expansion
|
inlet_7 { ${inactive}} // Test variable expansion
|
||||||
inlet_8 { $inactive }
|
inlet_8 { $inactive }
|
||||||
|
${key} { $inactive }
|
||||||
|
|
||||||
#include "testDictInc"
|
#include "testDictInc"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user