ug4
attachment_util_impl.hpp File Reference
#include "attachment_util.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<class TIterator , class TAAInt >
void ug::AssignIndices (TIterator begin, TIterator end, TAAInt &aaInt, int baseIndex=0)
 assigns indices to the elements between begin and end. More...
 
template<class TElem , class TSrcAttachment , class TDestAttachment >
bool ug::ConvertMathVectorAttachmentValues (Grid &grid, TSrcAttachment &srcAttachment, TDestAttachment &destAttachment)
 Fills the dest-attachment with values from the source-attachment. More...
 
template<class TElemIter , class TAttachment >
bool ug::CopyAttachments (Grid &grid, TElemIter elemsBegin, TElemIter elemsEnd, TAttachment &aSrc, TAttachment &aDest)
 copies attachments for the specified elements More...
 
template<class TElem , class TAttachment >
bool ug::CopyAttachments (Grid &srcGrid, TAttachment &aSrc, Grid &destGrid, TAttachment &aDest)
 copies attachments from one grid to the other More...
 
template<class TIterator , class TAttAcc >
TIterator ug::FindElementByValue (TIterator begin, TIterator end, const typename TAttAcc::ValueType &val, TAttAcc &aa)
 returns the iterator whose element has the specified attachment value. More...
 
template<class TAttachmentAccessor , class TIter , class TVal >
void ug::SetAttachmentValues (TAttachmentAccessor &aaVal, TIter elemsBegin, TIter elemsEnd, const TVal &val)
 sets attachment-values for elements between elemsBegin and elemsEnd. More...