ug4
|
allows to post-process partitions More...
#include <partitioner.h>
Public Member Functions | |
virtual void | init_post_processing (MultiGrid *mg, SubsetHandler *partitions)=0 |
virtual void | partitioning_done ()=0 |
virtual void | post_process (int lvl)=0 |
virtual | ~IPartitionPostProcessor () |
allows to post-process partitions
If supported by a partitioner, a post-processor is called for each partitioned level to allow for the adjustment of partitions following some specific rules.
'init_post_processing' is called before 'post_process' is called for the first time. A specialization can e.g. attach required attachments during this routine.
'post_process' is called each time partitioning is done for a hierarchy-level. It will be called with the multigrid level-index on which the partitioning was performed. Note that this means that post_process will only be called for some MultiGrid levels.
When partitioning is completed, 'partitioning_done' will be called. Use this method to detach any attachments that were attached during 'init_post_processing'
|
inlinevirtual |
|
pure virtual |
Implemented in ug::SmoothPartitionBounds< elem_t >, and ug::ClusterElementStacks< elem_t, vector_t >.
|
pure virtual |
Implemented in ug::SmoothPartitionBounds< elem_t >, and ug::ClusterElementStacks< elem_t, vector_t >.
|
pure virtual |
Implemented in ug::SmoothPartitionBounds< elem_t >, and ug::ClusterElementStacks< elem_t, vector_t >.