32 namespace regionModels
34 namespace surfaceFilmModels
43 const typename Type::cmptType& value
46 forAll(intCoupledPatchIDs_, i)
48 label patchI = intCoupledPatchIDs_[i];
49 field.boundaryField()[patchI] = value;
52 Info<<
"Constraining " << field.name()
53 <<
" boundary " << field.boundaryField()[patchI].patch().name()
54 <<
" to " << value <<
endl;
57 forAll(passivePatchIDs_, i)
59 label patchI = passivePatchIDs_[i];
60 field.boundaryField()[patchI] = value;
63 Info<<
"Constraining " << field.name()
64 <<
" boundary " << field.boundaryField()[patchI].patch().name()
65 <<
" to " << value <<
endl;