From version 2.10 to 2.11
HDF5 several corrections when using SWMR mode;
- New GiD_fOpenPostMeshFile_utf8 and GiD_fOpenPostResultFile_utf8 expecting filename utf-8 encoded (and old open functions expected ASCII with current system encoding)
removed deprecated examples;
some re-factoring;
debug build mode provides more error messages.
From version 2.9 to 2.10
- HDF5 writes using Single Write Multiple Read, when using hdf5 version 1.10 or higher, i.e. GiD and other programs (if they have also SWMR support) can read the hdf5 file when gidpost is writing it. https://docs.hdfgroup.org/archive/support/HDF5/Tutor/swmr.html.
From version 2.8 to 2.9
- 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 blocksHDF5: stored as properties/attributes (Name, value) of the current Mesh/N or Result/N folderASCII / raw binary: stored as comments# Name: valueDefine the macro COMPASSIS_USER_ATTRIBUTES_FORMATto have it like compassis wants:# ResultUserDefined \"%s\" \"%s\" or# ResultUserDefined \"%s\" %sint 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 );
From version 2.6 to 2.7
- Added support for MeshGroups ( BeginMeshGroup(), End..., BeginOnMeshGroup(), End...) in HDF5 as used in GiD, useful for dynamic meshes, refinement, multi-stage simulation, etc.
- All non implemented functions for HDF5 now return -1, i.e. all GiD_fXXX() functions.
...