FiberBundleHDF5  FiberHDF5 Documentation, Revision 2026
High-Performance Fiber Bundle Data Model for Scientific Visualization
Loading...
Searching...
No Matches
F5P.h
Go to the documentation of this file.
1/*/////////////////////////////////////////////////////////////////
2//
3// $Id: F5P.h,v 1.6 2007/04/02 22:41:12 werner Exp $
4//
5// $Log: F5P.h,v $
6// Revision 1.6 2007/04/02 22:41:12 werner
7// Added #defines for the cell domains
8// Added attribute for the dimensionality of the cells, in addition to multiplicity
9//
10// Revision 1.5 2003/11/04 20:14:23 werner
11// Corrected include path to avoid header file naming conflict for corrupted include paths.
12//
13// Revision 1.4 2003/11/04 19:24:10 werner
14// Revised version including a table of contents and field info per grid, and
15// also telling the grids per field (reverse look). The API has been revised
16// somewhat, such that F5F... function are all functions operation on F5Path
17// objects with fields defined.
18//
19// Revision 1.3 2003/06/16 11:00:20 werner
20// Changed the iterator functions to use F5Path objects instead of HDF5 ID's.
21// This makes encapsulates more of HDF5 and insists more of using F5,
22// but makes retrieving the F5 information easier.
23// Also changed back the shared data types to nameless types. Thus type
24// attributes cannot be determined directly, but when using F5 functions this
25// information, e.g. the Memory Order that is associated with a coordinate system
26// is available anyway.
27//
28// Revision 1.2 2003/05/27 11:52:15 zib
29// added F5_API stuff to build dll, if you like to build
30// a static lib you'll have to define F5_STATIC during every
31// build using the headers
32//
33// Revision 1.1 2003/04/28 19:33:38 werner
34// Improved iterator functions, added interface for grid property functions.
35//
36// Revision 1.3 2001/10/27 15:39:53 werner
37// addec cplusplus wrappe.
38*/
39#ifndef __F5Gproperty_H
40#define __F5Gproperty_H
41
42#include "hdf5inc.h"
43
44#include "F5WinDLLApi.h"
45
46#include "F5F.h"
47
48#ifdef __cplusplus
49extern "C"
50{
51#endif
52
53/** \defgroup gridproperty Grid Property Functions
54*/
55
56/** @{ */
57
58
59/**
60 Prototype for functions determining grid properties.
61 @return true if the property is matched, otherwise false.
62 */
63typedef int F5_gridproperty_t(F5Path*grid, const char*coordinate_system);
64
65F5_API int F5P_is_uniform(F5Path*grid, const char*coordinate_system);
66F5_API int F5P_is_Zstacked(F5Path*grid, const char*coordinate_system);
67F5_API int F5P_is_rectilinear(F5Path*grid, const char*coordinate_system);
68F5_API int F5P_is_curvilinear(F5Path*grid, const char*coordinate_system);
69
70F5_API int F5P_is_triangular_surface(F5Path*grid, const char*coordinate_system);
71F5_API int F5P_is_particle_system(F5Path*grid, const char*coordinate_system);
72
73/** Check if the grid has positions in the specified coordinate system */
74F5_API int F5P_has_vertices(F5Path*grid, const char*coordinate_system);
75/** Check if the grid has some fields in the specified coordinate system */
76F5_API int F5P_has_vertex_fields(F5Path*grid, const char*coordinate_system);
77/** Check if the grid has some data fields defined on its cells */
78F5_API int F5P_has_cell_fields(F5Path*grid, const char*coordinate_system);
79
80/** @} */
81
82#ifdef __cplusplus
83} /* extern "C" */
84#endif
85
86#endif /* __F5Gproperty_H */
87
#define F5_API
Definition F5WinDLLApi.h:11
F5_API int F5P_has_cell_fields(F5Path *grid, const char *coordinate_system)
F5_API int F5P_is_rectilinear(F5Path *grid, const char *coordinate_system)
Definition F5P.c:113
F5_API int F5P_has_vertex_fields(F5Path *grid, const char *coordinate_system)
int F5_gridproperty_t(F5Path *grid, const char *coordinate_system)
Definition F5P.h:63
F5_API int F5P_is_curvilinear(F5Path *grid, const char *coordinate_system)
Definition F5P.c:163
F5_API int F5P_is_uniform(F5Path *grid, const char *coordinate_system)
Definition F5P.c:21
F5_API int F5P_is_Zstacked(F5Path *grid, const char *coordinate_system)
F5_API int F5P_has_vertices(F5Path *grid, const char *coordinate_system)
Definition F5P.c:299
F5_API int F5P_is_triangular_surface(F5Path *grid, const char *coordinate_system)
Definition F5P.c:221
F5_API int F5P_is_particle_system(F5Path *grid, const char *coordinate_system)
Definition F5P.c:278