GiD - The personal pre and post processor

Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

To build GiDPost as Python module you'll need:

  • python3

  • SWIG: (Simplified Wrapper and Interface Generator) a tool used to connect C or C++ code with scripting languages like python. https://www.swig.org/

How to build python module (Linux):

Once you have configured and built the GiDPost library as described Compiling the library and examples , then:

$ cd .../gidpost/gidpost-swig/
$ make
$ make test

Examples of use:

  • gidpost_test.py - example of writing ascii / hdf5 gid post file with the basic API.

  • gidpost_test_array.py - example of writing ascii / hdf5 gid post file using the Write*Block API.

Not all gidpost library functions are exposed

  • No labels