/*---------------------------------------------------------------------------*\ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | \\ / A nd | www.openfoam.com \\/ M anipulation | ------------------------------------------------------------------------------- Copyright (C) 2011-2016 OpenFOAM Foundation Copyright (C) 2021-2024 OpenCFD 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 "calculatedFvsPatchField.H" #include "fvPatchFieldMapper.H" // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // template Foam::calculatedFvsPatchField::calculatedFvsPatchField ( const fvPatch& p, const DimensionedField& iF ) : fvsPatchField(p, iF) {} template Foam::calculatedFvsPatchField::calculatedFvsPatchField ( const fvPatch& p, const DimensionedField& iF, const dictionary& dict ) : fvsPatchField(p, iF, dict, IOobjectOption::MUST_READ) {} template Foam::calculatedFvsPatchField::calculatedFvsPatchField ( const calculatedFvsPatchField& ptf, const fvPatch& p, const DimensionedField& iF, const fvPatchFieldMapper& mapper ) : fvsPatchField(ptf, p, iF, mapper) {} template Foam::calculatedFvsPatchField::calculatedFvsPatchField ( const calculatedFvsPatchField& ptf ) : fvsPatchField(ptf) {} template Foam::calculatedFvsPatchField::calculatedFvsPatchField ( const calculatedFvsPatchField& ptf, const DimensionedField& iF ) : fvsPatchField(ptf, iF) {} template Foam::tmp> Foam::fvsPatchField::NewCalculatedType ( const fvPatch& p ) { auto* patchTypeCtor = patchConstructorTable(p.type()); if (patchTypeCtor) { return patchTypeCtor ( p, DimensionedField::null() ); } else { return tmp> ( new calculatedFvsPatchField ( p, DimensionedField::null() ) ); } } template template Foam::tmp> Foam::fvsPatchField::NewCalculatedType ( const fvsPatchField& pf ) { return NewCalculatedType(pf.patch()); } // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template void Foam::calculatedFvsPatchField::write(Ostream& os) const { fvsPatchField::write(os); fvsPatchField::writeValueEntry(os); } // ************************************************************************* //