ug4
refinement_bridge.cpp File Reference

Classes

struct  ug::bridge::Refinement::Functionality
 

Namespaces

 ug
 the ug namespace
 
 ug::bridge
 
 ug::bridge::Refinement
 
 ug::domain_wrappers
 

Functions

template<class TDomain >
static SPIRefMarkAdjuster ug::AddHorizontalAnisotropyAdjuster (IRefiner *ref, TDomain *dom)
 Adds a horizontal-anisotropy-adjuster to the given refiner. More...
 
static SPIRefMarkAdjuster ug::AddShadowCopyAdjuster (IRefiner *ref)
 Adds a ShadowCopyAdjuster to the given refiner. More...
 
template<class TDomain >
void ug::AssignSubset_VerticesInCube (TDomain &dom, const typename TDomain::position_type &min, const typename TDomain::position_type &max, int si)
 Marks all elements which have vertices in the given d-dimensional cube. More...
 
template<class TDomain >
void ug::AssignSubset_VerticesInSphere (TDomain &dom, const typename TDomain::position_type &center, const number radius, int si)
 Marks all elements which have vertices in the given d-dimensional cube. More...
 
template<typename TDomain >
static SmartPtr< IRefiner > ug::CreateAdaptiveRegularDomainRefiner (TDomain *dom)
 Creates an adaptive regular domain refiner. More...
 
template<class TDomain >
static SmartPtr< GlobalFracturedMediaRefiner > ug::CreateGlobalFracturedDomainRefiner (TDomain *dom)
 Creates a global fractured domain refiner. More...
 
template<class TDomain >
TDomain::position_attachment_type & ug::GetDomainPositionAttachment (TDomain &dom)
 Helper function for subdivision volumes multigrid smoothing. More...
 
template<class TDomain >
static SmartPtr< GlobalSubdivisionMultiGridRefiner< typename TDomain::position_attachment_type > > ug::GlobalSubdivisionDomainRefiner (TDomain *dom, const char *linearManifoldSubsets, bool constrained)
 Factory method, that creates a global subdivision domain refiner. More...
 
template<typename TDomain >
static SmartPtr< IRefiner > ug::HangingNodeDomainRefiner (TDomain *dom)
 Creates an adaptive hanging node domain refiner. More...
 
template<class TDomain >
void ug::MarkAnisotropic_LongEdges (TDomain &dom, IRefiner &refiner, number minLen)
 Marks all elements for anisotropic refienment and also marks all edges > minLen. More...
 
template<class TDomain , class TElem >
void ug::MarkForAdaption_ElementsContainingPoint (TDomain &dom, IRefiner &refiner, number x, number y, number z, std::string markType)
 
template<class TDomain >
void ug::MarkForAdaption_ElementsTouchingSubset (TDomain &dom, IRefiner &refiner, ISubsetHandler &sh, int subsetIndex, std::string markType)
 
template<class TDomain >
void ug::MarkForAdaption_ElementsTouchingSubsets (TDomain &dom, IRefiner &refiner, const char *subsets, std::string markType)
 
template<class TDomain >
void ug::MarkForAdaption_VerticesInCube (TDomain &dom, SmartPtr< IRefiner > refiner, const typename TDomain::position_type &min, const typename TDomain::position_type &max, std::string markType)
 Marks all elements which have vertices in the given d-dimensional cube. More...
 
template<class TDomain >
void ug::MarkForAdaption_VerticesInSphere (TDomain &dom, SmartPtr< IRefiner > refiner, const typename TDomain::position_type &center, number radius, std::string markType)
 
template<class TDomain >
void ug::MarkForAdaption_VerticesInSphereMaxLvl (TDomain &dom, SmartPtr< IRefiner > refiner, const typename TDomain::position_type &center, number radius, std::string markType, int maxLvl)
 Marks all vertices in the given d-dimensional sphere. More...
 
template<class TDomain >
void ug::MarkForCoarsen_ElementsByLuaCallback (TDomain &dom, SmartPtr< IRefiner > refiner, double time, const char *luaCallbackName)
 
static void ug::MarkForRefinement_All (SmartPtr< IRefiner > ref)
 Marks all elements from refinement. More...
 
template<class TElem >
static void ug::MarkForRefinement_AllAnisotropic (SmartPtr< IRefiner > ref)
 
template<class TDomain >
void ug::MarkForRefinement_AnisotropicDirection (TDomain &dom, IRefiner &refiner, MathVector< TDomain::dim > &dir, number minEdgeRatio)
 
template<class TDomain >
void ug::MarkForRefinement_AnisotropicElements (TDomain &dom, IRefiner &refiner, number minEdgeRatio)
 
template<class TDomain >
void ug::MarkForRefinement_CloseToSurface (TDomain &dom, SmartPtr< IRefiner > refiner, double time, size_t maxLvl, const TDomain &surfaceDomain)
 
template<class TDomain >
void ug::MarkForRefinement_ContainsSurfaceNode (TDomain &dom, SmartPtr< IRefiner > refiner, double time, size_t maxLvl, const TDomain &surfaceDomain)
 
template<class TDomain >
void ug::MarkForRefinement_EdgeDirection (TDomain &dom, IRefiner &refiner, MathVector< TDomain::dim > &dir, number minDeviationAngle, number maxDeviationAngle, bool selectFlipped)
 
template<class TDomain >
void ug::MarkForRefinement_ElementsByLuaCallback (TDomain &dom, SmartPtr< IRefiner > refiner, double time, size_t maxLvl, const char *luaCallbackName)
 
template<class TDomain , class TElem >
void ug::MarkForRefinement_ElementsInSphere (TDomain &dom, SmartPtr< IRefiner > refiner, const typename TDomain::position_type &center, number radius)
 Marks all elements which lie completely in the given d-dimensional sphere. More...
 
template<class TDomain , class TSubsetHandler , class TElem >
void ug::MarkForRefinement_ElementsInSubset (TDomain &dom, IRefiner &refiner, TSubsetHandler &sh, int subsetIndex)
 
template<class elem_t >
void ug::MarkForRefinement_SubsetInterfaceElements (IRefiner &refiner, ISubsetHandler &sh)
 
template<class TDomain , class TElem >
void ug::MarkForRefinement_SubsetInterfaceElements (TDomain &dom, IRefiner &refiner)
 
template<class TDomain >
void ug::MarkForRefinement_VerticesInCube (TDomain &dom, SmartPtr< IRefiner > refiner, const typename TDomain::position_type &min, const typename TDomain::position_type &max)
 
template<class TDomain >
void ug::MarkForRefinement_VerticesInSphere (TDomain &dom, SmartPtr< IRefiner > refiner, const typename TDomain::position_type &center, number radius)
 
void ug::MarkNeighborsForAnisotropicRefinement (IRefiner &refiner, bool sideNbrsOnly)
 
void ug::MarkNeighborsForFullRefinement (IRefiner &refiner, bool sideNbrsOnly)
 
void ug::bridge::RegisterBridge_Refinement (Registry &reg, string grp)
 
void ug::SetSmoothSubdivisionVolumesBoundaryRefinementRule (std::string bndRefRule)
 Setting procedure for global boundary refinement rule variable. More...
 
void ug::SetTetRefinementRule (std::string ruleName)
 Setting procedure for global refinement rule variable. More...
 
static RefinementMark ug::StringToRefinementMark (std::string markType)
 Returns a refinement mark, given a string describing it. More...