ENH: streamLine/wallBoundedStreamLine - minor refactoring to enable new derived functionality

This commit is contained in:
Andrew Heather
2018-03-27 11:00:12 +01:00
parent ee2ca640d4
commit 801fb7bd5f
5 changed files with 204 additions and 121 deletions

View File

@ -125,6 +125,17 @@ class wallBoundedStreamLine
{
// Private Member Functions
//- Disallow default bitwise copy construct
wallBoundedStreamLine(const wallBoundedStreamLine&) = delete;
//- Disallow default bitwise assignment
void operator=(const wallBoundedStreamLine&) = delete;
protected:
// Protected Member Functions
//- Find wall tet on cell
tetIndices findNearestTet
(
@ -133,12 +144,6 @@ class wallBoundedStreamLine
const label celli
) const;
//- Disallow default bitwise copy construct
wallBoundedStreamLine(const wallBoundedStreamLine&) = delete;
//- Disallow default bitwise assignment
void operator=(const wallBoundedStreamLine&) = delete;
public:
@ -156,6 +161,15 @@ public:
const dictionary& dict
);
//- Construct from Time and dictionary and list of fields to sample
wallBoundedStreamLine
(
const word& name,
const Time& runTime,
const dictionary& dict,
const wordList& fieldNames
);
//- Destructor
virtual ~wallBoundedStreamLine();