37 void mixedPointPatchField<Type>::checkFieldSize()
const
41 this->size() != this->patch().size()
42 || refValue_.size() != this->patch().size()
43 || valueFraction_.size() != this->patch().size()
48 "void mixedPointPatchField<Type>::checkField() const"
49 ) <<
"field does not correspond to patch. " <<
endl
50 <<
"Field size: " << this->size() <<
" value size: "
52 <<
" valueFraction size: " << valueFraction_.size()
53 <<
" patch size: " << this->patch().size()
70 valueFraction_(p.
size())
83 refValue_(
"refValue", dict, p.
size()),
84 valueFraction_(
"valueFraction", dict, p.
size())
104 refValue_(ptf.refValue_, mapper),
105 valueFraction_(ptf.valueFraction_, mapper)
118 refValue_(ptf.refValue_),
119 valueFraction_(ptf.valueFraction_)
133 refValue_.autoMap(m);
134 valueFraction_.autoMap(m);
147 refCast<const mixedPointPatchField<Type> >(ptf);
150 refValue_.rmap(mptf.refValue_, addr);
151 valueFraction_.rmap(mptf.valueFraction_, addr);
161 valueFraction_*refValue_
162 + (1.0 - valueFraction_)*this->patchInternalField()
168 setInInternalField(iF, *
this);
177 refValue_.writeEntry(
"refValue", os);
178 valueFraction_.writeEntry(
"valueFraction", os);