mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
changeDictionary: Simplified by removing the need for the superfluous dictionaryReplacement sub-dictionary
Added the option '-subDict' to specify a sub-dictionary if multiple replacement sets are present in the same file. This also provides backward compatibility by setting '-subDict dictionaryReplacement'
This commit is contained in:
@ -14,15 +14,13 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dictionaryReplacement
|
||||
mirrorMeshDict
|
||||
{
|
||||
mirrorMeshDict
|
||||
pointAndNormalDict
|
||||
{
|
||||
pointAndNormalDict
|
||||
{
|
||||
basePoint (0 0 0);
|
||||
normalVector (0 -1 0);
|
||||
}
|
||||
basePoint (0 0 0);
|
||||
normalVector (0 -1 0);
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,15 +14,13 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dictionaryReplacement
|
||||
mirrorMeshDict
|
||||
{
|
||||
mirrorMeshDict
|
||||
pointAndNormalDict
|
||||
{
|
||||
pointAndNormalDict
|
||||
{
|
||||
basePoint (0 0 0);
|
||||
normalVector (-1 0 0);
|
||||
}
|
||||
basePoint (0 0 0);
|
||||
normalVector (-1 0 0);
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
@ -14,15 +14,13 @@ FoamFile
|
||||
}
|
||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||
|
||||
dictionaryReplacement
|
||||
mirrorMeshDict
|
||||
{
|
||||
mirrorMeshDict
|
||||
pointAndNormalDict
|
||||
{
|
||||
pointAndNormalDict
|
||||
{
|
||||
basePoint (0 0 0);
|
||||
normalVector (0 -1 0);
|
||||
}
|
||||
basePoint (0 0 0);
|
||||
normalVector (0 -1 0);
|
||||
}
|
||||
}
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user