/*---------------------------------------------------------------------------*\ ========= | \\ / 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-2022 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 "calculatedPointPatchField.H" // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template Foam::calculatedPointPatchField::calculatedPointPatchField ( const pointPatch& p, const DimensionedField& iF ) : pointPatchField(p, iF) {} template Foam::calculatedPointPatchField::calculatedPointPatchField ( const pointPatch& p, const DimensionedField& iF, const dictionary& dict ) : pointPatchField(p, iF, dict) {} template Foam::calculatedPointPatchField::calculatedPointPatchField ( const calculatedPointPatchField& ptf, const pointPatch& p, const DimensionedField& iF, const pointPatchFieldMapper& mapper ) : pointPatchField(ptf, p, iF, mapper) {} template Foam::calculatedPointPatchField::calculatedPointPatchField ( const calculatedPointPatchField& ptf, const DimensionedField& iF ) : pointPatchField(ptf, iF) {} template Foam::autoPtr> Foam::pointPatchField::NewCalculatedType ( const pointPatch& p ) { auto* patchTypeCtor = patchConstructorTable(p.type()); if (patchTypeCtor) { return autoPtr> ( patchTypeCtor ( p, DimensionedField::null() ) ); } else { return autoPtr> ( new calculatedPointPatchField ( p, DimensionedField::null() ) ); } } template template Foam::autoPtr> Foam::pointPatchField::NewCalculatedType ( const pointPatchField& pf ) { return NewCalculatedType(pf.patch()); } // ************************************************************************* //