Nektar++
Public Member Functions | List of all members
Nektar::MultiRegions::Serial Class Referencefinal

#include <AssemblyCommDG.h>

Inheritance diagram for Nektar::MultiRegions::Serial:
[legend]

Public Member Functions

 Serial ()=default
 Default constructor. More...
 
void PerformExchange (const Array< OneD, NekDouble > &testFwd, Array< OneD, NekDouble > &testBwd) final
 
- Public Member Functions inherited from Nektar::MultiRegions::ExchangeMethod
 ExchangeMethod ()=default
 Default constructor. More...
 
virtual ~ExchangeMethod ()=default
 Default destructor. More...
 

Detailed Description

If parallel operation is not indicated then use the Serial subclass which does not perform any exchange.

Definition at line 81 of file AssemblyCommDG.h.

Constructor & Destructor Documentation

◆ Serial()

Nektar::MultiRegions::Serial::Serial ( )
default

Default constructor.

Member Function Documentation

◆ PerformExchange()

void Nektar::MultiRegions::Serial::PerformExchange ( const Array< OneD, NekDouble > &  testFwd,
Array< OneD, NekDouble > &  testBwd 
)
inlinefinalvirtual

Perform MPI comm exchange taking the Fwd trace and sending partition edge trace values to the matching locations in the Bwd trace of corresponding adjacent partitions.

Parameters
[in]testFwdThe values to send to adjacent partitions
[out]testBwdThe values received from adjacent partitions

Implements Nektar::MultiRegions::ExchangeMethod.

Definition at line 87 of file AssemblyCommDG.h.

90  {
91  boost::ignore_unused(testFwd, testBwd);
92  }