OpenFOAM logo
Open Source CFD Toolkit

VectorSpaceI.H File Reference


Detailed Description

View VectorSpaceI.H
License
This file is part of OpenFOAM.

OpenFOAM is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the
Free Software Foundation; either version 2 of the License, or (at your
option) any later version.

OpenFOAM is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
for more details.

You should have received a copy of the GNU General Public License
along with OpenFOAM; if not, write to the Free Software Foundation,
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Definition in file VectorSpaceI.H.

Go to the source code of this file.

Namespaces

namespace  Foam

Functions

template<class Form, class Cmpt, int nCmpt>
Cmpt & setComponent (VectorSpace< Form, Cmpt, nCmpt > &vs, const direction d)
template<class Form, class Cmpt, int nCmpt>
const Cmpt & component (const VectorSpace< Form, Cmpt, nCmpt > &vs, const direction d)
template<class Form, class Cmpt, int nCmpt>
powProduct< Form, 0 >::type pow (const VectorSpace< Form, Cmpt, nCmpt > &, typename powProduct< Form, 0 >::type=pTraits< typename powProduct< Form, 0 >::type >::zero)
template<class Form, class Cmpt, int nCmpt>
powProduct< Form, 1 >::type pow (const VectorSpace< Form, Cmpt, nCmpt > &v, typename powProduct< Form, 1 >::type=pTraits< typename powProduct< Form, 1 >::type >::zero)
template<class Form, class Cmpt, int nCmpt>
powProduct< Form, 2 >::type sqr (const VectorSpace< Form, Cmpt, nCmpt > &v)
template<class Form, class Cmpt, int nCmpt>
powProduct< Form, 2 >::type pow (const VectorSpace< Form, Cmpt, nCmpt > &v, typename powProduct< Form, 2 >::type=pTraits< typename powProduct< Form, 2 >::type >::zero)
template<class Form, class Cmpt, int nCmpt>
scalar magSqr (const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<class Form, class Cmpt, int nCmpt>
scalar mag (const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<class Form, class Cmpt, int nCmpt>
Cmpt cmptMax (const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<class Form, class Cmpt, int nCmpt>
Cmpt cmptMin (const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<class Form, class Cmpt, int nCmpt>
Cmpt cmptSum (const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<class Form, class Cmpt, int nCmpt>
Cmpt cmptAv (const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<class Form, class Cmpt, int nCmpt>
Form cmptMag (const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<class Form, class Cmpt, int nCmpt>
Form max (const VectorSpace< Form, Cmpt, nCmpt > &vs1, const VectorSpace< Form, Cmpt, nCmpt > &vs2)
template<class Form, class Cmpt, int nCmpt>
Form min (const VectorSpace< Form, Cmpt, nCmpt > &vs1, const VectorSpace< Form, Cmpt, nCmpt > &vs2)
template<class Form, class Cmpt, int nCmpt>
VectorSpace< Form, Cmpt, nCmpt > scale (const VectorSpace< Form, Cmpt, nCmpt > &vs1, const VectorSpace< Form, Cmpt, nCmpt > &vs2)
template<class Form, class Cmpt, int nCmpt>
Form operator- (const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<class Form, class Cmpt, int nCmpt>
Form operator+ (const VectorSpace< Form, Cmpt, nCmpt > &vs1, const VectorSpace< Form, Cmpt, nCmpt > &vs2)
template<class Form, class Cmpt, int nCmpt>
Form operator- (const VectorSpace< Form, Cmpt, nCmpt > &vs1, const VectorSpace< Form, Cmpt, nCmpt > &vs2)
template<class Form, class Cmpt, int nCmpt>
Form operator * (scalar s, const VectorSpace< Form, Cmpt, nCmpt > &vs)
template<class Form, class Cmpt, int nCmpt>
Form operator * (const VectorSpace< Form, Cmpt, nCmpt > &vs, scalar s)
template<class Form, class Cmpt, int nCmpt>
Form operator/ (const VectorSpace< Form, Cmpt, nCmpt > &vs, scalar s)
template<class Form, class Cmpt, int nCmpt>
Cmpt operator && (const VectorSpace< Form, Cmpt, nCmpt > &vs1, const VectorSpace< Form, Cmpt, nCmpt > &vs2)
template<class Form, class Cmpt, int nCmpt>
bool operator== (const VectorSpace< Form, Cmpt, nCmpt > &vs1, const VectorSpace< Form, Cmpt, nCmpt > &vs2)
template<class Form, class Cmpt, int nCmpt>
bool operator!= (const VectorSpace< Form, Cmpt, nCmpt > &vs1, const VectorSpace< Form, Cmpt, nCmpt > &vs2)


Function Documentation

Cmpt cmptAv const VectorSpace< Form, Cmpt, nCmpt > &  vs  )  [inline]
 

Definition at line 396 of file VectorSpaceI.H.

Form cmptMag const VectorSpace< Form, Cmpt, nCmpt > &  vs  )  [inline]
 

Definition at line 406 of file VectorSpaceI.H.

Cmpt cmptMax const VectorSpace< Form, Cmpt, nCmpt > &  vs  )  [inline]
 

Definition at line 360 of file VectorSpaceI.H.

Cmpt cmptMin const VectorSpace< Form, Cmpt, nCmpt > &  vs  )  [inline]
 

Definition at line 372 of file VectorSpaceI.H.

Cmpt cmptSum const VectorSpace< Form, Cmpt, nCmpt > &  vs  )  [inline]
 

Definition at line 384 of file VectorSpaceI.H.

Referenced by fvMesh::name().

const Cmpt& component const VectorSpace< Form, Cmpt, nCmpt > &  vs,
const direction  d
[inline]
 

Definition at line 253 of file VectorSpaceI.H.

scalar mag const VectorSpace< Form, Cmpt, nCmpt > &  vs  )  [inline]
 

Definition at line 350 of file VectorSpaceI.H.

scalar magSqr const VectorSpace< Form, Cmpt, nCmpt > &  vs  )  [inline]
 

Definition at line 338 of file VectorSpaceI.H.

Form max const VectorSpace< Form, Cmpt, nCmpt > &  vs1,
const VectorSpace< Form, Cmpt, nCmpt > &  vs2
[inline]
 

Definition at line 418 of file VectorSpaceI.H.

Form min const VectorSpace< Form, Cmpt, nCmpt > &  vs1,
const VectorSpace< Form, Cmpt, nCmpt > &  vs2
[inline]
 

Definition at line 431 of file VectorSpaceI.H.

Cmpt operator && const VectorSpace< Form, Cmpt, nCmpt > &  vs1,
const VectorSpace< Form, Cmpt, nCmpt > &  vs2
[inline]
 

Definition at line 562 of file VectorSpaceI.H.

Form operator * const VectorSpace< Form, Cmpt, nCmpt > &  vs,
scalar  s
[inline]
 

Definition at line 510 of file VectorSpaceI.H.

Form operator * scalar  s,
const VectorSpace< Form, Cmpt, nCmpt > &  vs
[inline]
 

Definition at line 497 of file VectorSpaceI.H.

bool operator!= const VectorSpace< Form, Cmpt, nCmpt > &  vs1,
const VectorSpace< Form, Cmpt, nCmpt > &  vs2
[inline]
 

Definition at line 594 of file VectorSpaceI.H.

Form operator+ const VectorSpace< Form, Cmpt, nCmpt > &  vs1,
const VectorSpace< Form, Cmpt, nCmpt > &  vs2
[inline]
 

Definition at line 471 of file VectorSpaceI.H.

Form operator- const VectorSpace< Form, Cmpt, nCmpt > &  vs1,
const VectorSpace< Form, Cmpt, nCmpt > &  vs2
[inline]
 

Definition at line 484 of file VectorSpaceI.H.

Form operator- const VectorSpace< Form, Cmpt, nCmpt > &  vs  )  [inline]
 

Definition at line 459 of file VectorSpaceI.H.

Form operator/ const VectorSpace< Form, Cmpt, nCmpt > &  vs,
scalar  s
[inline]
 

Definition at line 523 of file VectorSpaceI.H.

bool operator== const VectorSpace< Form, Cmpt, nCmpt > &  vs1,
const VectorSpace< Form, Cmpt, nCmpt > &  vs2
[inline]
 

Definition at line 578 of file VectorSpaceI.H.

References Foam::equal().

Here is the call graph for this function:

powProduct<Form, 2>::type pow const VectorSpace< Form, Cmpt, nCmpt > &  v,
typename powProduct< Form, 2 >::type  = pTraits<typename powProduct<Form, 2>::type>::zero
[inline]
 

Definition at line 302 of file VectorSpaceI.H.

References Foam::sqr().

Here is the call graph for this function:

powProduct<Form, 1>::type pow const VectorSpace< Form, Cmpt, nCmpt > &  v,
typename powProduct< Form, 1 >::type  = pTraits<typename powProduct<Form, 1>::type>::zero
[inline]
 

Definition at line 280 of file VectorSpaceI.H.

powProduct<Form, 0>::type pow const VectorSpace< Form, Cmpt, nCmpt > &  ,
typename powProduct< Form, 0 >::type  = pTraits<typename powProduct<Form, 0>::type>::zero
[inline]
 

Definition at line 268 of file VectorSpaceI.H.

VectorSpace<Form, Cmpt, nCmpt> scale const VectorSpace< Form, Cmpt, nCmpt > &  vs1,
const VectorSpace< Form, Cmpt, nCmpt > &  vs2
[inline]
 

Definition at line 444 of file VectorSpaceI.H.

Cmpt& setComponent VectorSpace< Form, Cmpt, nCmpt > &  vs,
const direction  d
[inline]
 

Definition at line 242 of file VectorSpaceI.H.

powProduct<Form, 2>::type sqr const VectorSpace< Form, Cmpt, nCmpt > &  v  )  [inline]
 

Definition at line 292 of file VectorSpaceI.H.

For further information go to www.openfoam.org