ENH: provide access to the underlying patch types of generic patches (issue #188)

This commit is contained in:
Mark Olesen
2016-07-15 16:24:46 +02:00
parent ecfbdce3da
commit e07327fef4
6 changed files with 38 additions and 8 deletions

View File

@ -3,7 +3,7 @@
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
\\/ M anipulation | Copyright (C) 2016 OpenCFD Ltd.
-------------------------------------------------------------------------------
License
This file is part of OpenFOAM.
@ -557,6 +557,13 @@ void Foam::genericPointPatchField<Type>::rmap
}
template<class Type>
const Foam::word& Foam::genericPointPatchField<Type>::actualType() const
{
return actualTypeName_;
}
template<class Type>
void Foam::genericPointPatchField<Type>::write(Ostream& os) const
{