DUNE-FEM (unstable)

Dune::Fem::CommunicationManager< SpaceImp > Class Template Reference

use Default CommunicationManager as Communication Manager More...

#include <dune/fem/space/common/communicationmanager.hh>

Public Member Functions

 CommunicationManager (const SpaceImp &space, const InterfaceType interface, const CommunicationDirection dir)
 constructor taking space and communication interface/direction
 
 CommunicationManager (const SpaceImp &space)
 constructor taking space
 
InterfaceType communicationInterface () const
 return communication interface
 
CommunicationDirection communicationDirection () const
 return communication direction
 
double buildTime () const
 return time needed for last build More...
 
double exchangeTime () const
 return time needed for last exchange of data More...
 
NonBlockingCommunicationType nonBlockingCommunication () const
 return object for non-blocking communication More...
 
void exchange (DiscreteFunction &discreteFunction) const
 exchange data for a discrete function using the copy operation More...
 
void exchange (DiscreteFunction &discreteFunction, const Operation &operation) const
 exchange data for a discrete function using the given operation More...
 
void exchange (const SpaceImp &space, DiscreteFunction &discreteFunction, const Operation &operation) const
 exchange data for a discrete function using the given operation More...
 

Detailed Description

template<class SpaceImp>
class Dune::Fem::CommunicationManager< SpaceImp >

use Default CommunicationManager as Communication Manager

Member Function Documentation

◆ buildTime()

double Dune::Fem::DefaultCommunicationManager< SpaceImp >::buildTime ( ) const
inlineinherited

return time needed for last build

Returns
time needed for last build of caches (if needed)

◆ exchange() [1/3]

void Dune::Fem::DefaultCommunicationManager< SpaceImp >::exchange ( const SpaceImp &  space,
DiscreteFunction &  discreteFunction,
const Operation &  operation 
) const
inlineinherited

exchange data for a discrete function using the given operation

The used operation is derived from the type of the op-pointer. The actual pointer is not used.

Parameters
discreteFunctiondiscrete function to communicate
[in]operationa (phony) pointer to an operation

◆ exchange() [2/3]

void Dune::Fem::DefaultCommunicationManager< SpaceImp >::exchange ( DiscreteFunction &  discreteFunction) const
inlineinherited

exchange data for a discrete function using the copy operation

Parameters
discreteFunctiondiscrete function to communicate

◆ exchange() [3/3]

void Dune::Fem::DefaultCommunicationManager< SpaceImp >::exchange ( DiscreteFunction &  discreteFunction,
const Operation &  operation 
) const
inlineinherited

exchange data for a discrete function using the given operation

The used operation is derived from the type of the op-pointer. The actual pointer is not used.

Parameters
discreteFunctiondiscrete function to communicate
[in]operationa (phony) pointer to an operation

◆ exchangeTime()

double Dune::Fem::DefaultCommunicationManager< SpaceImp >::exchangeTime ( ) const
inlineinherited

return time needed for last exchange of data

Returns
time needed for last exchange of data

◆ nonBlockingCommunication()

NonBlockingCommunicationType Dune::Fem::DefaultCommunicationManager< SpaceImp >::nonBlockingCommunication ( ) const
inlineinherited

return object for non-blocking communication

Returns
NonBlockingCommunicationType containing send and receive facilities

The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Nov 12, 23:30, 2024)