$treeview $search $mathjax
|
Palabos
Version 1.1
$projectbrief
|
$projectbrief
|
$searchbox |
#include <geometricOperationTemplates.h>
Static Public Member Functions | |
| static T | scalarProduct (Array< T, d > const &u1, Array< T, d > const &u2) |
| Compute scalar product between two vectors. | |
| static T | scalarProduct (const T u1[d], Array< T, d > const &u2) |
| Compute scalar product between two a c-array and a plb-array. | |
| static T | normSqr (Array< T, d > const &u) |
| Compute norm-square of a vector. | |
| static void | multiplyByScalar (Array< T, d > &u, T scalar) |
| Multiply vector elements component-wise by a scalar. | |
| static void | multiplyByScalar (Array< T, d > const &u, T scalar, Array< T, d > &result) |
| Multiply vector elements component-wise by a scalar and store in second vector. | |
| static void | symTensorProduct (Array< T, d > const &u, Array< T, d > const &v, Array< T, SymmetricTensor< T, Descriptor >::n > &result) |
| Symmetric tensor product of two vectors. | |
| static void | symTensorProduct (Array< T, d > const &u, Array< T, d > const &v, Array< T, d > const &w, Array< T, SymmetricRankThreeTensor< T, Descriptor >::n > &result) |
| Symmetric tensor product of three vectors. | |
Static Public Attributes | |
| static const int | d = Descriptor<T>::d |
| Number of dimensions for current lattice. | |
| static void plb::VectorTemplate< T, Descriptor >::multiplyByScalar | ( | Array< T, d > const & | u, | |
| T | scalar, | |||
| Array< T, d > & | result | |||
| ) | [inline, static] |
Multiply vector elements component-wise by a scalar and store in second vector.
References plb::VectorTemplate< T, Descriptor >::multiplyByScalar().
| static void plb::VectorTemplate< T, Descriptor >::multiplyByScalar | ( | Array< T, d > & | u, | |
| T | scalar | |||
| ) | [inline, static] |
Multiply vector elements component-wise by a scalar.
Referenced by plb::iniCellAtEquilibrium(), and plb::VectorTemplate< T, Descriptor >::multiplyByScalar().
| static T plb::VectorTemplate< T, Descriptor >::normSqr | ( | Array< T, d > const & | u | ) | [inline, static] |
Compute norm-square of a vector.
Referenced by plb::freeSurfaceCompletionImplementation3D(), plb::InamuroAnalyticalClosure(), plb::iniCellAtEquilibrium(), and plb::ZouHeClosure().
| static T plb::VectorTemplate< T, Descriptor >::scalarProduct | ( | const T | u1[d], | |
| Array< T, d > const & | u2 | |||
| ) | [inline, static] |
Compute scalar product between two a c-array and a plb-array.
References plb::VectorTemplate< T, Descriptor >::scalarProduct().
| static T plb::VectorTemplate< T, Descriptor >::scalarProduct | ( | Array< T, d > const & | u1, | |
| Array< T, d > const & | u2 | |||
| ) | [inline, static] |
Compute scalar product between two vectors.
Referenced by plb::VectorTemplate< T, Descriptor >::scalarProduct().
| static void plb::VectorTemplate< T, Descriptor >::symTensorProduct | ( | Array< T, d > const & | u, | |
| Array< T, d > const & | v, | |||
| Array< T, d > const & | w, | |||
| Array< T, SymmetricRankThreeTensor< T, Descriptor >::n > & | result | |||
| ) | [inline, static] |
Symmetric tensor product of three vectors.
References plb::VectorTemplate< T, Descriptor >::symTensorProduct().
| static void plb::VectorTemplate< T, Descriptor >::symTensorProduct | ( | Array< T, d > const & | u, | |
| Array< T, d > const & | v, | |||
| Array< T, SymmetricTensor< T, Descriptor >::n > & | result | |||
| ) | [inline, static] |
Symmetric tensor product of two vectors.
Referenced by plb::VectorTemplate< T, Descriptor >::symTensorProduct().
const int plb::VectorTemplate< T, Descriptor >::d = Descriptor<T>::d [static] |
Number of dimensions for current lattice.
1.6.3
1.6.3