OOFEM 3.0
Loading...
Searching...
No Matches
oofem::LoadBalancer::WorkTransferPlugin Class Referenceabstract

#include <loadbalancer.h>

Collaboration diagram for oofem::LoadBalancer::WorkTransferPlugin:

Public Member Functions

 WorkTransferPlugin (LoadBalancer *_lb)
virtual ~WorkTransferPlugin ()
virtual void init (Domain *d)=0
virtual void migrate ()=0
virtual void update ()=0

Protected Attributes

LoadBalancerlb

Detailed Description

Definition at line 179 of file loadbalancer.h.

Constructor & Destructor Documentation

◆ WorkTransferPlugin()

oofem::LoadBalancer::WorkTransferPlugin::WorkTransferPlugin ( LoadBalancer * _lb)
inline

Definition at line 184 of file loadbalancer.h.

References lb, and oofem::LoadBalancer::LoadBalancer().

◆ ~WorkTransferPlugin()

virtual oofem::LoadBalancer::WorkTransferPlugin::~WorkTransferPlugin ( )
inlinevirtual

Definition at line 185 of file loadbalancer.h.

Member Function Documentation

◆ init()

virtual void oofem::LoadBalancer::WorkTransferPlugin::init ( Domain * d)
pure virtual

initializes receiver; should be called before any work transfer. Current implementation assembles for each local element the list of contributing global element numbers. This is extracted from IP nonlocal tables;

◆ migrate()

virtual void oofem::LoadBalancer::WorkTransferPlugin::migrate ( )
pure virtual

Migrates necessary local elements to remote processors, where they become remote elements needed to efficiently handle nonlocal dependencies.

This involves several steps:

  • send and receive nonlocElementDependencyArry of migrating regular elements to remote partition
  • build domain nonlocal element dependency list.
  • then exclude local elements - what remains are unsatisfied emote dependencies that have to be broadcasted and received from partitions owning relevant elements
  • transfer of local elements and nodes to remote partitions (remote elements and null dofmans)

◆ update()

virtual void oofem::LoadBalancer::WorkTransferPlugin::update ( )
pure virtual

Called after all wtps migrated their data. Intended to update local data structure. Current implementations rebuilds the nonlocal integration point tables.

Member Data Documentation

◆ lb

LoadBalancer* oofem::LoadBalancer::WorkTransferPlugin::lb
protected

Definition at line 182 of file loadbalancer.h.

Referenced by WorkTransferPlugin().


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

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011