ug4
domain_util.h File Reference
#include "domain.h"
#include "domain_util_impl.h"

Go to the source code of this file.

Namespaces

 ug
 the ug namespace
 

Functions

template<typename TDomain >
void ug::CollectCornerCoordinates (int base_object_id, std::vector< typename TDomain::position_type > &vCornerCoordsOut, GridObject &elem, const TDomain &domain, bool clearContainer)
 returns the corner coordinates of a geometric object More...
 
template<typename TElem , typename TAAPos >
void ug::CollectCornerCoordinates (std::vector< typename TAAPos::ValueType > &vCornerCoordsOut, const TElem &elem, const TAAPos &aaPos, bool clearContainer=true)
 returns the corner coordinates of a geometric object More...
 
template<typename TElem , typename TDomain >
void ug::CollectCornerCoordinates (std::vector< typename TDomain::position_type > &vCornerCoordsOut, const TElem &elem, const TDomain &domain, bool clearContainer=true)
 returns the corner coordinates of a geometric object More...
 
template<typename TElem , typename TDomain >
number ug::ElementDiameter (const TElem &elem, TDomain &domain)
 returns the maximal distance between to element vertices More...
 
template<typename TElem , typename TDomain >
number ug::ElementDiameterSq (const TElem &elem, TDomain &domain)
 returns the maximal squared distance between to element vertices More...
 
template<typename TElem , typename TPosition >
number ug::ElementSize (const TElem &elem, const Grid::VertexAttachmentAccessor< Attachment< TPosition > > &aaPos)
 returns the size of a geometric object More...
 
template<typename TElem , typename TDomain >
number ug::ElementSize (const TElem &elem, const TDomain &domain)
 returns the size of a geometric object More...
 
template<typename TDomain >
number ug::MaxElementDiameter (TDomain &domain, int level)
 returns the maximal diameter of all elements between iterBegin and iterEnd. More...
 
template<typename TDomain >
number ug::MinElementDiameter (TDomain &domain, int level)
 returns the minimal diameter of all elements between iterBegin and iterEnd. More...
 
template<typename TDomain >
void ug::SaveDomain (TDomain &domain, const char *filename)
 Saves the domain to a grid-file. More...
 
template<typename TDomain >
void ug::LoadDomain (TDomain &domain, const char *filename)
 Loads a domain from a grid-file. More...
 
template<typename TDomain >
void ug::LoadDomain (TDomain &domain, const char *filename, int procId)
 Loads a domain from a grid-file. More...