codedFvModelTemplate: Added distribute(const mapDistributePolyMesh&) for mesh redistribution

This commit is contained in:
Henry Weller
2022-01-04 23:48:36 +00:00
parent 1b116fdddd
commit b3e785579a
2 changed files with 14 additions and 2 deletions

View File

@ -179,9 +179,18 @@ void ${typeName}FvModel${SourceType}::addSup
}
void ${typeName}FvModel${SourceType}::updateMesh(const mapPolyMesh& mpm)
void ${typeName}FvModel${SourceType}::updateMesh(const mapPolyMesh& map)
{
set_.updateMesh(mpm);
set_.updateMesh(map);
}
void ${typeName}FvModel${SourceType}::distribute
(
const mapDistributePolyMesh& map
)
{
set_.distribute(map);
}