/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2016-2017 Wikki Ltd ------------------------------------------------------------------------------- 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 "fixedValueFaPatchField.H" // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template Foam::fixedValueFaPatchField::fixedValueFaPatchField ( const faPatch& p, const DimensionedField& iF ) : faPatchField(p, iF) {} template Foam::fixedValueFaPatchField::fixedValueFaPatchField ( const faPatch& p, const DimensionedField& iF, const Type& value ) : faPatchField(p, iF, value) {} template Foam::fixedValueFaPatchField::fixedValueFaPatchField ( const faPatch& p, const DimensionedField& iF, const dictionary& dict, IOobjectOption::readOption requireValue ) : faPatchField(p, iF, dict, requireValue) {} template Foam::fixedValueFaPatchField::fixedValueFaPatchField ( const fixedValueFaPatchField& ptf, const DimensionedField& iF ) : faPatchField(ptf, iF) {} template Foam::fixedValueFaPatchField::fixedValueFaPatchField ( const fixedValueFaPatchField& ptf, const faPatch& p, const DimensionedField& iF, const faPatchFieldMapper& mapper ) : faPatchField(ptf, p, iF, mapper) {} template Foam::fixedValueFaPatchField::fixedValueFaPatchField ( const fixedValueFaPatchField& ptf ) : faPatchField(ptf) {} // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template Foam::tmp> Foam::fixedValueFaPatchField::valueInternalCoeffs ( const tmp& ) const { return tmp>::New(this->size(), Foam::zero{}); } template Foam::tmp> Foam::fixedValueFaPatchField::valueBoundaryCoeffs ( const tmp& ) const { return *this; } template Foam::tmp> Foam::fixedValueFaPatchField::gradientInternalCoeffs() const { return -Type(pTraits::one)*this->patch().deltaCoeffs(); } template Foam::tmp> Foam::fixedValueFaPatchField::gradientBoundaryCoeffs() const { return this->patch().deltaCoeffs()*(*this); } template void Foam::fixedValueFaPatchField::write(Ostream& os) const { faPatchField::write(os); faPatchField::writeValueEntry(os); } // ************************************************************************* //