* readNorm: refactor recurrence matrix reading into its own recNorm -> less duplication

* predefinedPath: backport ability to follow prescribed recurrence path
This commit is contained in:
Paul Kieckhefen
2018-05-23 14:21:30 +02:00
parent ca29eaff3a
commit 3132d9bf4e
12 changed files with 499 additions and 53 deletions

View File

@ -0,0 +1,86 @@
/*---------------------------------------------------------------------------*\
CFDEMcoupling academic - Open Source CFD-DEM coupling
Contributing authors:
Thomas Lichtenegger
Copyright (C) 2015- Johannes Kepler University, Linz
-------------------------------------------------------------------------------
License
This file is part of CFDEMcoupling academic.
CFDEMcoupling academic is free software: you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
CFDEMcoupling academic is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
for more details.
You should have received a copy of the GNU General Public License
along with CFDEMcoupling academic. If not, see <http://www.gnu.org/licenses/>.
\*---------------------------------------------------------------------------*/
#ifndef predefinedPath_H
#define predefinedPath_H
#include "recPath.H"
namespace Foam
{
/*---------------------------------------------------------------------------*\
Class predefinedPath Declaration
\*---------------------------------------------------------------------------*/
class predefinedPath
:
public recPath
{
protected:
// Protected data
dictionary propsDict_;
word fileName_;
void computeRecPath();
public:
//- Runtime type information
TypeName("predefinedPath");
// Constructors
//- Construct from components
predefinedPath
(
const dictionary& dict,
recBase& base
);
// Destructor
virtual ~predefinedPath();
// Member Functions
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif
// ************************************************************************* //