stringOps: Rationalisation of expansions
Specific names have been given for expand functions. Unused functions have been removed, and functions only used locally have been removed from the namespace. Documentation has been corrected. Default and alternative value handling has been removed from code template expansion.
This commit is contained in:
@ -103,7 +103,7 @@ ${typeName}FvModel${SourceType}
|
||||
fvModel(name, modelType, mesh, dict),
|
||||
set_(mesh, coeffs())
|
||||
{
|
||||
if (${verbose:-false})
|
||||
if (${verbose})
|
||||
{
|
||||
Info<<"construct ${typeName} sha1: ${SHA1sum}"
|
||||
" from components\n";
|
||||
@ -116,7 +116,7 @@ ${typeName}FvModel${SourceType}
|
||||
${typeName}FvModel${SourceType}::
|
||||
~${typeName}FvModel${SourceType}()
|
||||
{
|
||||
if (${verbose:-false})
|
||||
if (${verbose})
|
||||
{
|
||||
Info<<"destroy ${typeName} sha1: ${SHA1sum}\n";
|
||||
}
|
||||
@ -131,7 +131,7 @@ void ${typeName}FvModel${SourceType}::addSup
|
||||
const word& fieldName
|
||||
) const
|
||||
{
|
||||
if (${verbose:-false})
|
||||
if (${verbose})
|
||||
{
|
||||
Info<<"${typeName}FvModel${SourceType}::addSup()\n";
|
||||
}
|
||||
@ -149,7 +149,7 @@ void ${typeName}FvModel${SourceType}::addSup
|
||||
const word& fieldName
|
||||
) const
|
||||
{
|
||||
if (${verbose:-false})
|
||||
if (${verbose})
|
||||
{
|
||||
Info<<"${typeName}FvModel${SourceType}::addSup()\n";
|
||||
}
|
||||
@ -168,7 +168,7 @@ void ${typeName}FvModel${SourceType}::addSup
|
||||
const word& fieldName
|
||||
) const
|
||||
{
|
||||
if (${verbose:-false})
|
||||
if (${verbose})
|
||||
{
|
||||
Info<<"${typeName}FvModel${SourceType}::addSup()\n";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user