COMP: remove unused variables, etc in Cloud
This commit is contained in:
parent
89e1d8c269
commit
3d2df7cdf6
@ -460,7 +460,7 @@ void Foam::wallBoundedParticle::writeFields(const TrackCloudType& c)
|
||||
{
|
||||
particle::writeFields(c);
|
||||
|
||||
label np = c.size();
|
||||
const label np = c.size();
|
||||
|
||||
IOField<point> localPosition
|
||||
(
|
||||
|
@ -615,33 +615,27 @@ Foam::DSMCCloud<ParcelType>::DSMCCloud
|
||||
rndGen_(Pstream::myProcNo()),
|
||||
boundaryT_
|
||||
(
|
||||
volScalarField
|
||||
IOobject
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"boundaryT",
|
||||
mesh_.time().timeName(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
mesh_
|
||||
)
|
||||
"boundaryT",
|
||||
mesh_.time().timeName(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
mesh_
|
||||
),
|
||||
boundaryU_
|
||||
(
|
||||
volVectorField
|
||||
IOobject
|
||||
(
|
||||
IOobject
|
||||
(
|
||||
"boundaryU",
|
||||
mesh_.time().timeName(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
mesh_
|
||||
)
|
||||
"boundaryU",
|
||||
mesh_.time().timeName(),
|
||||
mesh_,
|
||||
IOobject::MUST_READ,
|
||||
IOobject::AUTO_WRITE
|
||||
),
|
||||
mesh_
|
||||
),
|
||||
binaryCollisionModel_
|
||||
(
|
||||
|
@ -222,7 +222,7 @@ public:
|
||||
IOobject fieldIOobject
|
||||
(
|
||||
const word& fieldName,
|
||||
IOobjectOption::readOption rOpt
|
||||
IOobjectOption::readOption rOpt = IOobjectOption::NO_READ
|
||||
) const;
|
||||
|
||||
//- Check lagrangian data field
|
||||
|
@ -199,8 +199,8 @@ Foam::IOobject Foam::Cloud<ParticleType>::fieldIOobject
|
||||
time().timeName(),
|
||||
*this,
|
||||
rOpt,
|
||||
IOobject::NO_WRITE,
|
||||
IOobject::NO_REGISTER
|
||||
IOobjectOption::NO_WRITE,
|
||||
IOobjectOption::NO_REGISTER
|
||||
);
|
||||
}
|
||||
|
||||
|
@ -142,7 +142,7 @@ void Foam::injectedParticle::writeFields(const Cloud<injectedParticle>& c)
|
||||
|
||||
// Note: not writing local position_ - defer to base particle class
|
||||
|
||||
label np = c.size();
|
||||
const label np = c.size();
|
||||
|
||||
IOField<label> tag(c.fieldIOobject("tag", IOobject::NO_READ), np);
|
||||
IOField<scalar> soi(c.fieldIOobject("soi", IOobject::NO_READ), np);
|
||||
|
@ -336,7 +336,7 @@ void Foam::ReactingMultiphaseParcel<ParcelType>::readObjects
|
||||
{
|
||||
ParcelType::readObjects(c, obr);
|
||||
|
||||
const label np = c.size();
|
||||
// const label np = c.size();
|
||||
const bool readOnProc = c.size();
|
||||
|
||||
// The composition fractions
|
||||
|
Loading…
Reference in New Issue
Block a user