Skip to content

Commit

Permalink
Merge branch 'master' of /home/dm4/OpenFOAM/repositories/OpenFOAM-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
mattijs committed Mar 11, 2015
2 parents 06af2e1 + 0c74d94 commit 511af4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
Expand Up @@ -35,7 +35,6 @@ EXE_LIBS = \
-lcompressibleTurbulenceModels \
-llagrangian \
-llagrangianIntermediate \
-llagrangianTurbulence \
-lspecie \
-lfluidThermophysicalModels \
-lliquidProperties \
Expand Down
Expand Up @@ -253,20 +253,18 @@ void Foam::turbulentDFSEMInletFvPatchVectorField::setNewPosition
{
while (true)
{
// Generate a position within eddy box
if (localOnly)
{
// Local position in eddy box
p = cmptMultiply(rndGen_.sample01<vector>(), bounds_);
}
else
{
p = vector::min;
if (Pstream::master())
{
// Local position in eddy box
p = cmptMultiply(rndGen_.sample01<vector>(), bounds_);
}
reduce(p, maxOp<vector>());
Pstream::scatter(p);
}

// Snap point to inlet plane at x = 0
Expand Down

0 comments on commit 511af4f

Please sign in to comment.