Skip to main content
Part of C++ Interfaces for Participant Library Provide a class for a System Coupling region. #include <Region.hpp>

Public Member Functions

Detailed Description

Provide a class for a System Coupling region. Participant can declare which regions can be used in the coupled analysis. Each region can declare its input variables and output variables. Input variables represent physical quantities whose values the participant expects System Coupling to provide. Output variables represent physical quantities whose values System Coupling expects the participant to provide. Definition at line 30 of file Region.hpp.

Constructor & Destructor Documentation

Region() [1/5]

Create region to be used in a coupled analysis. Parameters Display name will default to the same as name. Topology will default to surface. Region mesh type will default to mesh.

Region() [2/5]

Create region to be used in a coupled analysis. Parameters Display name will default to the same as name. Region mesh type will default to mesh.

Region() [3/5]

Create region to be used in a coupled analysis. Parameters Mesh type will default to mesh.

Region() [4/5]

Create region to be used in a coupled analysis. Parameters Display name will default to the same as name.

Region() [5/5]

Create region to be used in a coupled analysis. Parameters

Member Function Documentation

addInputVariable()

Provide a method to add an input variable to the region. If this variable has already been added to the region as an input variable, then this call will have no effect. If a different variable with the same name has already been added to the region as an input variable, then a runtime error will be thrown. If a variable with the same name has already been added to the region as an output variable, then a runtime error will be thrown. If the variable name contains invalid characters, a runtime error will be thrown. If the region discretization type is point cloud, then the location of the variable added to this region is insignificant. Parameters

addOutputVariable()

Provide a method to add an output variable to the region. If this variable has already been added to the region as an output variable, then this call will have no effect. If a different variable with the same name has already been added to the region as an output variable, then a runtime error will be thrown. If a variable with the same name has already been added to the region as an input variable, then a runtime error will be thrown. If the variable name contains invalid characters, a runtime error will be thrown. If the region discretization type is point cloud, then the location of the variable added to this region is insignificant. Parameters

getDisplayName()

noexcept Get the region’s display name. Returns Return value is the display name of this region.

getInputVariable()

Get the region’s input variable by name. Parameters Returns Return is the Variable object that was requested.

getName()

noexcept Get the region’s name. Returns Return value is the region’s unique name (string).

getOutputVariable()

Get the region’s output variable by name. Parameters Returns Return is the Variable object that was requested.

getRegionDiscretizationType()

noexcept Get the region’s mesh type. Returns Return value is the mesh type of this region.

getTopology()

noexcept Get the region’s topology. Returns Return value is the topology of this region.