33 #ifndef __H__UG__load_balancer_util__
34 #define __H__UG__load_balancer_util__
44 size_t minNumElemsPerProcPerLvl,
size_t maxNumRedistProcs,
45 size_t maxNumProcs,
int minDistLvl,
46 int maxLvlsWithoutRedist);
The higher the volume, the higher the weight when anisotropic refinement is used.....
Definition: load_balancer_util.h:100
Grid::VertexAttachmentAccessor< position_attachment_t > m_aaPos
Definition: load_balancer_util.h:136
number get_weight_impl(elem_t *e)
Definition: load_balancer_util.h:127
GeomObjBaseTypeByDim< dim >::base_obj_type elem_t
Definition: load_balancer_util.h:103
virtual number get_weight(Edge *e)
Definition: load_balancer_util.h:122
Attachment< MathVector< dim > > position_attachment_t
Definition: load_balancer_util.h:102
number get_weight_impl(GridObject *e)
Definition: load_balancer_util.h:131
virtual void set_grid(MultiGrid *mg, Attachment< MathVector< dim > > aPos)
Definition: load_balancer_util.h:114
virtual ~AnisotropicBalanceWeights()
Definition: load_balancer_util.h:105
number m_weightFactor
Definition: load_balancer_util.h:135
virtual void set_weight_factor(number weightFactor)
Definition: load_balancer_util.h:107
virtual number weight_factor() const
Definition: load_balancer_util.h:112
virtual void refresh_weights(int baseLevel)
Definition: load_balancer_util.h:119
virtual number get_weight(Face *e)
Definition: load_balancer_util.h:123
virtual number get_weight(Vertex *e)
Definition: load_balancer_util.h:121
AnisotropicBalanceWeights()
Definition: load_balancer_util.h:104
virtual number get_weight(Volume *e)
Definition: load_balancer_util.h:124
A generic specialization of IAttachment.
Definition: attachment_pipe.h:263
Base-class for edges.
Definition: grid_base_objects.h:397
Faces are 2-dimensional objects.
Definition: grid_base_objects.h:510
bool access(Grid &grid, TAttachment &a)
Definition: grid.h:189
The base class for all geometric objects, such as vertices, edges, faces, volumes,...
Definition: grid_base_objects.h:157
Definition: partitioner.h:49
Definition: multi_grid.h:72
Definition: load_balancer_util.h:78
virtual number get_weight(Vertex *e)
Definition: load_balancer_util.h:88
StdBalanceWeights()
Definition: load_balancer_util.h:80
virtual number get_weight(Edge *e)
Definition: load_balancer_util.h:89
virtual void set_weight(number wgt)
Definition: load_balancer_util.h:85
virtual ~StdBalanceWeights()
Definition: load_balancer_util.h:83
virtual void refresh_weights(int)
Definition: load_balancer_util.h:86
number m_wgt
Definition: load_balancer_util.h:94
virtual number get_weight(Volume *e)
Definition: load_balancer_util.h:91
virtual number get_weight(Face *e)
Definition: load_balancer_util.h:90
Base-class for all vertex-types.
Definition: grid_base_objects.h:231
Volumes are 3-dimensional objects.
Definition: grid_base_objects.h:754
number CalculateVolume(Volume *elem, TAAPos aaPos)
Calculates the volume of the given element.
Definition: volume_calculation_impl.hpp:43
double number
Definition: types.h:124
SmartPtr< ProcessHierarchy > SPProcessHierarchy
Definition: process_hierarchy.h:46
SPProcessHierarchy CreateProcessHierarchy(TDomain &dom, size_t minNumElemsPerProcPerLvl, size_t maxNumRedistProcs, size_t maxNumProcs, int minDistLvl, int maxLevelsWithoutRedist)
Creates a process-hierarchy that fullfills the given conditions.
Definition: domain_load_balancer.h:46
Definition: grid_base_objects.h:980