29 #define CHECK_MATRIX_IS_SQUARE(a, b) \ 32 FatalErrorInFunction \ 33 << "Attempt to create a non-square matrix (" \ 34 << a << ", " << b << ')' << nl << abort(FatalError); \ 70 template<
class AnyType>
79 for (label i=0; i <
n; ++i)
89 Matrix<SymmetricSquareMatrix<Type>, Type>(is)
121 #undef CHECK_MATRIX_IS_SQUARE label n() const noexcept
The number of columns.
A traits class, which is primarily used for primitives.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tf1, const word &name, const dimensionSet &dimensions, const bool initCopy=false)
Global function forwards to reuseTmpDimensionedField::New.
#define CHECK_MATRIX_IS_SQUARE(a, b)
A templated (m x n) matrix of objects of <T>. The layout is (mRows x nCols) - row-major order: ...
A templated (N x N) square matrix of objects of <Type>, containing N*N elements, derived from Matrix...
SymmetricSquareMatrix & operator=(const SymmetricSquareMatrix &)=default
Copy assignment.
autoPtr< SymmetricSquareMatrix< Type > > clone() const
Clone.
SymmetricSquareMatrix()=default
Default construct.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
const Type & operator()(const label irow, const label jcol) const
(i, j) const element access operator
Templated identity and dual space identity tensors derived from SphericalTensor.
static constexpr const zero Zero
Global zero (0)