ENH: provide access to the underlying patch types of generic patches (issue #188)
This commit is contained in:
@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user