Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • GiD_fWriteCoordinates*Block() Added coordinates block function to write array of coordinates with a single call.
  • GiD_fWriteElements*Block() Added elements block function to write array of element's connectivities with a single call.
  • GiD_fWriteResultBlock() Added result block function to write array of result values with a single call.
  • GiD_PostGetVersion() added to return library version, and if hdf5 is enabled, hdf5 library version too.
  • GiD_PostIsThreadSafe( format) : function which returns if format is thread-safe, i.e. several files with this format can be opened and written at the same time. For instance, some HDF5 compilations are not thread-safe, and can not be used to write several hdf5 files at the same time from the same program.
  • gidpost-swig/ : to use gidpost library as python module.
  • several corrected bugs in library.
  • updated some C and Fortran examples to use the new GiD_fWrite*Block functions.
  • updated examples/CmakeLists.txt to include and build more examples.
  • updated documentation.

From version 2.7 to 2.8

  • CMake updated and corrected to compile fortran90 example.
  • Added functions to allow the user to add mesh and result properties / attributes:
     User defined properties defined inside Mesh or Result blocks
       HDF5: stored as properties/attributes (Name, value) of the current Mesh/N or Result/N folder
       ASCII / raw binary: stored as comments
         # Name: value
       Define the macro COMPASSIS_USER_ATTRIBUTES_FORMAT
       to have it like compassis wants:
         # ResultUserDefined \"%s\" \"%s\"      or
         # ResultUserDefined \"%s\" %s
    int GiD_WriteMeshUserAttribute(GP_CONST char * Name,GP_CONST char * Value);
    int GiD_fWriteMeshUserAttribute( GiD_FILE fd, GP_CONST char *Name, GP_CONST char *Value );
    int GiD_WriteResultUserAttribute( GP_CONST char *Name, GP_CONST char *Value );
    int GiD_fWriteResultUserAttribute( GiD_FILE fd, GP_CONST char *Name, GP_CONST char *Value );

...