Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
3d5d3b84
Commit
3d5d3b84
authored
Jun 14, 2018
by
Andrew Heather
Browse files
GIT: Adding files missed in commit
8540e6fb
parent
357042c8
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtSchemeBase.C
0 → 100644
View file @
3d5d3b84
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2018 OPenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM 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.
OpenFOAM 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 OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
\*---------------------------------------------------------------------------*/
#include
"ddtSchemeBase.H"
#include
"registerSwitch.H"
#include
"debug.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
bool
Foam
::
fv
::
ddtSchemeBase
::
experimentalDdtCorr
(
Foam
::
debug
::
infoSwitch
(
"experimentalDdtCorr"
,
0
)
);
registerInfoSwitch
(
"experimentalDdtCorr"
,
bool
,
Foam
::
fv
::
ddtSchemeBase
::
experimentalDdtCorr
);
// ************************************************************************* //
src/finiteVolume/finiteVolume/ddtSchemes/ddtScheme/ddtSchemeBase.H
0 → 100644
View file @
3d5d3b84
/*---------------------------------------------------------------------------*\
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2018 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
OpenFOAM 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.
OpenFOAM 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 OpenFOAM. If not, see <http://www.gnu.org/licenses/>.
Class
Foam::fv::ddtSchemeBase
Description
Non-templated base class for ddt schemes.
SourceFiles
ddtSchemeBase.C
\*---------------------------------------------------------------------------*/
#ifndef ddtSchemeBase_H
#define ddtSchemeBase_H
#include
"Switch.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
Foam
{
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace
fv
{
/*---------------------------------------------------------------------------*\
Class ddtSchemeBase Declaration
\*---------------------------------------------------------------------------*/
class
ddtSchemeBase
{
public:
//- Flag to use experimental ddtCorr from org version
//- Default is off for backwards compatibility
static
bool
experimentalDdtCorr
;
ddtSchemeBase
()
{}
};
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
}
// End namespace fv
}
// End namespace Foam
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif
// ************************************************************************* //
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment