diff --git a/src/OpenFOAM/Make/files b/src/OpenFOAM/Make/files index ab53484868..116e78eef6 100644 --- a/src/OpenFOAM/Make/files +++ b/src/OpenFOAM/Make/files @@ -96,6 +96,7 @@ primitives/functions/Function1/quadraticRamp/quadraticRamp.C primitives/functions/Function1/quarterSineRamp/quarterSineRamp.C primitives/functions/Function1/quarterCosineRamp/quarterCosineRamp.C primitives/functions/Function1/halfCosineRamp/halfCosineRamp.C +primitives/functions/Function1/squarePulse/squarePulse.C primitives/functions/Function1/Table/tableBase.C primitives/functions/Function1/Table/TableReader/makeTableReaders.C diff --git a/src/OpenFOAM/primitives/functions/Function1/Ramp/Ramp.C b/src/OpenFOAM/primitives/functions/Function1/Ramp/Ramp.C index 33925c8bf7..9738b0fd7e 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Ramp/Ramp.C +++ b/src/OpenFOAM/primitives/functions/Function1/Ramp/Ramp.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -27,7 +27,7 @@ License // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // -template +template void Foam::Function1s::Ramp::read(const dictionary& dict) { start_ = dict.lookupOrDefault("start", 0); @@ -35,7 +35,7 @@ void Foam::Function1s::Ramp::read(const dictionary& dict) } -template +template Foam::Function1s::Ramp::Ramp ( const word& name, @@ -50,14 +50,14 @@ Foam::Function1s::Ramp::Ramp // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // -template +template Foam::Function1s::Ramp::~Ramp() {} // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // -template +template void Foam::Function1s::Ramp::write(Ostream& os) const { writeEntry(os, "start", start_); diff --git a/src/OpenFOAM/primitives/functions/Function1/Ramp/Ramp.H b/src/OpenFOAM/primitives/functions/Function1/Ramp/Ramp.H index 096635454b..db645bbe6a 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Ramp/Ramp.H +++ b/src/OpenFOAM/primitives/functions/Function1/Ramp/Ramp.H @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | Website: https://openfoam.org - \\ / A nd | Copyright (C) 2017-2020 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2017-2021 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -79,7 +79,7 @@ namespace Function1s Class Ramp Declaration \*---------------------------------------------------------------------------*/ -template +template class Ramp : public FieldFunction1 diff --git a/src/OpenFOAM/primitives/functions/Function1/objectFunction1/objectFunction1.H b/src/OpenFOAM/primitives/functions/Function1/objectFunction1/objectFunction1.H index 7dfc14ce74..f635e21639 100644 --- a/src/OpenFOAM/primitives/functions/Function1/objectFunction1/objectFunction1.H +++ b/src/OpenFOAM/primitives/functions/Function1/objectFunction1/objectFunction1.H @@ -59,7 +59,7 @@ class objectFunction1 // Private Classes //- Tag structure used to deduce type in the templated constructor - template + template struct type {}; @@ -67,7 +67,7 @@ class objectFunction1 // Private Constructors //- Construct from an name and a dictionary - template + template objectFunction1 ( const word& name, @@ -80,7 +80,7 @@ public: // Selector - template