ENH: streamLine/wallBoundedStreamLine - minor refactoring to enable new derived functionality
This commit is contained in:
@ -63,7 +63,7 @@ class streamLineBase
|
||||
:
|
||||
public fvMeshFunctionObject
|
||||
{
|
||||
// Private data
|
||||
protected:
|
||||
|
||||
//- Seed set engine
|
||||
mutable autoPtr<sampledSet> sampledSetPtr_;
|
||||
@ -71,8 +71,6 @@ class streamLineBase
|
||||
//- Axis of the sampled points to output
|
||||
mutable word sampledSetAxis_;
|
||||
|
||||
protected:
|
||||
|
||||
//- Input dictionary
|
||||
dictionary dict_;
|
||||
|
||||
@ -184,6 +182,16 @@ protected:
|
||||
//- Do the actual tracking to fill the track data
|
||||
virtual void track() = 0;
|
||||
|
||||
//- Write tracks to file
|
||||
virtual bool writeToFile();
|
||||
|
||||
//- Reset the field names
|
||||
virtual void resetFieldNames
|
||||
(
|
||||
const word& newUName,
|
||||
const wordList& newFieldNames
|
||||
);
|
||||
|
||||
|
||||
public:
|
||||
|
||||
@ -202,6 +210,15 @@ public:
|
||||
const dictionary& dict
|
||||
);
|
||||
|
||||
//- Construct from Time and dictionary and list of fields to sample
|
||||
streamLineBase
|
||||
(
|
||||
const word& name,
|
||||
const Time& runTime,
|
||||
const dictionary& dict,
|
||||
const wordList& fieldNames
|
||||
);
|
||||
|
||||
|
||||
//- Destructor
|
||||
virtual ~streamLineBase();
|
||||
|
||||
Reference in New Issue
Block a user