FreeFOAM The Cross-Platform CFD Toolkit
Hosted by SourceForge:
Get FreeFOAM at SourceForge.net.
            Fast, secure and Free Open Source software downloads

dimensionedType.H File Reference


Detailed Description

Definition in file dimensionedType.H.

#include "src/OpenFOAM/primitives/strings/word/word.H"
#include "src/OpenFOAM/primitives/direction/direction.H"
#include "src/OpenFOAM/dimensionSet/dimensionSet.H"
#include "src/OpenFOAM/primitives/VectorSpace/VectorSpace.H"
Include dependency graph for dimensionedType.H:

Go to the source code of this file.

Classes

class  dimensioned< Type >
 Generic dimensioned Type class. More...

Namespaces

namespace  Foam
 

Namespace for OpenFOAM.


Defines

#define  PRODUCT_OPERATOR(product, op, opFunc)

Functions

template<class Type >
Istream &  operator>> (Istream &is, dimensioned< Type > &dt)
template<class Type >
Ostream &  operator<< (Ostream &os, const dimensioned< Type > &dt)
template<class Type , int r>
dimensioned< typename
powProduct< Type, r >::type >  
pow (const dimensioned< Type > &dt, typename powProduct< Type, r >::type)
template<class Type >
dimensioned< typename
outerProduct< Type, Type >
::type >  
sqr (const dimensioned< Type > &dt)
template<class Type >
dimensioned< scalar >  magSqr (const dimensioned< Type > &dt)
template<class Type >
dimensioned< scalar >  mag (const dimensioned< Type > &dt)
template<class Type >
dimensioned< Type >  cmptMultiply (const dimensioned< Type > &, const dimensioned< Type > &)
template<class Type >
dimensioned< Type >  cmptDivide (const dimensioned< Type > &, const dimensioned< Type > &)
template<class Type >
dimensioned< Type >  max (const dimensioned< Type > &dt1, const dimensioned< Type > &dt2)
template<class Type >
dimensioned< Type >  min (const dimensioned< Type > &dt1, const dimensioned< Type > &dt2)
template<class Type >
bool  operator> (const dimensioned< Type > &dt1, const dimensioned< Type > &dt2)
template<class Type >
bool  operator< (const dimensioned< Type > &dt1, const dimensioned< Type > &dt2)
template<class Type >
dimensioned< Type >  operator+ (const dimensioned< Type > &dt1, const dimensioned< Type > &dt2)
template<class Type >
dimensioned< Type >  operator- (const dimensioned< Type > &dt)
template<class Type >
dimensioned< Type >  operator- (const dimensioned< Type > &dt1, const dimensioned< Type > &dt2)
template<class Type >
dimensioned< Type >  operator* (const dimensioned< scalar > &ds, const dimensioned< Type > &dt)
template<class Type >
dimensioned< Type >  operator/ (const dimensioned< Type > &dt, const dimensioned< scalar > &ds)

Define Documentation

#define PRODUCT_OPERATOR (   product,
  op,
  opFunc  
)
Value:
\
template<class Type1, class Type2>                                            \
dimensioned<typename product<Type1, Type2>::type>                             \
operator op(const dimensioned<Type1>&, const dimensioned<Type2>&);            \
                                                                              \
template<class Type, class Form, class Cmpt, int nCmpt>                       \
dimensioned<typename product<Type, Form>::type>                               \
operator op                                                                   \
(                                                                             \
    const dimensioned<Type>&,                                                 \
    const VectorSpace<Form,Cmpt,nCmpt>&                                       \
);                                                                            \
                                                                              \
template<class Type, class Form, class Cmpt, int nCmpt>                       \
dimensioned<typename product<Form, Type>::type>                               \
operator op                                                                   \
(                                                                             \
    const VectorSpace<Form,Cmpt,nCmpt>&,                                      \
    const dimensioned<Type>&                                                  \
);

Definition at line 258 of file dimensionedType.H.