Objects / DataStructures

DataStructures are managed in C++ and wrapped using pybind11. Pure-python methods may be injected into the DataStructure by adding a module named xxx_ext.py in code_aster.ObjectsExt.

For example the module code_aster.ObjectsExt.function_ext adds pure-Python methods to the Function object. It is not necessary to add a module just to define the cata_sdj attribute. This definition can be added directly in code_aster.ObjectsExt.datastructure_ext in the DICT_SDJ dict.