78 Type
x = this->operator[](i);
81 this->operator[](i) = Type(0);
85 this->operator[](i) = Type(1)/
x;
static const Foam::dimensionedScalar A("A", Foam::dimPressure, 611.21)
#define forAll(list, i)
Loop across all elements in list.
DiagonalMatrix<Type> is a 2D diagonal matrix of objects of type Type, size nxn.
DiagonalMatrix< Type > & invert()
Invert the diagonal matrix and return itself.
DiagonalMatrix()
Null constructor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A templated (m x n) matrix of objects of <T>.
Type & operator[](const label)
Return element of UList.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
layerAndWeight min(const layerAndWeight &a, const layerAndWeight &b)
dimensioned< scalar > mag(const dimensioned< Type > &)
dimensionedSphericalTensor inv(const dimensionedSphericalTensor &dt)