d7.01.02 Develop a new macro command#

Summary:

This document complements the development training presentations. It details the steps required to complete the addition exercise of a new macro command.

We propose to create a new macro-command that converts a mesh from the format ASTER, GIBI or GMSH in MED format and create a table containing some information extracted from the mesh.

The objective is to know:

  • write the order catalog;

  • access keyword values from Python;

  • use commands within the macro command;

  • call the user message printing utility;

  • extract information from the mesh by calling its methods;

  • build and test its development.

Note:

The essential prerequisites before starting to develop is to know:

  • the Fortran,

  • Python (including Object Oriented Programming),

  • the Git version manager,

  • the GitLab interface.

A skeleton of the required files is provided during the training in order to to guide new developers.

It is recommended to start with Compiling the reference version, then The Exercise files.