|
Plugins
|
Functions | |
| template<typename TPosition > | |
| void | AverageCoords (TPosition &vOut, const std::vector< TPosition > &vCornerCoords, size_t num) |
| averages positions by arithmetic mean | |
| int | bubblesort (std::vector< number > array, std::vector< int > &list) |
| template<typename TElem , typename TGrid > | |
| void | collect_finest_level_children (std::vector< TElem * > &childElemVector, TElem *elem, TGrid *grid) |
| template<typename TElem , typename TPos , int dim> | |
| void | computeElemBarycenter (MathVector< dim > &bary, TElem *elem, TPos posA) |
| template<size_t m, size_t n> | |
| bool | leastSquares (MathVector< n > &x, const MathMatrix< m, n > &M, const MathVector< m > &b) |
| bool | leastSquares (std::vector< number > &x, const std::vector< number > &mField, const std::vector< number > &b) |
| bool | multMatVec (const std::vector< number > &avec, const std::vector< number > &b, std::vector< number > &c, size_t m, size_t n) |
| template<size_t n> | |
| bool | solveLS (MathVector< n > &x, const MathMatrix< n, n > &M, const MathVector< n > &b) |
| bool | solveLS (std::vector< number > &x, const std::vector< number > &matField, const std::vector< number > &b) |
| void ug::LevelSet::AverageCoords | ( | TPosition & | vOut, |
| const std::vector< TPosition > & | vCornerCoords, | ||
| size_t | num | ||
| ) |
averages positions by arithmetic mean
Arithmetic Mean of Positions returns the arithmetic mean of positions
| [in] | vCornerCoords | positions |
| [in] | num | number of positions |
| [out] | vOut | arithmetic mean of positions |
Referenced by ug::LevelSet::LevelSetCurvature< TGridFunction >::computeElementCurvature2d(), and ug::LevelSet::LevelSetCurvature< TGridFunction >::computeElementCurvature2d2().
| int ug::LevelSet::bubblesort | ( | std::vector< number > | array, |
| std::vector< int > & | list | ||
| ) |
| void ug::LevelSet::collect_finest_level_children | ( | std::vector< TElem * > & | childElemVector, |
| TElem * | elem, | ||
| TGrid * | grid | ||
| ) |
References grid().
| void ug::LevelSet::computeElemBarycenter | ( | MathVector< dim > & | bary, |
| TElem * | elem, | ||
| TPos | posA | ||
| ) |
| bool ug::LevelSet::leastSquares | ( | MathVector< n > & | x, |
| const MathMatrix< m, n > & | M, | ||
| const MathVector< m > & | b | ||
| ) |
References ug::MatMultiplyMTM(), solveLS(), ug::TransposedMatVecMult(), and UG_THROW.
Referenced by ug::LevelSet::LevelSetCurvature< TGridFunction >::computeElementCurvature2d2().
| bool ug::LevelSet::leastSquares | ( | std::vector< number > & | x, |
| const std::vector< number > & | mField, | ||
| const std::vector< number > & | b | ||
| ) |
References solveLS().
| bool ug::LevelSet::multMatVec | ( | const std::vector< number > & | avec, |
| const std::vector< number > & | b, | ||
| std::vector< number > & | c, | ||
| size_t | m, | ||
| size_t | n | ||
| ) |
Referenced by solveLS().
| bool ug::LevelSet::solveLS | ( | MathVector< n > & | x, |
| const MathMatrix< n, n > & | M, | ||
| const MathVector< n > & | b | ||
| ) |
References solveLS().
| bool ug::LevelSet::solveLS | ( | std::vector< number > & | x, |
| const std::vector< number > & | matField, | ||
| const std::vector< number > & | b | ||
| ) |
References multMatVec(), and s.
Referenced by ug::LevelSet::LevelSetCurvature< TGridFunction >::computeElementCurvature2d(), leastSquares(), leastSquares(), and solveLS().