Bugfix: add access to direction member functions
This commit is contained in:
parent
b7e1ca950a
commit
c9a200104f
1 changed files with 13 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Reference in a new issue