Skip to main content
Part of C++ Interfaces for Participant Library Provide a class for a coupling interface. #include <CouplingInterface.hpp>

Public Member Functions

Detailed Description

Provide a class for a coupling interface. Coupling interface can be used to set up the transfers of data between different regions within the same participant solver. Interface contains two sides and each side can contain one or more regions. All regions on one side of the interface must have the same topology. Definition at line 28 of file CouplingInterface.hpp.

Constructor & Destructor Documentation

CouplingInterface()

Provide a constructor for the CouplingInterface class. Parameters

Member Function Documentation

addSideOneRegion()

Add region to side one of the interface. If this region has already been added to the interface on side one, then this call will have no effect. If a different region with the same name has already been added to the interface on side one, then a runtime error will be thrown. If a region with the same name has already been added to the interface on side two, then a runtime error will be thrown. If the region name contains invalid characters, a runtime error will be thrown. Parameters

addSideTwoRegion()

Add region to side two of the interface. If this region has already been added to the interface on side two, then this call will have no effect. If a different region with the same name has already been added to the interface on side two, then a runtime error will be thrown. If a region with the same name has already been added to the interface on side one, then a runtime error will be thrown. If the region name contains invalid characters, a runtime error will be thrown. Parameters