ug4
ug::BalanceWeightsRefMarks Class Reference

#include <balance_weights_ref_marks.h>

+ Inheritance diagram for ug::BalanceWeightsRefMarks:

Public Member Functions

 BalanceWeightsRefMarks (IRefiner *refiner)
 
virtual number get_refined_weight (Edge *e)
 
virtual number get_refined_weight (Face *e)
 todo: use a more sophisticated implementation More...
 
virtual number get_refined_weight (Vertex *e)
 
virtual number get_refined_weight (Volume *e)
 todo: use a more sophisticated implementation More...
 
virtual bool has_level_offsets ()
 
virtual bool consider_in_level_above (Vertex *e)
 Indicator in which level the specifed elements should be partitioned. More...
 
virtual bool consider_in_level_above (Edge *e)
 Indicator in which level the specifed elements should be partitioned. More...
 
virtual bool consider_in_level_above (Face *e)
 Indicator in which level the specifed elements should be partitioned. More...
 
virtual bool consider_in_level_above (Volume *e)
 Indicator in which level the specifed elements should be partitioned. More...
 
- Public Member Functions inherited from ug::IBalanceWeights
virtual number get_weight (Edge *)
 
virtual number get_weight (Face *)
 
virtual number get_weight (Vertex *)
 
virtual number get_weight (Volume *)
 
virtual void refresh_weights (int baseLevel)
 
virtual ~IBalanceWeights ()
 

Private Member Functions

template<class TElem >
bool consider_in_level_above_impl (TElem *e)
 

Private Attributes

IRefinerm_refiner
 

Constructor & Destructor Documentation

◆ BalanceWeightsRefMarks()

ug::BalanceWeightsRefMarks::BalanceWeightsRefMarks ( IRefiner refiner)
inline

Member Function Documentation

◆ consider_in_level_above() [1/4]

virtual bool ug::BalanceWeightsRefMarks::consider_in_level_above ( Edge e)
inlinevirtual

Indicator in which level the specifed elements should be partitioned.

This will only have effect if the given element does not have any children

Reimplemented from ug::IBalanceWeights.

References consider_in_level_above_impl().

◆ consider_in_level_above() [2/4]

virtual bool ug::BalanceWeightsRefMarks::consider_in_level_above ( Face e)
inlinevirtual

Indicator in which level the specifed elements should be partitioned.

This will only have effect if the given element does not have any children

Reimplemented from ug::IBalanceWeights.

References consider_in_level_above_impl().

◆ consider_in_level_above() [3/4]

virtual bool ug::BalanceWeightsRefMarks::consider_in_level_above ( Vertex e)
inlinevirtual

Indicator in which level the specifed elements should be partitioned.

This will only have effect if the given element does not have any children

Reimplemented from ug::IBalanceWeights.

References consider_in_level_above_impl().

◆ consider_in_level_above() [4/4]

virtual bool ug::BalanceWeightsRefMarks::consider_in_level_above ( Volume e)
inlinevirtual

Indicator in which level the specifed elements should be partitioned.

This will only have effect if the given element does not have any children

Reimplemented from ug::IBalanceWeights.

References consider_in_level_above_impl().

◆ consider_in_level_above_impl()

template<class TElem >
bool ug::BalanceWeightsRefMarks::consider_in_level_above_impl ( TElem *  e)
inlineprivate

◆ get_refined_weight() [1/4]

virtual number ug::BalanceWeightsRefMarks::get_refined_weight ( Edge e)
inlinevirtual

◆ get_refined_weight() [2/4]

virtual number ug::BalanceWeightsRefMarks::get_refined_weight ( Face e)
inlinevirtual

todo: use a more sophisticated implementation

Reimplemented from ug::IBalanceWeights.

References ug::IRefiner::get_mark(), ug::IBalanceWeights::get_weight(), m_refiner, ug::RM_ANISOTROPIC, and ug::RM_REFINE.

◆ get_refined_weight() [3/4]

virtual number ug::BalanceWeightsRefMarks::get_refined_weight ( Vertex e)
inlinevirtual

◆ get_refined_weight() [4/4]

virtual number ug::BalanceWeightsRefMarks::get_refined_weight ( Volume e)
inlinevirtual

todo: use a more sophisticated implementation

Reimplemented from ug::IBalanceWeights.

References ug::IRefiner::get_mark(), ug::IBalanceWeights::get_weight(), m_refiner, ug::RM_ANISOTROPIC, and ug::RM_REFINE.

◆ has_level_offsets()

virtual bool ug::BalanceWeightsRefMarks::has_level_offsets ( )
inlinevirtual

Reimplemented from ug::IBalanceWeights.

Member Data Documentation

◆ m_refiner

IRefiner* ug::BalanceWeightsRefMarks::m_refiner
private

The documentation for this class was generated from the following file: