Skip to content
Snippets Groups Projects
Commit 24694981 authored by Henry Weller's avatar Henry Weller Committed by Andrew Heather
Browse files

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

Resolves bug-report https://bugs.openfoam.org/view.php?id=2579
parent e5b0f747
Branches
Tags
1 merge request!144Integration openfoam.org
...@@ -179,7 +179,7 @@ void ${typeName}FvOption${SourceType}::addSup ...@@ -179,7 +179,7 @@ void ${typeName}FvOption${SourceType}::addSup
} }
void ${typeName}FvOption${SourceType}::setValue void ${typeName}FvOption${SourceType}::constrain
( (
fvMatrix<${TemplateType}>& eqn, fvMatrix<${TemplateType}>& eqn,
const label fieldi const label fieldi
...@@ -187,7 +187,7 @@ void ${typeName}FvOption${SourceType}::setValue ...@@ -187,7 +187,7 @@ void ${typeName}FvOption${SourceType}::setValue
{ {
if (${verbose:-false}) if (${verbose:-false})
{ {
Info<<"${typeName}FvOption${SourceType}::setValue()\n"; Info<<"${typeName}FvOption${SourceType}::constrain()\n";
} }
//{{{ begin code //{{{ begin code
......
...@@ -36,10 +36,10 @@ Description ...@@ -36,10 +36,10 @@ Description
const label fieldi const label fieldi
) )
setValue constrain
( (
fvMatrix<Type}>& eqn, fvMatrix<Type>& eqn,
const label fieldi const label fieldi
) )
where : where :
...@@ -172,7 +172,7 @@ public: ...@@ -172,7 +172,7 @@ public:
); );
//- Set value //- Set value
virtual void setValue virtual void constrain
( (
fvMatrix<${TemplateType}>& eqn, fvMatrix<${TemplateType}>& eqn,
const label fieldi const label fieldi
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment