Search found 4 matches

by jrdp
28 June 2023, 15:30
Forum: CAPE-OPEN Binary Interop Architecture
Topic: CopyFromMaterial implementation question
Replies: 1
Views: 82734

CopyFromMaterial implementation question

I have a question regarding the correct implementation of the CopyFromMaterial function. In order to get the Dymola Simulator working with CAPE-OPEN fluid property models, we are implementing our own Material object. As per the CO Thermo 1.1 specification, our own Material class inherits from the IC...
by jrdp
30 May 2023, 16:15
Forum: CAPE-OPEN Binary Interop Architecture
Topic: How to return UNDEFINED
Replies: 5
Views: 15263

Re: How to return UNDEFINED

Regarding this particular function, GetPresentPhases, its parameters are CapeArrayString and CapeArrayEnumeration<CAPEOPEN_1_2::CapePhaseStatus>, so there is no clear()-function available. Would a resize(0) on the output parameters comply with the specification of the function?
by jrdp
30 May 2023, 13:41
Forum: CAPE-OPEN Binary Interop Architecture
Topic: How to return UNDEFINED
Replies: 5
Views: 15263

Re: How to return UNDEFINED

This question arose whilst working on implementing the GetPresentPhases function of the ICapeThermoMaterial interface. The overall context is implementing a Modelica-CAPE-OPEN interface for Dymola.
by jrdp
25 May 2023, 15:48
Forum: CAPE-OPEN Binary Interop Architecture
Topic: How to return UNDEFINED
Replies: 5
Views: 15263

How to return UNDEFINED

In the specification of the GetPresentPhases() method of the ICapeThermoMaterial interface for example, it is stated that the output parameters shall be returned as "UNDEFINED". Now I am unsure how to do this. In the header file Cobia_UndefinedValues.h, there is the line #define CapeString...

Go to advanced search