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
|
//- Construct per-patch addressing
|
||||||
void createPatchFaceMaps();
|
void createPatchFaceMaps();
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
parFvFieldDistributor(const parFvFieldDistributor&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const parFvFieldDistributor&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -99,6 +93,15 @@ public:
|
|||||||
static int verbose_;
|
static int verbose_;
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
parFvFieldDistributor(const parFvFieldDistributor&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const parFvFieldDistributor&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
@ -118,21 +121,6 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// 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
|
//- Helper: reconstruct and write mesh points
|
||||||
// (note: should be moved to something like processorMeshes class)
|
// (note: should be moved to something like processorMeshes class)
|
||||||
void reconstructPoints();
|
void reconstructPoints();
|
||||||
|
|||||||
@ -80,7 +80,13 @@ class parLagrangianDistributor
|
|||||||
labelList destinationCell_;
|
labelList destinationCell_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- Output verbosity when writing
|
||||||
|
static int verbose_;
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
parLagrangianDistributor(const parLagrangianDistributor&) = delete;
|
parLagrangianDistributor(const parLagrangianDistributor&) = delete;
|
||||||
@ -89,12 +95,6 @@ class parLagrangianDistributor
|
|||||||
void operator=(const parLagrangianDistributor&) = delete;
|
void operator=(const parLagrangianDistributor&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Output verbosity when writing
|
|
||||||
static int verbose_;
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
|
|||||||
@ -98,7 +98,13 @@ class parPointFieldDistributor
|
|||||||
bool isWriteProc_;
|
bool isWriteProc_;
|
||||||
|
|
||||||
|
|
||||||
// Private Member Functions
|
public:
|
||||||
|
|
||||||
|
//- Output verbosity when writing
|
||||||
|
static int verbose_;
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
//- No copy construct
|
//- No copy construct
|
||||||
parPointFieldDistributor(const parPointFieldDistributor&) = delete;
|
parPointFieldDistributor(const parPointFieldDistributor&) = delete;
|
||||||
@ -107,12 +113,6 @@ class parPointFieldDistributor
|
|||||||
void operator=(const parPointFieldDistributor&) = delete;
|
void operator=(const parPointFieldDistributor&) = delete;
|
||||||
|
|
||||||
|
|
||||||
public:
|
|
||||||
|
|
||||||
//- Output verbosity when writing
|
|
||||||
static int verbose_;
|
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Basic construction
|
//- Basic construction
|
||||||
@ -178,20 +178,6 @@ public:
|
|||||||
const mapDistributePolyMesh& distMap
|
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
|
// Field Mapping
|
||||||
|
|
||||||
|
|||||||
@ -99,12 +99,6 @@ class faMeshDistributor
|
|||||||
const labelUList& boundaryProcAddr
|
const labelUList& boundaryProcAddr
|
||||||
);
|
);
|
||||||
|
|
||||||
//- No copy construct
|
|
||||||
faMeshDistributor(const faMeshDistributor&) = delete;
|
|
||||||
|
|
||||||
//- No copy assignment
|
|
||||||
void operator=(const faMeshDistributor&) = delete;
|
|
||||||
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
|
|
||||||
@ -112,6 +106,15 @@ public:
|
|||||||
static int verbose_;
|
static int verbose_;
|
||||||
|
|
||||||
|
|
||||||
|
// Generated Methods
|
||||||
|
|
||||||
|
//- No copy construct
|
||||||
|
faMeshDistributor(const faMeshDistributor&) = delete;
|
||||||
|
|
||||||
|
//- No copy assignment
|
||||||
|
void operator=(const faMeshDistributor&) = delete;
|
||||||
|
|
||||||
|
|
||||||
// Constructors
|
// Constructors
|
||||||
|
|
||||||
//- Construct from components
|
//- Construct from components
|
||||||
@ -148,21 +151,6 @@ public:
|
|||||||
|
|
||||||
// Member Functions
|
// 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
|
// Field Mapping
|
||||||
|
|
||||||
//- Read, distribute and write all/selected point field types
|
//- Read, distribute and write all/selected point field types
|
||||||
|
|||||||
Reference in New Issue
Block a user