STYLE: use default constructors/destructors for base cloud classes

- use cloud::defaultName instead of "defaultCloud" string literal
This commit is contained in:
Mark Olesen
2019-08-02 17:22:00 +02:00
committed by Andrew Heather
parent e90eafcf18
commit 037be8dbb0
26 changed files with 83 additions and 234 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\ / A nd | Copyright (C) 2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2011-2016 OpenFOAM Foundation
@ -67,13 +67,14 @@ public:
//- Type of parcel the cloud was instantiated for
typedef streamLineParticle parcelType;
// Constructors
//- Construct given mesh
streamLineParticleCloud
explicit streamLineParticleCloud
(
const polyMesh&,
const word& cloudName = "defaultCloud",
const polyMesh& mesh,
const word& cloudName = cloud::defaultName,
bool readFields = true
);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\ / A nd | Copyright (C) 2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2011-2016 OpenFOAM Foundation
@ -70,13 +70,14 @@ public:
//- Type of parcel the cloud was instantiated for
typedef wallBoundedStreamLineParticle parcelType;
// Constructors
//- Construct given mesh
wallBoundedStreamLineParticleCloud
explicit wallBoundedStreamLineParticleCloud
(
const polyMesh&,
const word& cloudName = "defaultCloud",
const polyMesh& mesh,
const word& cloudName = cloud::defaultName,
bool readFields = true
);