Go to the documentation of this file.
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
SymmetricSquareMatrix & operator=(const SymmetricSquareMatrix &)=default
const Type & operator()(const label irow, const label jcol) const
static constexpr const zero Zero
A templated (m x n) matrix of objects of <T>. The layout is (mRows x nCols) - row-major order:
Templated identity and dual space identity tensors derived from SphericalTensor.
#define CHECK_MATRIX_IS_SQUARE(a, b)
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
SymmetricSquareMatrix()=default
A templated (N x N) square matrix of objects of <Type>, containing N*N elements, derived from Matrix.
tmp< DimensionedField< TypeR, GeoMesh > > New(const tmp< DimensionedField< TypeR, GeoMesh >> &tdf1, const word &name, const dimensionSet &dimensions)
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A traits class, which is primarily used for primitives.
autoPtr< SymmetricSquareMatrix< Type > > clone() const
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...