Go to the documentation of this file.
37 const label fineLevelIndex
42 if (
ff.size() != fineToCoarse.size())
45 <<
"field does not correspond to level " << fineLevelIndex
46 <<
" sizes: field = " <<
ff.size()
47 <<
" level = " << fineToCoarse.size()
55 cf[fineToCoarse[i]] +=
ff[i];
64 const Field<Type>& cf,
65 const label coarseLevelIndex
68 const labelList& fineToCoarse = restrictAddressing_[coarseLevelIndex];
72 ff[i] = cf[fineToCoarse[i]];
List< label > labelList
A List of labels.
errorManip< error > abort(error &err)
PtrList< labelField > restrictAddressing_
void restrictField(Field< Type > &cf, const Field< Type > &ff, const label fineLevelIndex) const
const FieldField< fvPatchField, Type > & ff(const FieldField< fvPatchField, Type > &bf)
#define FatalErrorInFunction
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A traits class, which is primarily used for primitives.
void prolongField(Field< Type > &ff, const Field< Type > &cf, const label coarseLevelIndex) const