Go to the documentation of this file.
32 int main(
int argc,
char *argv[])
34 dimensionedTensor dt(
"dt",
dimLength,
tensor(0, 1, 2, 3, 4, 5, 6, 7, 8));
40 Info<<
"ds*dt dt*ds: " << ds*dt <<
" " << dt*ds <<
endl;
42 dimensionedTensor dt2(
"dt2",
dimLength,
tensor(1, 1, 2, 3, 4, 5, 6, 7, 8));
48 Pout<<
"dimensionSet construct from is:"
55 Pout<<
"dimensionSet read:" << dset <<
endl;
59 Pout<<
"construct from is:"
62 Pout<<
"construct from name,is:"
68 Pout<<
"construct from name,dimensionSet,is:"
dimensioned< cmptType > component(const direction) const
Return a component as a dimensioned<cmptType>
const dimensionSet dimless(0, 0, 0, 0, 0, 0, 0)
dimensioned< Type > cmptMultiply(const dimensioned< Type > &, const dimensioned< Type > &)
const dimensionSet dimLength(0, 1, 0, 0, 0, 0, 0)
Tensor< scalar > tensor
Tensor of scalars.
Ostream & endl(Ostream &os)
Add newline and flush stream.
Dimension set for the base types.
const dimensionSet dimTime(0, 0, 1, 0, 0, 0, 0)
int main(int argc, char *argv[])
dimensioned< scalar > dimensionedScalar
Dimensioned scalar obtained from generic dimensioned type.
Generic dimensioned Type class.
Input from memory buffer stream.
dimensioned< Type > cmptDivide(const dimensioned< Type > &, const dimensioned< Type > &)
prefixOSstream Pout(cout, "Pout")