Updates to overlapFringe::evaluateNonOversetBoundaries
This function is now static instead of ordinary member function so it can be used by adaptiveOverlapFringe. A slight reorganization of this is needed.
This commit is contained in:
parent
c9cfe3cbf8
commit
8a1f5f66fc
2 changed files with 6 additions and 4 deletions
|
@ -47,7 +47,7 @@ namespace Foam
|
|||
void Foam::overlapFringe::evaluateNonOversetBoundaries
|
||||
(
|
||||
volScalarField::GeometricBoundaryField& psib
|
||||
) const
|
||||
)
|
||||
{
|
||||
// Code practically copy/pasted from GeometricBoundaryField::evaluateCoupled
|
||||
// GeometricBoundaryField should be redesigned to accomodate for such needs
|
||||
|
@ -88,8 +88,10 @@ void Foam::overlapFringe::evaluateNonOversetBoundaries
|
|||
}
|
||||
else if (Pstream::defaultComms() == Pstream::scheduled)
|
||||
{
|
||||
// Get the mesh by looking at first fvPatchField
|
||||
const lduSchedule& patchSchedule =
|
||||
region().mesh().globalData().patchSchedule();
|
||||
psib[0].dimensionedInternalField().mesh().globalData().
|
||||
patchSchedule();
|
||||
|
||||
forAll(patchSchedule, patchEvalI)
|
||||
{
|
||||
|
|
|
@ -148,10 +148,10 @@ public:
|
|||
|
||||
//- Helper function used to evaluate coupled boundaries, excluding
|
||||
// overset patch
|
||||
void evaluateNonOversetBoundaries
|
||||
static void evaluateNonOversetBoundaries
|
||||
(
|
||||
volScalarField::GeometricBoundaryField& psib
|
||||
) const;
|
||||
);
|
||||
|
||||
|
||||
// Constructors
|
||||
|
|
Reference in a new issue