C examples ( in examples
folder):
testpost_fd.c
: usesGiD_f*
functions and...Write*Block
functions to write a small 2d triangle mesh with nodal and elemental results.
Usage:testc_fd [ -h ] [ -f ascii | bin | hdf5 ] filename_prefix
testpost.c
: uses the deprecated API to write the same example. It has the options to write MeshGroups and to create an early-terminate to show the importance of usingGiD_FlushPostFile
https://gidsimulation.atlassian.net/wiki/spaces/GPT/pages/2500165946 .
Usage:testc [ -h ] [ -abort ] [ -f ascii | bin | hdf5 ] [ -g ] filename_prefix
ex1_sphere_fd.c
: writes a mesh with spheres and circles, with no results, using theGiD_f*
functions.ex1_sphere.c
: writes a mesh with spheres and circles, with results, using the deprecated API.IGA_test_1.c
: uses theGiD_WriteNurbSurface*
functions to write a result file for an IGA mesh.
C++ example examples ( in examples
folder):
TestMultiplePartition.cxx
: in serial, generates and writes meshes and results of a partitioned domain using theGiD_f*
functions.MultiplePartition/SimulateMultiplePartition.cxx
: in parallel, using threads, generates and writes meshes and results of a partitioned domain using theGiD_f*
functions.
Usage:SimulateMultiplePartition [ -h ] [ -v ] [ -f ascii | bin | hdf5 ] filename_prefix
Fortran examples ( in examples
folder):
testpost_fd.f90
: Fortran 90 example of writing a quadrilateral mesh with results located and the nodes and at the Gauss Points, withGiD_f*
and...Write*Block
functions.testpost.f90
: Fortran 90 example of writing a quadrilateral mesh with nodal results using the deprecated API.testpostfor.f
: Fortran 77 example writing the same example astestpost.f90
.
Python examples ( in python-swig
folder):
gidpost_test_array.py
: writing example of a mesh with triangles and quadrilaterals, and with nodal and elemental results using theGiD_f*
functions.gidpost_test.py
: writing example of the same mesh and results but with the...Write*Block
functions.