Python interface command naming conversions

@yves.renard

Dear Yves, I am working on adding a new mumps context object to the scripting interface, but I am a bit stuck with the object member function naming system.

In the following example for the MeshFem object, the qdim command is converted to set_qdim, while the reduction matrices command is translated to reduction_matrices without the “set_” prefix.

Where is it decided on whether the “set_” prefix is prepended or not?

@yves.renard never mind it, found it in bin/extract_doc:

# one pass to find the set methods having identical name with a get method
# in that case ‘set_’ is added to the set method.

with the only exceptions to the rule being set_classical_...fem functions