mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
* change the default file name for the pre-defined recurrencePath The previous default 'recurrencePath' is used by the recModel class to record the recurrence-path of the simulation at run-time. Thus, the previous default value conflicts with the hard-coded file name of the recModel class. By changing the default, we can use this model with its default file name
91 lines
2.4 KiB
C++
91 lines
2.4 KiB
C++
/*---------------------------------------------------------------------------*\
|
|
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/>.
|
|
|
|
Description
|
|
Follow a pre-defined path specified in a user-provided recurrencePath file.
|
|
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
#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
|
|
|
|
// ************************************************************************* //
|