mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: TimePaths: allow non-const access to caseName
This commit is contained in:
@ -2,7 +2,7 @@
|
||||
========= |
|
||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||
\\ / O peration |
|
||||
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
|
||||
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
|
||||
\\/ M anipulation |
|
||||
-------------------------------------------------------------------------------
|
||||
License
|
||||
@ -54,7 +54,7 @@ class TimePaths
|
||||
bool processorCase_;
|
||||
const fileName rootPath_;
|
||||
fileName globalCaseName_;
|
||||
const fileName case_;
|
||||
fileName case_;
|
||||
const word system_;
|
||||
const word constant_;
|
||||
|
||||
@ -111,6 +111,12 @@ public:
|
||||
return case_;
|
||||
}
|
||||
|
||||
//- Return case name
|
||||
fileName& caseName()
|
||||
{
|
||||
return case_;
|
||||
}
|
||||
|
||||
//- Return system name
|
||||
const word& system() const
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user