Standardised the class declaration section comments to correspond to the foamNewSource template
This commit is contained in:
@ -56,15 +56,6 @@ class ensightAsciiStream
|
||||
OFstream str_;
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
ensightAsciiStream(const ensightAsciiStream&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const ensightAsciiStream&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
// Constructors
|
||||
@ -86,6 +77,9 @@ public:
|
||||
str_.precision(5);
|
||||
}
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
ensightAsciiStream(const ensightAsciiStream&) = delete;
|
||||
|
||||
|
||||
//- Destructor
|
||||
virtual ~ensightAsciiStream()
|
||||
@ -139,14 +133,11 @@ public:
|
||||
<< setw(10) << partI << nl;
|
||||
}
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
// Friend Functions
|
||||
|
||||
// Friend Operators
|
||||
|
||||
// IOstream Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const ensightAsciiStream&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -55,15 +55,6 @@ class ensightBinaryStream
|
||||
autoPtr<std::ofstream> str_;
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
ensightBinaryStream(const ensightBinaryStream&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const ensightBinaryStream&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
// Constructors
|
||||
@ -82,6 +73,9 @@ public:
|
||||
)
|
||||
{}
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
ensightBinaryStream(const ensightBinaryStream&) = delete;
|
||||
|
||||
|
||||
//- Destructor
|
||||
virtual ~ensightBinaryStream()
|
||||
@ -141,14 +135,11 @@ public:
|
||||
write(partI);
|
||||
}
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
// Friend Functions
|
||||
|
||||
// Friend Operators
|
||||
|
||||
// IOstream Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const ensightBinaryStream&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -139,12 +139,6 @@ private:
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
ensightMesh(const ensightMesh&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const ensightMesh&) = delete;
|
||||
|
||||
void writePoints
|
||||
(
|
||||
const scalarField& pointsComponent,
|
||||
@ -270,6 +264,9 @@ public:
|
||||
const bool binary
|
||||
);
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
ensightMesh(const ensightMesh&) = delete;
|
||||
|
||||
|
||||
//- Destructor
|
||||
~ensightMesh();
|
||||
@ -378,6 +375,11 @@ public:
|
||||
Ostream& ensightCaseFile
|
||||
) const;
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const ensightMesh&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -54,14 +54,6 @@ class ensightStream
|
||||
|
||||
const fileName name_;
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
ensightStream(const ensightStream&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const ensightStream&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
@ -73,6 +65,9 @@ public:
|
||||
name_(f)
|
||||
{}
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
ensightStream(const ensightStream&) = delete;
|
||||
|
||||
|
||||
//- Destructor
|
||||
virtual ~ensightStream()
|
||||
@ -99,7 +94,10 @@ public:
|
||||
virtual void writePartHeader(const label) = 0;
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const ensightStream&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -63,18 +63,6 @@ class vtkMesh
|
||||
//- Current cellSet (or empty)
|
||||
const word setName_;
|
||||
|
||||
// //- Current decomposition of topology
|
||||
// mutable autoPtr<vtkTopo> topoPtr_;
|
||||
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
vtkMesh(const vtkMesh&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const vtkMesh&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
@ -84,6 +72,9 @@ public:
|
||||
//- Construct from components
|
||||
vtkMesh(fvMesh& baseMesh, const word& setName = "");
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
vtkMesh(const vtkMesh&) = delete;
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
@ -106,16 +97,6 @@ public:
|
||||
return setName_.size();
|
||||
}
|
||||
|
||||
// //- topology
|
||||
// const vtkTopo& topo() const
|
||||
// {
|
||||
// if (topoPtr_.empty())
|
||||
// {
|
||||
// topoPtr_.reset(new vtkTopo(mesh()));
|
||||
// }
|
||||
// return topoPtr_();
|
||||
// }
|
||||
|
||||
//- Access either mesh or submesh
|
||||
const fvMesh& mesh() const
|
||||
{
|
||||
@ -129,18 +110,6 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
// //- Number of field cells
|
||||
// label nFieldCells() const
|
||||
// {
|
||||
// return topo().vertLabels().size();
|
||||
// }
|
||||
//
|
||||
// //- Number of field points
|
||||
// label nFieldPoints() const
|
||||
// {
|
||||
// return mesh().nPoints() + topo().addPointCellLabels().size();
|
||||
// }
|
||||
|
||||
|
||||
// Edit
|
||||
|
||||
@ -164,6 +133,12 @@ public:
|
||||
return fld;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const vtkMesh&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -68,16 +68,6 @@ class vtkMesh
|
||||
mutable autoPtr<vtkTopo> topoPtr_;
|
||||
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
vtkMesh(const vtkMesh&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const vtkMesh&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
// Constructors
|
||||
@ -85,6 +75,9 @@ public:
|
||||
//- Construct from components
|
||||
vtkMesh(fvMesh& baseMesh, const word& setName = "");
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
vtkMesh(const vtkMesh&) = delete;
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
@ -165,6 +158,12 @@ public:
|
||||
return fld;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const vtkMesh&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -66,15 +66,6 @@ class vtkTopo
|
||||
labelList superCells_;
|
||||
|
||||
|
||||
// Private Member Functions
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
vtkTopo(const vtkTopo&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const vtkTopo&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
// Public static data
|
||||
@ -102,6 +93,10 @@ public:
|
||||
//- Construct from components
|
||||
vtkTopo(const polyMesh&);
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
vtkTopo(const vtkTopo&) = delete;
|
||||
|
||||
|
||||
// Member Functions
|
||||
|
||||
// Access
|
||||
@ -125,6 +120,12 @@ public:
|
||||
{
|
||||
return superCells_;
|
||||
}
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const vtkTopo&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
@ -92,12 +92,6 @@ class writeVTK
|
||||
template<class GeoField>
|
||||
UPtrList<const GeoField> lookupFields() const;
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
writeVTK(const writeVTK&) = delete;
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const writeVTK&) = delete;
|
||||
|
||||
|
||||
public:
|
||||
|
||||
@ -115,6 +109,9 @@ public:
|
||||
const dictionary&
|
||||
);
|
||||
|
||||
//- Disallow default bitwise copy construction
|
||||
writeVTK(const writeVTK&) = delete;
|
||||
|
||||
|
||||
//- Destructor
|
||||
virtual ~writeVTK();
|
||||
@ -130,6 +127,12 @@ public:
|
||||
|
||||
//- Write the writeVTK
|
||||
virtual bool write();
|
||||
|
||||
|
||||
// Member Operators
|
||||
|
||||
//- Disallow default bitwise assignment
|
||||
void operator=(const writeVTK&) = delete;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user