Modules | |
4.6.2. Determining all entities in a file |
Table 1 Group types defined as part of XMDF.
The following API functions are used to create groups for meshes, grids, and cross-sections. Creating data set and attribute groups will be discussed later because they are associated with a specific grid or mesh. The path is a string with slashes ‘/’ to specify the groups. The identifier is the file identifier received from the open file or close file command. The create group operation for data sets should only be used when writing data sets for a mesh, grid, or cross-sections that are not defined in the file.
int xfCreateGroupForMesh(xid FileId, const char *Path, xid *GroupId); int xfCreateGroupForGrid(xid FileId, const char *Path, xid *GroupId); int xfCreateGroupForXsec(xid FileId, const char *Path, xid *GroupId); int xfCreateGenericGroup(xid FileId, const char *Path, xid *GroupId);
SUBROUTINE XF_CREATE_GROUP_FOR_MESH(FileId, Path, GroupId, Error) INTEGER(XID), INTENT(IN) :: FileId CHARACTER(LEN=*), INTENT(IN):: Path INTEGER(XID), INTENT(OUT) :: GroupId INTEGER, INTENT(OUT) :: Error SUBROUTINE XF_CREATE_GROUP_FOR_GRID (FileId, Path, GroupId, Error) INTEGER(XID), INTENT(IN) :: FileId CHARACTER(LEN=*), INTENT(IN) :: Path INTEGER(XID), INTENT(OUT) :: GroupId INTEGER, INTENT(OUT) :: Error SUBROUTINE XF_CREATE_GROUP_FOR_XSECS (FileId, Path, GroupId, Error) INTEGER(XID), INTENT(IN) :: FileId CHARACTER(LEN=*), INTENT(IN):: Path INTEGER(XID), INTENT(OUT) :: GroupId INTEGER, INTENT(OUT) :: Error SUBROUTINE XF_CREATE_GENERIC_GROUP (FileId, Path, GroupId, Error) INTEGER(XID), INTENT(IN) :: FileId CHARACTER(LEN=*), INTENT(IN):: Path INTEGER(XID), INTENT(OUT) :: GroupId INTEGER, INTENT(OUT) :: Error
int xfOpenGroup(xid FileId, const char *path, xid *GroupId);
SUBROUTINE XF_OPEN_GROUP(FileId, Path, GroupId, Error) INTEGER(XID), INTENT(IN) :: FileId CHARACTER(LEN=*), INTENT(IN) :: Path INTEGER(XID), INTENT(OUT) :: GroupId INTEGER, INTENT(OUT) :: Error
int xfCloseGroup(xid GroupId);
SUBROUTINE XF_CLOSE_GROUP(GroupId, Error) INTEGER(XID), INTENT(IN) :: GroupId INTEGER, INTENT(OUT) :: Error