Plugins
Loading...
Searching...
No Matches
ug::LevelSet Namespace Reference

Classes

class  CRTwoPhaseSource
 
class  DimScaledLSFGrad
 
class  DimScaledLSFGrad< WDim, 0 >
 
class  EikonalVel
 
struct  Functionality
 
class  FV1_Convection
 
class  FV1LevelSetDisc
 
class  FVLSIntegral
 
class  GridFuncLSGradientData
 
class  GridFuncLSNumberData
 
class  HiResFluxBasedLSM
 
class  LevelSetAnalytic
 
class  LevelSetCurvature
 
class  LevelSetUserData
 
class  LevelSetUserDataBase
 
class  LevelSetUserVectorData
 
class  LevSetGFlinearExtrapolation
 Level-set extrapolation for the ghost-fluid method based on piecewise linear LS functions. More...
 
class  LevSetGFsimpleExtrapolation
 Level-set extrapolation for the ghost-fluid method based on piecewise linear LS functions. More...
 
class  LSAveData
 
class  LSBearScheidegger
 
class  LSBearScheidegger2
 
class  LSDarcyVelocityLinker
 Linker for the Darcy velocity in a domain with a free surface specified by the level-set. More...
 
class  LSElementSize
 
class  LSElementSize< ReferenceEdge, WDim >
 
class  LSElementSize< ReferencePrism, WDim >
 
class  LSElementSize< ReferenceTetrahedron, WDim >
 
class  LSElementSize< ReferenceTriangle, WDim >
 
class  LSFbyRaster
 
class  LSFilterLinker
 
class  LSFilterLinker2
 
class  LSGFlinearDomainDiscretization
 Global assembler for the simple extrapolation method. More...
 
class  LSGFsimpleDomainDiscretization
 Global assembler for the simple extrapolation method. More...
 
class  LSHeavisideIntegral
 
class  LSIntegral
 
class  LSVolume
 
class  ScaledLSFGrad
 
class  ScaledLSFGrad< WDim, RegularVertex >
 
class  VelByNormalVel
 

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)
 

Function Documentation

◆ AverageCoords()

template<typename TPosition >
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

Parameters
[in]vCornerCoordspositions
[in]numnumber of positions
[out]vOutarithmetic mean of positions

Referenced by ug::LevelSet::LevelSetCurvature< TGridFunction >::computeElementCurvature2d(), and ug::LevelSet::LevelSetCurvature< TGridFunction >::computeElementCurvature2d2().

◆ bubblesort()

int ug::LevelSet::bubblesort ( std::vector< number array,
std::vector< int > &  list 
)

◆ collect_finest_level_children()

template<typename TElem , typename TGrid >
void ug::LevelSet::collect_finest_level_children ( std::vector< TElem * > &  childElemVector,
TElem *  elem,
TGrid *  grid 
)

References grid().

◆ computeElemBarycenter()

template<typename TElem , typename TPos , int dim>
void ug::LevelSet::computeElemBarycenter ( MathVector< dim > &  bary,
TElem *  elem,
TPos  posA 
)

◆ leastSquares() [1/2]

template<size_t m, size_t n>
bool ug::LevelSet::leastSquares ( MathVector< n > &  x,
const MathMatrix< m, n > &  M,
const MathVector< m > &  b 
)

◆ leastSquares() [2/2]

bool ug::LevelSet::leastSquares ( std::vector< number > &  x,
const std::vector< number > &  mField,
const std::vector< number > &  b 
)

References solveLS().

◆ multMatVec()

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().

◆ solveLS() [1/2]

template<size_t n>
bool ug::LevelSet::solveLS ( MathVector< n > &  x,
const MathMatrix< n, n > &  M,
const MathVector< n > &  b 
)

References solveLS().

◆ solveLS() [2/2]

bool ug::LevelSet::solveLS ( std::vector< number > &  x,
const std::vector< number > &  matField,
const std::vector< number > &  b 
)