Added data assembly level: addressing; for parallel setup
This commit is contained in:
parent
5eaba908d1
commit
552fd5fdfa
1 changed files with 23 additions and 0 deletions
|
@ -624,6 +624,29 @@ void Foam::polyBoundaryMesh::updateMesh()
|
||||||
{
|
{
|
||||||
patches[patchi].updateMesh();
|
patches[patchi].updateMesh();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Calculation of addressing, with communication
|
||||||
|
// HJ, 12/Jun/2011
|
||||||
|
forAll(*this, patchi)
|
||||||
|
{
|
||||||
|
operator[](patchi).initAddressing();
|
||||||
|
}
|
||||||
|
|
||||||
|
forAll(*this, patchi)
|
||||||
|
{
|
||||||
|
operator[](patchi).calcAddressing();
|
||||||
|
}
|
||||||
|
|
||||||
|
// Calculation of geometry with communications
|
||||||
|
forAll(*this, patchi)
|
||||||
|
{
|
||||||
|
operator[](patchi).initGeometry();
|
||||||
|
}
|
||||||
|
|
||||||
|
forAll(*this, patchi)
|
||||||
|
{
|
||||||
|
operator[](patchi).calcGeometry();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Reference in a new issue