Skip to main content

System Coupling Fortran library 2024 R2

syscaddoutputvariablef Interface Reference

Last update: 17.07.2025

Provide an interface to add an output variable. More...

Public Member Functions

type(syscerrorf) function syscaddoutputvariablef (reg, var)
 Provide a function to add an output variable to the region.
 

Detailed Description

Provide an interface to add an output variable.

Definition at line 311 of file syscSystemCouplingF.fi.

Constructor & Destructor Documentation

◆ syscaddoutputvariablef()

type(syscerrorf) function syscaddoutputvariablef ( type(syscregionf), intent(in)  reg,
type(syscvariablef), intent(in)  var 
)

Provide a function 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 an error will be returned.

If a variable with the same name has already been added to the region as an input variable, then an error will be returned.

If the variable name contains invalid characters, then an error will be returned.

If the region discretization type is point cloud, then the location of the variable added to this region is insignificant.

Parameters
[in]regRegion to which the output variable is to be added.
[in]varVariable whose values are consumed by System Coupling and provided by the participant.
Returns
a SyscErrorF type for error checking.

Definition at line 337 of file syscSystemCouplingF.fi.

338!
339 import :: syscregionf
340 import :: syscvariablef
341 import :: syscerrorf
342 type(SyscRegionF), intent(in) :: reg
343 type(SyscVariableF), intent(in) :: var
344 type(SyscErrorF) :: ret
345!
346!DIR$ IF DEFINED(_WIN32) .and. ( .not. DEFINED(SYSTEM_COUPLING_PARTICIPANT_PROXY))
347!DIR$ ATTRIBUTES DLLIMPORT :: syscAddOutputVariableF
348!DIR$ ENDIF
349!

Connect with Ansys