diff --git a/src/OpenFOAM/db/Time/TimePaths.H b/src/OpenFOAM/db/Time/TimePaths.H index 0f5e1b11fd..88943ca61f 100644 --- a/src/OpenFOAM/db/Time/TimePaths.H +++ b/src/OpenFOAM/db/Time/TimePaths.H @@ -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 {