Bugfix: add access to direction member functions

This commit is contained in:
Hrvoje Jasak 2016-08-01 14:43:27 +01:00
parent b7e1ca950a
commit c9a200104f

View file

@ -47,7 +47,7 @@ namespace Foam
{
/*---------------------------------------------------------------------------*\
Class pressureDirectedInletOutletVelocityFvPatch Declaration
Class pressureDirectedInletOutletVelocityFvPatchVectorField Declaration
\*---------------------------------------------------------------------------*/
class pressureDirectedInletOutletVelocityFvPatchVectorField
@ -170,6 +170,18 @@ public:
return phiName_;
}
//- Return inlet direction
const vectorField& inletDir() const
{
return inletDir_;
}
//- Return access to inlet direction
vectorField& inletDir()
{
return inletDir_;
}
// Mapping functions