mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: minor code formatting
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -67,7 +67,7 @@ Foam::Ostream& Foam::operator<<
|
||||
// Write end delimiter
|
||||
os << token::END_BLOCK;
|
||||
}
|
||||
else if(L.size() <= 1 || (L.size() < 11 && contiguous<T>()))
|
||||
else if (L.size() <= 1 || (L.size() < 11 && contiguous<T>()))
|
||||
{
|
||||
// Write size and start delimiter
|
||||
os << L.size() << token::BEGIN_LIST;
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -170,7 +170,7 @@ void Foam::IsotropyModels::Stochastic<CloudType>::calculate()
|
||||
|
||||
const scalar x = exponentAverage.interpolate(p.position(), tetIs);
|
||||
|
||||
if(x < rndGen.sample01<scalar>())
|
||||
if (x < rndGen.sample01<scalar>())
|
||||
{
|
||||
const vector r(sampleGauss(), sampleGauss(), sampleGauss());
|
||||
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2013-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -172,7 +172,7 @@ Foam::vector Foam::PackingModels::Explicit<CloudType>::velocityCorrection
|
||||
// + forces.calcNonCoupled(p, deltaT, p.mass(), Re, p.muc());
|
||||
|
||||
// correction velocity
|
||||
if((uRelative & alphaGrad) > 0)
|
||||
if ((uRelative & alphaGrad) > 0)
|
||||
{
|
||||
dU = - deltaT*tauGrad/(p.rho()*alpha/* + deltaT*F.Sp()*/);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user