ug4
ug::IPartitionPostProcessor Class Referenceabstract

allows to post-process partitions More...

#include <partitioner.h>

+ Inheritance diagram for ug::IPartitionPostProcessor:

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 ()
 

Detailed Description

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'

Constructor & Destructor Documentation

◆ ~IPartitionPostProcessor()

virtual ug::IPartitionPostProcessor::~IPartitionPostProcessor ( )
inlinevirtual

Member Function Documentation

◆ init_post_processing()

virtual void ug::IPartitionPostProcessor::init_post_processing ( MultiGrid mg,
SubsetHandler partitions 
)
pure virtual

◆ partitioning_done()

virtual void ug::IPartitionPostProcessor::partitioning_done ( )
pure virtual

◆ post_process()

virtual void ug::IPartitionPostProcessor::post_process ( int  lvl)
pure virtual

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