mirror of
https://github.com/ParticulateFlow/CFDEMcoupling-PFM.git
synced 2025-12-08 06:37:44 +00:00
104 lines
2.7 KiB
C++
104 lines
2.7 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
|
|
A recurrence database consisting of N separate intervals is assumed with separation
|
|
times t0 (start time), t1, ... tN (end time) and weights w0, ... wN-1.
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
#ifndef multiIntervalPath_H
|
|
#define multiIntervalPath_H
|
|
|
|
#include "recPath.H"
|
|
#include "scalarList.H"
|
|
|
|
namespace Foam
|
|
{
|
|
|
|
/*---------------------------------------------------------------------------*\
|
|
Class multiIntervalPath Declaration
|
|
\*---------------------------------------------------------------------------*/
|
|
|
|
class multiIntervalPath
|
|
:
|
|
public recPath
|
|
{
|
|
protected:
|
|
|
|
// Protected data
|
|
|
|
dictionary propsDict_;
|
|
|
|
void computeRecPath();
|
|
|
|
label meanIntervalSteps_;
|
|
|
|
label numIntervals_;
|
|
|
|
labelList intervalSizes_;
|
|
|
|
labelList intervalSizesCumulative_;
|
|
|
|
scalar Pjump_;
|
|
|
|
scalarList intervalWeights_;
|
|
|
|
scalarList intervalWeightsCumulative_;
|
|
|
|
|
|
public:
|
|
|
|
//- Runtime type information
|
|
TypeName("multiIntervalPath");
|
|
|
|
// Constructors
|
|
|
|
//- Construct from components
|
|
multiIntervalPath
|
|
(
|
|
const dictionary& dict,
|
|
recBase& base
|
|
);
|
|
|
|
|
|
// Destructor
|
|
|
|
virtual ~multiIntervalPath();
|
|
|
|
|
|
// Member Functions
|
|
|
|
|
|
};
|
|
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
} // End namespace Foam
|
|
|
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
|
|
#endif
|
|
|
|
// ************************************************************************* //
|