Added default removte field name for implicitly created regionCoupling patch fields

This commit is contained in:
Hrvoje Jasak 2017-02-06 11:43:00 +00:00
parent fdffd47248
commit 13f27d9376

View file

@ -84,7 +84,7 @@ regionCouplingFvPatchField<Type>::regionCouplingFvPatchField
: :
coupledFvPatchField<Type>(p, iF, dict), coupledFvPatchField<Type>(p, iF, dict),
regionCouplePatch_(refCast<const regionCoupleFvPatch>(p)), regionCouplePatch_(refCast<const regionCoupleFvPatch>(p)),
remoteFieldName_(dict.lookup("remoteField")), remoteFieldName_(dict.lookupOrDefault<word>("remoteField", iF.name())),
matrixUpdateBuffer_(), matrixUpdateBuffer_(),
originalPatchField_(), originalPatchField_(),
curTimeIndex_(-1) curTimeIndex_(-1)