40 procOffsets_(
Pstream::nProcs(), 0)
45 <<
"Default construction of a " <<
typeName <<
" field should "
46 <<
"only occur on a patch with no faces"
63 db().time().processorCase()
85 procOffsets_(
Pstream::nProcs(), 0)
90 <<
"Mapped construction of a " <<
typeName <<
" field should "
91 <<
"only occur on a patch with no faces"
105 procOffsets_(ptf.procOffsets_)
119 refCast<const nonConformalMappedPolyFacesFvsPatchLabelField>(plf);
121 procOffsets_ = ncmwpfplf.procOffsets_;
128 labelList result(procOffsets_.size(), -1);
130 for (
label proci = 0; proci < procOffsets_.size() - 1; ++ proci)
132 result[proci] = procOffsets_[proci + 1] - procOffsets_[proci];
135 result.
last() = size() - procOffsets_.last();
148 if (db().time().processorCase())
Macros for easy insertion into run-time selection tables.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
friend Ostream & operator(Ostream &, const Field< label > &)
static const char *const typeName
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
Inter-processor communications stream.
T & last()
Return the last element of the list.
A list of keyword definitions, which are a keyword followed by any number of values (e....
Abstract base class for field mapping.
A finiteVolume patch using a polyPatch and a fvBoundaryMesh.
An abstract base class with a fat-interface to all derived classes covering all possible ways in whic...
virtual void write(Ostream &) const
Write.
virtual void reset(const fvsPatchField< Type > &)
Reset the fvsPatchField to the given fvsPatchField.
#define FatalErrorInFunction
Report an error message using Foam::FatalError.
errorManipArg< error, int > exit(error &err, const int errNo=1)
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void writeEntry(Ostream &os, const HashTable< T, Key, Hash > &ht)
Field< label > labelField
Specialisation of Field<T> for label.
makeFvsPatchTypeField(fvsPatchLabelField, nonConformalMappedPolyFacesFvsPatchLabelField)