generalised directMappedPolyPatch

This commit is contained in:
mattijs
2008-09-09 17:19:14 +01:00
parent 7b40c7ecd4
commit aa15f7a5dd

View File

@ -159,7 +159,7 @@ void directMappedFixedValueFvPatchField<Type>::updateCoeffs()
// Get the scheduling information // Get the scheduling information
const List<labelPair>& schedule = mpp.schedule(); const List<labelPair>& schedule = mpp.schedule();
const labelListList& sendCellLabels = mpp.sendCellLabels(); const labelListList& sendLabels = mpp.sendLabels();
const labelListList& receiveFaceLabels = mpp.receiveFaceLabels(); const labelListList& receiveFaceLabels = mpp.receiveFaceLabels();
@ -177,7 +177,7 @@ void directMappedFixedValueFvPatchField<Type>::updateCoeffs()
toProc<< IndirectList<Type> toProc<< IndirectList<Type>
( (
this->internalField(), this->internalField(),
sendCellLabels[recvProc] sendLabels[recvProc]
)(); )();
} }
else else
@ -204,7 +204,7 @@ void directMappedFixedValueFvPatchField<Type>::updateCoeffs()
IndirectList<Type> fromFld IndirectList<Type> fromFld
( (
this->internalField(), this->internalField(),
sendCellLabels[Pstream::myProcNo()] sendLabels[Pstream::myProcNo()]
); );
// Destination faces // Destination faces