ug4
|
#include <load_balancer_util.h>
Public Member Functions | |
virtual number | get_weight (Edge *e) |
virtual number | get_weight (Face *e) |
virtual number | get_weight (Vertex *e) |
virtual number | get_weight (Volume *e) |
virtual void | refresh_weights (int) |
virtual void | set_weight (number wgt) |
StdBalanceWeights () | |
virtual | ~StdBalanceWeights () |
Public Member Functions inherited from ug::IBalanceWeights | |
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 | ~IBalanceWeights () |
virtual bool | consider_in_level_above (Vertex *) |
Relative indicator in which level the specifed elements should be partitioned. More... | |
virtual bool | consider_in_level_above (Edge *) |
Relative indicator in which level the specifed elements should be partitioned. More... | |
virtual bool | consider_in_level_above (Face *) |
Relative indicator in which level the specifed elements should be partitioned. More... | |
virtual bool | consider_in_level_above (Volume *) |
Relative indicator in which level the specifed elements should be partitioned. More... | |
Private Attributes | |
number | m_wgt |
If a level-factor > 0 is specified, then the get_weight method returns for an element e with on level l:
If level-factor <= 0, then m_wgt is simply returned. The default level-factor is 0, the default weight is 1.
|
inline |
|
inlinevirtual |
Reimplemented from ug::IBalanceWeights.
References m_wgt.
Reimplemented from ug::IBalanceWeights.
References m_wgt.
Reimplemented from ug::IBalanceWeights.
References m_wgt.
Reimplemented from ug::IBalanceWeights.
References m_wgt.
|
inlinevirtual |
Reimplemented from ug::IBalanceWeights.
|
private |
Referenced by get_weight(), and set_weight().