Classes | Namespaces | Macros | Functions
dimensionedType.H File Reference
Include dependency graph for dimensionedType.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

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

Namespaces

 Foam
 Namespace for OpenFOAM.
 

Macros

#define PRODUCT_OPERATOR(product, op, opFunc)
 

Functions

template<class Type >
Istream & operator>> (Istream &, dimensioned< Type > &)
 
template<class Type >
Ostream & operator<< (Ostream &, const dimensioned< Type > &)
 
template<class Type , direction r>
dimensioned< typename powProduct< Type, r >::type > pow (const dimensioned< Type > &, typename powProduct< Type, r >::type=pTraits< typename powProduct< Type, r >::type >::zero)
 
template<class Type >
dimensioned< typename outerProduct< Type, Type >::type > sqr (const dimensioned< Type > &)
 
template<class Type >
dimensioned< scalar > magSqr (const dimensioned< Type > &)
 
template<class Type >
dimensioned< scalar > mag (const dimensioned< Type > &)
 
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 > &, const dimensioned< Type > &)
 
template<class Type >
dimensioned< Type > min (const dimensioned< Type > &, const dimensioned< Type > &)
 
template<class Type >
bool operator> (const dimensioned< Type > &, const dimensioned< Type > &)
 
template<class Type >
bool operator< (const dimensioned< Type > &, const dimensioned< Type > &)
 
template<class Type >
dimensioned< Type > operator+ (const dimensioned< Type > &, const dimensioned< Type > &)
 
template<class Type >
dimensioned< Type > operator- (const dimensioned< Type > &)
 
template<class Type >
dimensioned< Type > operator- (const dimensioned< Type > &, const dimensioned< Type > &)
 
template<class Type >
dimensioned< Type > operator* (const dimensioned< scalar > &, const dimensioned< Type > &)
 
template<class Type >
dimensioned< Type > operator/ (const dimensioned< Type > &, const dimensioned< scalar > &)
 
template<class Type1 , class Type2 >
dimensioned< typename outerProduct< Type1, Type2 >::type > operator* (const dimensioned< Type1 > &, const dimensioned< Type2 > &)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
dimensioned< typename outerProduct< Type, Form >::type > operator* (const dimensioned< Type > &, const VectorSpace< Form, Cmpt, nCmpt > &)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
dimensioned< typename outerProduct< Form, Type >::type > operator* (const VectorSpace< Form, Cmpt, nCmpt > &, const dimensioned< Type > &)
 
template<class Type1 , class Type2 >
dimensioned< typename crossProduct< Type1, Type2 >::type > operator^ (const dimensioned< Type1 > &, const dimensioned< Type2 > &)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
dimensioned< typename crossProduct< Type, Form >::type > operator^ (const dimensioned< Type > &, const VectorSpace< Form, Cmpt, nCmpt > &)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
dimensioned< typename crossProduct< Form, Type >::type > operator^ (const VectorSpace< Form, Cmpt, nCmpt > &, const dimensioned< Type > &)
 
template<class Type1 , class Type2 >
dimensioned< typename innerProduct< Type1, Type2 >::type > operator& (const dimensioned< Type1 > &, const dimensioned< Type2 > &)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
dimensioned< typename innerProduct< Type, Form >::type > operator& (const dimensioned< Type > &, const VectorSpace< Form, Cmpt, nCmpt > &)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
dimensioned< typename innerProduct< Form, Type >::type > operator& (const VectorSpace< Form, Cmpt, nCmpt > &, const dimensioned< Type > &)
 
template<class Type1 , class Type2 >
dimensioned< typename scalarProduct< Type1, Type2 >::type > operator&& (const dimensioned< Type1 > &, const dimensioned< Type2 > &)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
dimensioned< typename scalarProduct< Type, Form >::type > operator&& (const dimensioned< Type > &, const VectorSpace< Form, Cmpt, nCmpt > &)
 
template<class Type , class Form , class Cmpt , direction nCmpt>
dimensioned< typename scalarProduct< Form, Type >::type > operator&& (const VectorSpace< Form, Cmpt, nCmpt > &, const dimensioned< Type > &)
 

Detailed Description

Original source file dimensionedType.H

Definition in file dimensionedType.H.

Macro Definition Documentation

◆ PRODUCT_OPERATOR

#define PRODUCT_OPERATOR (   product,
  op,
  opFunc 
)
Value:
\
template<class Type1, class Type2> \
operator op(const dimensioned<Type1>&, const dimensioned<Type2>&); \
\
template<class Type, class Form, class Cmpt, direction nCmpt> \
operator op \
( \
const dimensioned<Type>&, \
const VectorSpace<Form,Cmpt,nCmpt>& \
); \
\
template<class Type, class Form, class Cmpt, direction nCmpt> \
operator op \
( \
const VectorSpace<Form,Cmpt,nCmpt>&, \
const dimensioned<Type>& \
);
type
Types of root.
Definition: Roots.H:52

Definition at line 302 of file dimensionedType.H.