44 globalPointPatch_(refCast<const globalPointPatch>(p))
57 globalPointPatch_(refCast<const globalPointPatch>(p))
59 if (!isType<globalPointPatch>(p))
63 "globalPointPatchField<Type>::globalPointPatchField\n"
65 " const pointPatch& p,\n"
66 " const Field<Type>& field,\n"
67 " const dictionary& dict\n"
70 ) <<
"patch " << this->patch().index()
71 <<
" not processorPoint type. "
72 <<
"Patch type = " << p.type()
88 globalPointPatch_(refCast<const globalPointPatch>(ptf.
patch()))
90 if (!isType<globalPointPatch>(this->patch()))
94 "globalPointPatchField<Type>::globalPointPatchField\n"
96 " const globalPointPatchField<Type>& ptf,\n"
97 " const pointPatch& p,\n"
98 " const DimensionedField<Type, pointMesh>& iF,\n"
99 " const pointPatchFieldMapper& mapper\n"
101 ) <<
"Field type does not correspond to patch type for patch "
102 << this->patch().index() <<
"." <<
endl
103 <<
"Field type: " << typeName <<
endl
104 <<
"Patch type: " << this->patch().type()
118 globalPointPatch_(refCast<const globalPointPatch>(ptf.
patch()))
135 if (globalPointPatch_.globalPointSize() > 0)
138 const labelList& addr = globalPointPatch_.sharedPointAddr();
142 globalPointPatch_.globalPointSize(),
148 gpf[addr[i]] += lpf[i];
156 lpf[i] = gpf[addr[i]];
159 setInInternalField(pField, lpf);