77template<
class AnyType>
88 for (label i = 0; i < len; ++i)
128template<
class MatrixType>
139template<
class MatrixType>
240 const Field<Type>& f1,
241 const Field<Type>& f2
244 RectangularMatrix<Type> f1f2T(f1.size(), f2.size());
246 for (label i = 0; i < f1f2T.m(); ++i)
248 for (label j = 0; j < f1f2T.n(); ++j)
250 f1f2T(i, j) = f1[i]*f2[j];
Generic templated field type that is much like a Foam::List except that it is expected to hold numeri...
Templated identity and dual space identity tensors derived from SphericalTensor.
An Istream is an abstract base class for all input systems (streams, files, token lists etc)....
A templated block of an (m x n) matrix of type <MatrixType>.
A templated (m x n) matrix of objects of <T>. The layout is (mRows x nCols) - row-major order:
constexpr Matrix() noexcept
const Type & operator()(const label irow, const label jcol) const
void transfer(Matrix< RectangularMatrix< Type >, Type > &mat)
const T & first() const noexcept
Access the first element.
const T & second() const noexcept
Access the second element.
A templated (M x N) rectangular matrix of objects of <Type>, containing M*N elements,...
RectangularMatrix & operator=(const RectangularMatrix &)=default
Copy assignment.
autoPtr< RectangularMatrix< Type > > clone() const
Clone.
RectangularMatrix()=default
Default construct.
A templated (N x N) square matrix of objects of <Type>, containing N*N elements, derived from Matrix.
void size(const label n)
Older name for setAddressableSize.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
A traits class, which is primarily used for primitives and vector-space.
RectangularMatrix< Type > type
RectangularMatrix< Type > type
RectangularMatrix< Type > type
Abstract template class to provide the form resulting from the inner-product of two forms.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Pair< label > labelPair
A pair of labels.
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.
label min(const labelHashSet &set, label minValue=labelMax)
Find the min value in labelHashSet, optionally limited by second argument.
void outer(FieldField< Field1, typename outerProduct< Type1, Type2 >::type > &f, const FieldField< Field1, Type1 > &f1, const FieldField< Field2, Type2 > &f2)