31 T Foam::functionObjects::layerAverage::symmetricCoeff()
const
33 return pTraits<T>::one;
47 if (cellLayer_[celli] != -1)
49 layerField[cellLayer_[celli]] += cellField[celli];
72 const T coeff = symmetricCoeff<T>();
74 for (
label i=0; i<nLayers_/2; i++)
76 const label j = nLayers_ - i - 1;
#define forAll(list, i)
Loop across all elements in list.
void setSize(const label)
Reset size of List.
static void listCombineGather(const List< commsStruct > &comms, List< T > &Value, const CombineOp &cop, const int tag, const label comm)
static void listCombineScatter(const List< commsStruct > &comms, List< T > &Value, const int tag, const label comm)
Scatter data. Reverse of combineGather.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
dimensioned< Type > sum(const DimensionedField< Type, GeoMesh > &df)
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
void T(FieldField< Field, Type > &f1, const FieldField< Field, Type > &f2)