mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: PatchFunction1: expose variables.
This makes coded versions easier.
This commit is contained in:
@ -99,6 +99,20 @@ const Foam::word& Foam::PatchFunction1<Type>::name() const
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
const Foam::polyPatch& Foam::PatchFunction1<Type>::patch() const
|
||||
{
|
||||
return patch_;
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
bool Foam::PatchFunction1<Type>::faceValues() const
|
||||
{
|
||||
return faceValues_;
|
||||
}
|
||||
|
||||
|
||||
template<class Type>
|
||||
void Foam::PatchFunction1<Type>::convertTimeBase(const Time&)
|
||||
{}
|
||||
|
||||
@ -183,6 +183,12 @@ public:
|
||||
//- Return the name of the entry
|
||||
const word& name() const;
|
||||
|
||||
//- Reference to the patch
|
||||
const polyPatch& patch() const;
|
||||
|
||||
//- Whether to generate face or point values on patch
|
||||
bool faceValues() const;
|
||||
|
||||
|
||||
// Manipulation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user