32 namespace regionModels
34 namespace surfaceFilmModels
43 const typename Type::cmptType& value
47 Type& result = tresult.
ref();
49 typename Type::Boundary& fieldBf = result.boundaryFieldRef();
51 forAll(intCoupledPatchIDs_, i)
57 <<
"Constraining " << tfield().name()
58 <<
" boundary " << tfield().boundaryField()[
patchi].patch().name()
59 <<
" to " << value <<
endl;
62 forAll(passivePatchIDs(), i)
67 <<
"Constraining " << tfield().name()
68 <<
" boundary " << tfield().boundaryField()[
patchi].patch().name()
69 <<
" to " << value <<
endl;
#define forAll(list, i)
Loop across all elements in list.
T & ref() const
Return non-const reference or generate a fatal error.
Ostream & endl(Ostream &os)
Add newline and flush stream.
#define DebugInFunction
Report an information message using Foam::Info.
A class for managing temporary objects.
tmp< Type > constrainFilmField(const tmp< Type > &field, const typename Type::cmptType &value)
Constrain a film region master/slave boundaries of a field to a.