mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: remove unused isWriteProc() methods from distribute fields
This commit is contained in:
@ -86,12 +86,6 @@ class parFvFieldDistributor
|
||||
//- Construct per-patch addressing
|
||||
void createPatchFaceMaps();
|
||||
|
||||
//- No copy construct
|
||||
parFvFieldDistributor(const parFvFieldDistributor&) = delete;
|
||||
|
||||
//- No copy assignment
|
||||
void operator=(const parFvFieldDistributor&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
@ -99,6 +93,15 @@ public:
|
||||
static int verbose_;
|
||||
|
||||
|
||||
// Generated Methods
|
||||
|
||||
//- No copy construct
|
||||
parFvFieldDistributor(const parFvFieldDistributor&) = delete;
|
||||
|
||||
//- No copy assignment
|
||||
void operator=(const parFvFieldDistributor&) = delete;
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
@ -118,21 +121,6 @@ public:
|
||||
|
||||
// Member Functions
|
||||
|
||||
//- Get status of write enabled (on this proc)
|
||||
bool isWriteProc() const noexcept
|
||||
{
|
||||
return isWriteProc_;
|
||||
}
|
||||
|
||||
//- Change status of write enabled (on this proc)
|
||||
bool isWriteProc(const bool on) noexcept
|
||||
{
|
||||
bool old(isWriteProc_);
|
||||
isWriteProc_ = on;
|
||||
return old;
|
||||
}
|
||||
|
||||
|
||||
//- Helper: reconstruct and write mesh points
|
||||
// (note: should be moved to something like processorMeshes class)
|
||||
void reconstructPoints();
|
||||
|
||||
@ -80,7 +80,13 @@ class parLagrangianDistributor
|
||||
labelList destinationCell_;
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
public:
|
||||
|
||||
//- Output verbosity when writing
|
||||
static int verbose_;
|
||||
|
||||
|
||||
// Generated Methods
|
||||
|
||||
//- No copy construct
|
||||
parLagrangianDistributor(const parLagrangianDistributor&) = delete;
|
||||
@ -89,12 +95,6 @@ class parLagrangianDistributor
|
||||
void operator=(const parLagrangianDistributor&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//- Output verbosity when writing
|
||||
static int verbose_;
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
|
||||
@ -98,7 +98,13 @@ class parPointFieldDistributor
|
||||
bool isWriteProc_;
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
public:
|
||||
|
||||
//- Output verbosity when writing
|
||||
static int verbose_;
|
||||
|
||||
|
||||
// Generated Methods
|
||||
|
||||
//- No copy construct
|
||||
parPointFieldDistributor(const parPointFieldDistributor&) = delete;
|
||||
@ -107,12 +113,6 @@ class parPointFieldDistributor
|
||||
void operator=(const parPointFieldDistributor&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
//- Output verbosity when writing
|
||||
static int verbose_;
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Basic construction
|
||||
@ -178,20 +178,6 @@ public:
|
||||
const mapDistributePolyMesh& distMap
|
||||
);
|
||||
|
||||
//- Get status of write enabled (on this proc)
|
||||
bool isWriteProc() const noexcept
|
||||
{
|
||||
return isWriteProc_;
|
||||
}
|
||||
|
||||
//- Change status of write enabled (on this proc)
|
||||
bool isWriteProc(const bool on) noexcept
|
||||
{
|
||||
bool old(isWriteProc_);
|
||||
isWriteProc_ = on;
|
||||
return old;
|
||||
}
|
||||
|
||||
|
||||
// Field Mapping
|
||||
|
||||
|
||||
@ -99,12 +99,6 @@ class faMeshDistributor
|
||||
const labelUList& boundaryProcAddr
|
||||
);
|
||||
|
||||
//- No copy construct
|
||||
faMeshDistributor(const faMeshDistributor&) = delete;
|
||||
|
||||
//- No copy assignment
|
||||
void operator=(const faMeshDistributor&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
@ -112,6 +106,15 @@ public:
|
||||
static int verbose_;
|
||||
|
||||
|
||||
// Generated Methods
|
||||
|
||||
//- No copy construct
|
||||
faMeshDistributor(const faMeshDistributor&) = delete;
|
||||
|
||||
//- No copy assignment
|
||||
void operator=(const faMeshDistributor&) = delete;
|
||||
|
||||
|
||||
// Constructors
|
||||
|
||||
//- Construct from components
|
||||
@ -148,21 +151,6 @@ public:
|
||||
|
||||
// Member Functions
|
||||
|
||||
//- Get status of write enabled (on this proc)
|
||||
bool isWriteProc() const noexcept
|
||||
{
|
||||
return isWriteProc_;
|
||||
}
|
||||
|
||||
//- Change status of write enabled (on this proc)
|
||||
bool isWriteProc(const bool on) noexcept
|
||||
{
|
||||
bool old(isWriteProc_);
|
||||
isWriteProc_ = on;
|
||||
return old;
|
||||
}
|
||||
|
||||
|
||||
// Field Mapping
|
||||
|
||||
//- Read, distribute and write all/selected point field types
|
||||
|
||||
Reference in New Issue
Block a user