Plugins
|
Functions | |
void | assignValue (MathSymmetricMatrix< 2 > &v, size_t ind, number value) |
void | assignValue (MathSymmetricMatrix< 3 > &v, size_t ind, number value) |
void | assignValue (MathVector< 2 > &v, size_t ind, number value) |
void | assignValue (MathVector< 3 > &v, size_t ind, number value) |
void | assignValue (number &v, size_t ind, number value) |
template<typename VType , typename TElem , typename TDomain , typename TGridFunction > | |
void | averageByVolume (PeriodicAttachmentAccessor< TElem, Attachment< VType > > &acUHat, PeriodicAttachmentAccessor< TElem, Attachment< number > > &acVolume, TDomain &domain, SmartPtr< TGridFunction > uInfo, std::vector< WallObject< TGridFunction > > walls) |
int | bubblesort (std::vector< int > &list, std::vector< number > array) |
template<typename TElem , typename TPos , int dim> | |
void | computeElemBarycenter (MathVector< dim > &bary, TElem *elem, TPos posA) |
template<int dim, typename elem_type , typename TGridFunction > | |
void | copyAttachmentToGridFunction (SmartPtr< TGridFunction > u, PeriodicAttachmentAccessor< elem_type, Attachment< MathVector< dim > > > &aaU) |
template<int dim, typename elem_type , typename TGridFunction > | |
void | copyGridFunctionToAttachment (PeriodicAttachmentAccessor< elem_type, Attachment< MathVector< dim > > > &aaU, SmartPtr< TGridFunction > u) |
template<int dim> | |
SmartPtr< INavierStokesSRFV1Stabilization< dim > > | CreateNavierStokesStabilization (const std::string &name) |
creates upwind based on a string identifier More... | |
template<int dim> | |
SmartPtr< INavierStokesUpwind< dim > > | CreateNavierStokesUpwind (const std::string &name) |
creates upwind based on a string identifier More... | |
template<typename TRefElem , int TWorldDim> | |
void | GetNodeNextToCut (size_t &coOut, const MathVector< TWorldDim > &IP, const MathVector< TWorldDim > &IPVel, const MathVector< TWorldDim > *vCornerCoords) |
computes the closest node to a elem side ray intersection More... | |
template<typename elem_type , typename attachment_type , typename grid_type > | |
void | initAttachment (PeriodicAttachmentAccessor< elem_type, attachment_type > &accessor, attachment_type &attachment, grid_type &grid) |
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<typename TFVGeometry > | |
void | NSDiffLengthCor (number DiffLengthSqInv[], const TFVGeometry &geo) |
template<typename TFVGeometry > | |
void | NSDiffLengthFivePoint (number DiffLengthSqInv[], const TFVGeometry &geo) |
template<typename TFVGeometry > | |
void | NSDiffLengthRaw (number DiffLengthSqInv[], const TFVGeometry &geo) |
bool | solveLS (std::vector< number > &x, const std::vector< number > &matField, const std::vector< number > &b) |
template<typename vector_t > | |
vector_t::value_type | VecDistanceMaxNorm (const vector_t &v1, const vector_t &v2) |
void ug::NavierStokes::assignValue | ( | MathSymmetricMatrix< 2 > & | v, |
size_t | ind, | ||
number | value | ||
) |
void ug::NavierStokes::assignValue | ( | MathSymmetricMatrix< 3 > & | v, |
size_t | ind, | ||
number | value | ||
) |
void ug::NavierStokes::assignValue | ( | MathVector< 2 > & | v, |
size_t | ind, | ||
number | value | ||
) |
void ug::NavierStokes::assignValue | ( | MathVector< 3 > & | v, |
size_t | ind, | ||
number | value | ||
) |
void ug::NavierStokes::averageByVolume | ( | PeriodicAttachmentAccessor< TElem, Attachment< VType > > & | acUHat, |
PeriodicAttachmentAccessor< TElem, Attachment< number > > & | acVolume, | ||
TDomain & | domain, | ||
SmartPtr< TGridFunction > | uInfo, | ||
std::vector< WallObject< TGridFunction > > | walls | ||
) |
References ug::PeriodicBoundaryManager::is_slave().
Referenced by ug::NavierStokes::ConstantBoxFilter< TGridFunction >::apply_filter(), ug::NavierStokes::VariableBoxFilter< TGridFunction >::apply_filter(), ug::NavierStokes::FVCRBoxFilter< TGridFunction >::apply_filter(), ug::NavierStokes::FV1BoxFilter< TGridFunction >::apply_filter(), and ug::NavierStokes::ElementBoxFilter< TGridFunction >::apply_filter().
int ug::NavierStokes::bubblesort | ( | std::vector< int > & | list, |
std::vector< number > | array | ||
) |
void ug::NavierStokes::computeElemBarycenter | ( | MathVector< dim > & | bary, |
TElem * | elem, | ||
TPos | posA | ||
) |
void ug::NavierStokes::copyAttachmentToGridFunction | ( | SmartPtr< TGridFunction > | u, |
PeriodicAttachmentAccessor< elem_type, Attachment< MathVector< dim > > > & | aaU | ||
) |
element iterator
domain type
References dim, ug::DoFRef(), SmartPtr< TGridFunction >::get(), and num_subsets().
void ug::NavierStokes::copyGridFunctionToAttachment | ( | PeriodicAttachmentAccessor< elem_type, Attachment< MathVector< dim > > > & | aaU, |
SmartPtr< TGridFunction > | u | ||
) |
element iterator
domain type
References dim, ug::DoFRef(), SmartPtr< TGridFunction >::get(), and num_subsets().
SmartPtr< INavierStokesSRFV1Stabilization< dim > > ug::NavierStokes::CreateNavierStokesStabilization | ( | const std::string & | name | ) |
creates upwind based on a string identifier
References ug::TrimString(), and UG_THROW.
SmartPtr< INavierStokesUpwind< dim > > ug::NavierStokes::CreateNavierStokesUpwind | ( | const std::string & | name | ) |
creates upwind based on a string identifier
References ug::TrimString(), and UG_THROW.
void ug::NavierStokes::GetNodeNextToCut | ( | size_t & | coOut, |
const MathVector< TWorldDim > & | IP, | ||
const MathVector< TWorldDim > & | IPVel, | ||
const MathVector< TWorldDim > * | vCornerCoords | ||
) |
computes the closest node to a elem side ray intersection
References dim, ug::Provider< class >::get(), UG_THROW, and ug::VecDistanceSq().
void ug::NavierStokes::initAttachment | ( | PeriodicAttachmentAccessor< elem_type, attachment_type > & | accessor, |
attachment_type & | attachment, | ||
grid_type & | grid | ||
) |
References ug::PeriodicAttachmentAccessor< class, class >::access(), and grid().
bool ug::NavierStokes::leastSquares | ( | std::vector< number > & | x, |
const std::vector< number > & | mField, | ||
const std::vector< number > & | b | ||
) |
References solveLS().
bool ug::NavierStokes::multMatVec | ( | const std::vector< number > & | avec, |
const std::vector< number > & | b, | ||
std::vector< number > & | c, | ||
size_t | m, | ||
size_t | n | ||
) |
Referenced by solveLS().
void ug::NavierStokes::NSDiffLengthCor | ( | number | DiffLengthSqInv[], |
const TFVGeometry & | geo | ||
) |
References dim, UG_ASSERT, UG_THROW, ug::VecDistanceSq(), and ug::VecTwoNormSq().
Referenced by ug::NavierStokes::INavierStokesSRFV1Stabilization< dim >::compute_diff_length().
void ug::NavierStokes::NSDiffLengthFivePoint | ( | number | DiffLengthSqInv[], |
const TFVGeometry & | geo | ||
) |
[out] | DiffLengthSqInv | Inverse of squared Diffusion Length for each integration point |
[in] | geo | Finite Volume Geometry |
References dim, UG_ASSERT, UG_THROW, ug::VecDistanceSq(), and ug::VecTwoNormSq().
Referenced by ug::NavierStokes::INavierStokesSRFV1Stabilization< dim >::compute_diff_length().
void ug::NavierStokes::NSDiffLengthRaw | ( | number | DiffLengthSqInv[], |
const TFVGeometry & | geo | ||
) |
References dim, UG_ASSERT, UG_THROW, ug::VecDistanceSq(), and ug::VecTwoNormSq().
Referenced by ug::NavierStokes::INavierStokesSRFV1Stabilization< dim >::compute_diff_length().
bool ug::NavierStokes::solveLS | ( | std::vector< number > & | x, |
const std::vector< number > & | matField, | ||
const std::vector< number > & | b | ||
) |
References multMatVec(), resize(), and s.
Referenced by leastSquares().
|
inline |