Added data assembly level: addressing; for parallel setup

This commit is contained in:
Hrvoje Jasak 2013-04-10 17:23:25 +01:00
parent 5eaba908d1
commit 552fd5fdfa

View file

@ -624,6 +624,29 @@ void Foam::polyBoundaryMesh::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();
}
}