Skip to content
This repository was archived by the owner on Apr 23, 2021. It is now read-only.
This repository was archived by the owner on Apr 23, 2021. It is now read-only.

CUBA keywords need probably to be grouped` #29

Description

@itziakos

It looks that some CUBA keywords can only have meaning as part of a specific component (e.g.
keywords BOND_LABEL and BOND_TYPE probably only make sense for a Particle).

Having one DataContainer type might be convenient now but having all the keywords supported when they are not necessary is performance-wise inefficient and makes bad use of memory and hard-disk space. We should also consider that it can lead to confusions (e.g. a mesh cell with SIMULATION_DOMAIN_DIMENSIONS does sound a little weird).

We should probably use a subtype of the DataContainer for the different components where such an object is used. The implementation could be as simple as binding each DataContainer subtype into a specific CUBA keyword group.

Nevertheless, I believe that this avenue needs to be discussed after the current first phase of the api implementation is delivered.

Metadata

Metadata

Assignees

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions