mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: viewFactorsGen: unused variables #1146
This commit is contained in:
@ -457,8 +457,9 @@ int main(int argc, char *argv[])
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Collect remote Cf and Sf on coarse mesh
|
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
// Distribute local coarse Cf and Sf for shooting rays
|
||||||
|
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
List<pointField> remoteCoarseCf(Pstream::nProcs());
|
List<pointField> remoteCoarseCf(Pstream::nProcs());
|
||||||
List<pointField> remoteCoarseSf(Pstream::nProcs());
|
List<pointField> remoteCoarseSf(Pstream::nProcs());
|
||||||
@ -468,19 +469,6 @@ int main(int argc, char *argv[])
|
|||||||
remoteCoarseSf[Pstream::myProcNo()] = localCoarseSf;
|
remoteCoarseSf[Pstream::myProcNo()] = localCoarseSf;
|
||||||
remoteCoarseAgg[Pstream::myProcNo()] = localAgg;
|
remoteCoarseAgg[Pstream::myProcNo()] = localAgg;
|
||||||
|
|
||||||
|
|
||||||
// Collect remote Cf and Sf on fine mesh
|
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
List<pointField> remoteFineCf(Pstream::nProcs());
|
|
||||||
List<pointField> remoteFineSf(Pstream::nProcs());
|
|
||||||
|
|
||||||
remoteCoarseCf[Pstream::myProcNo()] = localCoarseCf;
|
|
||||||
remoteCoarseSf[Pstream::myProcNo()] = localCoarseSf;
|
|
||||||
|
|
||||||
// Distribute local coarse Cf and Sf for shooting rays
|
|
||||||
// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
||||||
|
|
||||||
Pstream::gatherList(remoteCoarseCf);
|
Pstream::gatherList(remoteCoarseCf);
|
||||||
Pstream::scatterList(remoteCoarseCf);
|
Pstream::scatterList(remoteCoarseCf);
|
||||||
Pstream::gatherList(remoteCoarseSf);
|
Pstream::gatherList(remoteCoarseSf);
|
||||||
|
|||||||
Reference in New Issue
Block a user