codedFvModelTemplate: Added distribute(const mapDistributePolyMesh&) for mesh redistribution
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -117,6 +117,9 @@ public:
|
||||
//- Update for mesh changes
|
||||
virtual void updateMesh(const mapPolyMesh&);
|
||||
|
||||
//- Update mesh corresponding to the given distribution map
|
||||
virtual void distribute(const mapDistributePolyMesh&);
|
||||
|
||||
//- Update for mesh motion
|
||||
virtual bool movePoints();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user