mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
WIP: cyclicAMIFvPatchField - disable cacheNeighbourField when using AMI cache
This commit is contained in:
@ -345,8 +345,16 @@ Foam::cyclicAMIFvPatchField<Type>::getNeighbourField
|
|||||||
template<class Type>
|
template<class Type>
|
||||||
bool Foam::cyclicAMIFvPatchField<Type>::cacheNeighbourField() const
|
bool Foam::cyclicAMIFvPatchField<Type>::cacheNeighbourField() const
|
||||||
{
|
{
|
||||||
return false;
|
const auto& AMI = this->ownerAMI();
|
||||||
return (FieldBase::localBoundaryConsistency() != 0);
|
|
||||||
|
if (AMI.cacheActive())
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
return (FieldBase::localBoundaryConsistency() != 0);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user