BUG: codedFvOptionTemplate: updated 'setValue' to 'constrain'

Resolves bug-report https://bugs.openfoam.org/view.php?id=2579
This commit is contained in:
Henry Weller 2017-06-13 16:52:16 +01:00 committed by Andrew Heather
parent c38a0b1a4b
commit f96db2d600
2 changed files with 6 additions and 6 deletions

View File

@ -179,7 +179,7 @@ void ${typeName}FvOption${SourceType}::addSup
}
void ${typeName}FvOption${SourceType}::setValue
void ${typeName}FvOption${SourceType}::constrain
(
fvMatrix<${TemplateType}>& eqn,
const label fieldi
@ -187,7 +187,7 @@ void ${typeName}FvOption${SourceType}::setValue
{
if (${verbose:-false})
{
Info<<"${typeName}FvOption${SourceType}::setValue()\n";
Info<<"${typeName}FvOption${SourceType}::constrain()\n";
}
//{{{ begin code

View File

@ -36,10 +36,10 @@ Description
const label fieldi
)
setValue
constrain
(
fvMatrix<Type}>& eqn,
const label fieldi
fvMatrix<Type>& eqn,
const label fieldi
)
where :
@ -172,7 +172,7 @@ public:
);
//- Set value
virtual void setValue
virtual void constrain
(
fvMatrix<${TemplateType}>& eqn,
const label fieldi