Skip to content

Name of API function/class "Interface" can be misleading #92

@ajaust

Description

@ajaust

The class Interface

cdef class Interface:

can be misleading. It also deviates from the naming in the C++ API where the equivalent class is called SolverInterface.

This came up on Gitter where a user had troubles to create two interfaces for his coupling. They needed two meshes which they interpreted as two coupling interfaces and connected that to the Interface object in the Python bindings. I do not think that their way of thinking was completely wrong. I think that misunderstanding got even worse due to the usage of the term "interface" in the OpenFOAM adapter as this adapter was used by the user as well.

There might be additional (other) usage of the term "interface" in other adapters.

This problem does not appear all the time, but maybe we should discuss how one could avoid this misunderstanding.

Metadata

Metadata

Assignees

Labels

breaking changeA change will break backwards compatibilty

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions