/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation ------------------------------------------------------------------------------- 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 . \*---------------------------------------------------------------------------*/ #include "NoInjection.H" #include "addToRunTimeSelectionTable.H" // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // template Foam::NoInjection::NoInjection ( const dictionary&, CloudType& owner, const word& ) : InjectionModel(owner) {} template Foam::NoInjection::NoInjection(const NoInjection& im) : InjectionModel(im.owner_) {} // * * * * * * * * * * * * * * * * Destructor * * * * * * * * * * * * * * * // template Foam::NoInjection::~NoInjection() {} // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template bool Foam::NoInjection::active() const { return false; } template Foam::scalar Foam::NoInjection::timeEnd() const { return 0.0; } template Foam::label Foam::NoInjection::parcelsToInject ( const scalar, const scalar ) { return 0; } template Foam::scalar Foam::NoInjection::volumeToInject ( const scalar, const scalar ) { return 0.0; } template void Foam::NoInjection::setPositionAndCell ( const label, const label, const scalar, vector&, label&, label&, label& ) {} template void Foam::NoInjection::setProperties ( const label, const label, const scalar, typename CloudType::parcelType& parcel ) { // set particle velocity parcel.U() = Zero; // set particle diameter parcel.d() = 0.0; } template bool Foam::NoInjection::fullyDescribed() const { return false; } template bool Foam::NoInjection::validInjection(const label) { return false; } // ************************************************************************* //