| ||
| Home | Modules | Examples |
Basic functions | |
| CCMIOError | CCMIOOpenFile (CCMIOError *err, char const *file, CCMIOIOType mode, CCMIOID *root) |
| Opens an CCMIO file. | |
| CCMIOError | CCMIOCloseFile (CCMIOError *err, CCMIOID root) |
| Closes all references to the CCMIO file. | |
| CCMIOError | CCMIOGetVersion (CCMIOError *err, CCMIONode root, int *version) |
| Returns the version number of the file. | |
| CCMIOError | CCMIOSetVersion (CCMIOError *err, CCMIONode root, int version) |
| Sets the version number of the file. | |
| CCMIOError | CCMIOGetTitle (CCMIOError *err, CCMIONode root, char **title) |
| Returns the title of the file. | |
| CCMIOError | CCMIOSetTitle (CCMIOError *err, CCMIONode root, char const *title) |
| Sets the title of the file. | |
Functions for Optional Nodes | |
| CCMIOError | CCMIOWriteOpti (CCMIOError *err, CCMIOID parent, char const *name, int value) |
| Creates a child node of parent with given name and scalar value. | |
| CCMIOError | CCMIOWriteOptf (CCMIOError *err, CCMIOID parent, char const *name, float value) |
| Creates a child node of parent with given name and scalar value. | |
| CCMIOError | CCMIOWriteOptd (CCMIOError *err, CCMIOID parent, char const *name, double value) |
| Creates a child node of parent with given name and scalar value. | |
| CCMIOError | CCMIOWriteOptstr (CCMIOError *err, CCMIOID parent, char const *name, char const *value) |
| Creates a child node of parent with given name and string value. | |
| CCMIOError | CCMIOReadOpti (CCMIOError *err, CCMIOID parent, char const *name, int *value) |
| Creates a child node of parent with given name and scalar value. | |
| CCMIOError | CCMIOReadOptf (CCMIOError *err, CCMIOID parent, char const *name, float *value) |
| Creates a child node of parent with given name and scalar value. | |
| CCMIOError | CCMIOReadOptd (CCMIOError *err, CCMIOID parent, char const *name, double *value) |
| Creates a child node of parent with given name and scalar value. | |
| CCMIOError | CCMIOReadOptstr (CCMIOError *err, CCMIOID parent, char const *name, int *size, char *value) |
| Creates a child node of parent with given name and scalar value. | |
| CCMIOError | CCMIOReadOpt1i (CCMIOError *err, CCMIOID parent, char const *name, int *data, CCMIOIndex start, CCMIOIndex end) |
| Reads a one-dimensional array from the child node of 'parent' with name 'name' into 'data'. | |
| CCMIOError | CCMIOReadOpt1f (CCMIOError *err, CCMIOID parent, char const *name, float *data, CCMIOIndex start, CCMIOIndex end) |
| Reads a one-dimensional array from the child node of 'parent' with name 'name' into 'data'. | |
| CCMIOError | CCMIOReadOpt1d (CCMIOError *err, CCMIOID parent, char const *name, double *data, CCMIOIndex start, CCMIOIndex end) |
| Reads a one-dimensional array from the child node of 'parent' with name 'name' into 'data'. | |
| CCMIOError | CCMIOReadOpt2i (CCMIOError *err, CCMIOID parent, char const *name, int *data, CCMIOIndex start, CCMIOIndex end) |
| Reads a two-dimensional array from the child node of 'parent' with name 'name' into 'data'. | |
| CCMIOError | CCMIOReadOpt2f (CCMIOError *err, CCMIOID parent, char const *name, float *data, CCMIOIndex start, CCMIOIndex end) |
| Reads a two-dimensional array from the child node of 'parent' with name 'name' into 'data'. | |
| CCMIOError | CCMIOReadOpt2d (CCMIOError *err, CCMIOID parent, char const *name, double *data, CCMIOIndex start, CCMIOIndex end) |
| Reads a two-dimensional array from the child node of 'parent' with name 'name' into 'data'. | |
| CCMIOError | CCMIOReadOpt3i (CCMIOError *err, CCMIOID parent, char const *name, int *data, CCMIOIndex start, CCMIOIndex end) |
| Reads a three-dimensional array from the child node of 'parent' with name 'name' into 'data'. | |
| CCMIOError | CCMIOReadOpt3f (CCMIOError *err, CCMIOID parent, char const *name, float *data, CCMIOIndex start, CCMIOIndex end) |
| Reads a three-dimensional array from the child node of 'parent' with name 'name' into 'data'. | |
| CCMIOError | CCMIOReadOpt3d (CCMIOError *err, CCMIOID parent, char const *name, double *data, CCMIOIndex start, CCMIOIndex end) |
| Reads a three-dimensional array from the child node of 'parent' with name 'name' into 'data'. | |
| CCMIOError | CCMIOWriteOpt1i (CCMIOError *err, CCMIOID const parent, char const *name, CCMIOSize const n, int const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes a one-dimensional array to a child node of 'parent' with name 'name'. | |
| CCMIOError | CCMIOWriteOpt1f (CCMIOError *err, CCMIOID parent, char const *name, CCMIOSize n, float const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes a one-dimensional array to a child node of 'parent' with name 'name'. | |
| CCMIOError | CCMIOWriteOpt1d (CCMIOError *err, CCMIOID parent, char const *name, CCMIOSize n, double const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes a one-dimensional array to a child node of 'parent' with name 'name'. | |
| CCMIOError | CCMIOWriteOpt2i (CCMIOError *err, CCMIOID const parent, char const *name, CCMIOIndex x, CCMIOIndex y, int const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes a two-dimensional array to a child node of 'parent' with name 'name'. | |
| CCMIOError | CCMIOWriteOpt2f (CCMIOError *err, CCMIOID parent, char const *name, CCMIOIndex x, CCMIOIndex y, float const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes a two-dimensional array to a child node of 'parent' with name 'name'. | |
| CCMIOError | CCMIOWriteOpt2d (CCMIOError *err, CCMIOID parent, char const *name, CCMIOIndex x, CCMIOIndex y, double const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes a two-dimensional array to a child node of 'parent' with name 'name'. | |
| CCMIOError | CCMIOWriteOpt3i (CCMIOError *err, CCMIOID parent, char const *name, CCMIOIndex x, CCMIOIndex y, CCMIOIndex z, int const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes a three-dimensional array to a child node of 'parent' with name 'name'. | |
| CCMIOError | CCMIOWriteOpt3f (CCMIOError *err, CCMIOID parent, char const *name, CCMIOIndex x, CCMIOIndex y, CCMIOIndex z, float const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes a three-dimensional array to a child node of 'parent' with name 'name'. | |
| CCMIOError | CCMIOWriteOpt3d (CCMIOError *err, CCMIOID parent, char const *name, CCMIOIndex x, CCMIOIndex y, CCMIOIndex z, double const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes a three-dimensional array to a child node of 'parent' with name 'name'. | |
| CCMIOError | CCMIOGetOptInfo (CCMIOError *err, CCMIOID parent, char const *name, CCMIODataType *type, CCMIOIndex *x, CCMIOIndex *y, CCMIOIndex *z) |
| Returns information about the optional node. | |
Intermediate API | |
| void | CCMIOInvalidateEntity (CCMIOID *entity) |
| Marks the entity as invalid. | |
| int | CCMIOIsValidEntity (CCMIOID entity) |
| Returns TRUE if the entity is valid, FALSE otherwise. | |
| int | CCMIOIsFromSameFile (CCMIOID entity1, CCMIOID entity2) |
| Returns TRUE if the two entities are from the same file, FALSE otherwise. | |
| CCMIOError | CCMIONewEntity (CCMIOError *err, CCMIOID parent, CCMIOEntity type, char const *description, CCMIOID *id) |
| Creates a new entity. | |
| CCMIOError | CCMIOGetEntity (CCMIOError *err, CCMIOID parent, CCMIOEntity type, int idVal, CCMIOID *id) |
| Retrieves an entity. | |
| CCMIOError | CCMIONewIndexedEntity (CCMIOError *err, CCMIOID parent, CCMIOEntity which, int idVal, char const *description, CCMIOID *id) |
| Creates a new entity identified by an index number. | |
| CCMIOError | CCMIOGetEntityIndex (CCMIOError *err, CCMIOID id, int *n) |
| Returns the index (i.e. | |
| CCMIOError | CCMIONewState (CCMIOError *err, CCMIOID root, char const *name, CCMIOID *problemDescription, char const *description, CCMIOID *state) |
| Creates a new state. | |
| CCMIOError | CCMIOGetState (CCMIOError *err, CCMIOID root, char const *name, CCMIOID *problemDescription, CCMIOID *state) |
| Marks the entity as invalid. | |
| CCMIOError | CCMIOWriteState (CCMIOError *err, CCMIOID state, CCMIOID problemDescription, char const *description) |
| Writes the problem description node to the state. | |
| CCMIOError | CCMIONewField (CCMIOError *err, CCMIOID phase, char const *name, char const *shortName, CCMIODimensionality dim, CCMIOID *field) |
| Marks the entity as invalid. | |
| CCMIOError | CCMIOGetField (CCMIOError *err, CCMIOID phase, char const *name, CCMIODimensionality *dim, CCMIOID *field) |
| Retrieves a field entity. | |
| CCMIOError | CCMIOReadField (CCMIOError *err, CCMIOID field, char *name, char *shortName, CCMIODimensionality *dim, CCMIODataType *datatype) |
| Reads information about a field. | |
| CCMIOError | CCMIONewProstarSet (CCMIOError *err, CCMIOID root, const char *name, const char *longName, CCMIOID *setID) |
| Creates a new prostar set. | |
| CCMIOError | CCMIOGetProstarSet (CCMIOError *err, CCMIOID root, const char *name, int *longNameSize, char *longName, unsigned int *setsAvailableFlag, CCMIOID *setID) |
| Gets a prostar set. | |
| CCMIOError | CCMIODeleteEntity (CCMIOError *err, CCMIOID id) |
| Deletes the entity and all of its children. | |
| CCMIOError | CCMIONextEntity (CCMIOError *err, CCMIOID parent, CCMIOEntity type, int *i, CCMIOID *next) |
| Marks the entity as invalid. | |
| CCMIOError | CCMIOEntitySize (CCMIOError *err, CCMIOID id, CCMIOSize *n, CCMIOIndex *max) |
| Returns the number of elements and the maximum element ID in the specified entity. | |
| CCMIOError | CCMIOEntityName (CCMIOError *err, CCMIOID id, char *name) |
| Gets the name of the entity. | |
| CCMIOError | CCMIOEntityLabel (CCMIOError *err, CCMIOID id, CCMIOSize *size, char *label) |
| Gets the label of the entity. | |
| CCMIOError | CCMIOEntityDescription (CCMIOError *err, CCMIOID id, CCMIOSize *size, char *desc) |
| Gets the description (if any) of the specified entity. | |
| CCMIOError | CCMIOGetEntityNode (CCMIOError *err, CCMIOID id, CCMIONode *node) |
| Returns the CCMIO node corresponding to this entity. | |
| CCMIOError | CCMIOEntityDataType (CCMIOError *err, CCMIOID id, CCMIODataType *type) |
| Returns the data type of the main data of the entity. | |
| CCMIOError | CCMIOWriteMap (CCMIOError *err, CCMIOID id, CCMIOSize n, CCMIOSize max, int const *data, CCMIOIndex start, CCMIOIndex end) |
| Writes the map data. | |
| CCMIOError | CCMIOReadMap (CCMIOError *err, CCMIOID id, int *data, CCMIOIndex start, CCMIOIndex end) |
| Reads the map data. | |
| CCMIOError | CCMIOReadVerticesf (CCMIOError *err, CCMIOID id, int *dims, float *scale, CCMIOID *mapID, float *vertices, CCMIOIndex start, CCMIOIndex end) |
| Reads the vertex data. | |
| CCMIOError | CCMIOReadVerticesd (CCMIOError *err, CCMIOID id, int *dims, float *scale, CCMIOID *mapID, double *vertices, CCMIOIndex start, CCMIOIndex end) |
| Reads the vertex data. | |
| CCMIOError | CCMIOWriteVerticesf (CCMIOError *err, CCMIOID id, int dims, float scale, CCMIOID mapID, float const *vertices, CCMIOIndex start, CCMIOIndex end) |
| Writes the vertex data. | |
| CCMIOError | CCMIOWriteVerticesd (CCMIOError *err, CCMIOID id, int dims, float scale, CCMIOID mapID, double const *vertices, CCMIOIndex start, CCMIOIndex end) |
| Writes the vertex data. | |
| CCMIOError | CCMIOReadCells (CCMIOError *err, CCMIOID id, CCMIOID *mapID, int *cellTypes, CCMIOIndex start, CCMIOIndex end) |
| Reads the cell data. | |
| CCMIOError | CCMIOWriteCells (CCMIOError *err, CCMIOID id, CCMIOID mapID, int *cellTypes, CCMIOIndex start, CCMIOIndex end) |
| Writes the cell data. | |
| CCMIOError | CCMIOReadFaces (CCMIOError *err, CCMIOID entity, CCMIOEntity which, CCMIOID *mapID, CCMIOSize *streamSize, int *vertexStream, CCMIOIndex start, CCMIOIndex end) |
| Reads the face data. | |
| CCMIOError | CCMIOWriteFaces (CCMIOError *err, CCMIOID entity, CCMIOEntity which, CCMIOID mapID, CCMIOSize streamSize, int const *vertexStream, CCMIOIndex start, CCMIOIndex end) |
| Writes the face data. | |
| CCMIOError | CCMIOReadFaceCells (CCMIOError *err, CCMIOID entity, CCMIOEntity which, int *cells, CCMIOIndex start, CCMIOIndex end) |
| Reads the faces' cell associations with the faces. | |
| CCMIOError | CCMIOWriteFaceCells (CCMIOError *err, CCMIOID entity, CCMIOEntity which, CCMIOID mapID, int const *cells, CCMIOIndex start, CCMIOIndex end) |
| Writes the face data. | |
| CCMIOError | CCMIOWriteProcessor (CCMIOError *err, CCMIOID processor, char const *verticesFile, CCMIOID *vertices, char const *topologyFile, CCMIOID *topology, char const *initialFieldFile, CCMIOID *initialField, char const *solutionFile, CCMIOID *solution) |
| Writes the processor information. | |
| CCMIOError | CCMIOReadProcessor (CCMIOError *err, CCMIOID processor, CCMIOID *vertices, CCMIOID *topology, CCMIOID *initialField, CCMIOID *solution) |
| Reads the processor information. | |
| CCMIOError | CCMIOClearProcessor (CCMIOError *err, CCMIOID state, CCMIOID processor, int clearVertices, int clearTopology, int clearInitialField, int clearSolution, int clearLagrangian) |
| Clears the relevant information from the processor. | |
| CCMIOError | CCMIOWriteLagrangianData (CCMIOError *err, CCMIOID lagrangian, char const *positionsFile, CCMIOID *positions, char const *solutionFile, CCMIOID *solution) |
| Writes Lagrangian data. | |
| CCMIOError | CCMIOReadLagrangianData (CCMIOError *err, CCMIOID lagrangian, CCMIOID *positions, CCMIOID *solution) |
| Reads the Langrangian information. | |
| CCMIOError | CCMIOWriteMultiDimensionalFieldData (CCMIOError *err, CCMIOID fieldID, CCMIOComponent component, CCMIOID componentField) |
| Writes one component of a vector or tensor data field. | |
| CCMIOError | CCMIOReadMultiDimensionalFieldData (CCMIOError *err, CCMIOID fieldID, CCMIOComponent component, CCMIOID *componentField) |
| Gets the field ID of one component of a vector or tensor data field. | |
| CCMIOError | CCMIOWriteFieldDataf (CCMIOError *err, CCMIOID fieldData, CCMIOID mapID, CCMIODataLocation loc, float *data, CCMIOIndex start, CCMIOIndex end) |
| Writes scalar data for a field. | |
| CCMIOError | CCMIOWriteFieldDatad (CCMIOError *err, CCMIOID fieldData, CCMIOID mapID, CCMIODataLocation loc, double *data, CCMIOIndex start, CCMIOIndex end) |
| Writes the data for a field. | |
| CCMIOError | CCMIOWriteFieldDatai (CCMIOError *err, CCMIOID fieldData, CCMIOID mapID, CCMIODataLocation loc, int *data, CCMIOIndex start, CCMIOIndex end) |
| Writes the data for a field. | |
| CCMIOError | CCMIOWriteConstantFieldDataf (CCMIOError *err, CCMIOID fieldData, CCMIOID mapID, CCMIODataLocation loc, float value) |
| Writes data for a field that is constant. | |
| CCMIOError | CCMIOWriteConstantFieldDatad (CCMIOError *err, CCMIOID fieldData, CCMIOID mapID, CCMIODataLocation loc, double value) |
| Writes data for a field that is constant. | |
| CCMIOError | CCMIOWriteConstantFieldDatai (CCMIOError *err, CCMIOID fieldData, CCMIOID mapID, CCMIODataLocation loc, int value) |
| Writes data for a field that is constant. | |
| CCMIOError | CCMIOReadFieldDataf (CCMIOError *err, CCMIOID fieldData, CCMIOID *mapID, CCMIODataLocation *loc, float *data, CCMIOIndex start, CCMIOIndex end) |
| Reads scalar data from a field. | |
| CCMIOError | CCMIOReadFieldDatad (CCMIOError *err, CCMIOID fieldData, CCMIOID *mapID, CCMIODataLocation *loc, double *data, CCMIOIndex start, CCMIOIndex end) |
| Reads the data from a field. | |
| CCMIOError | CCMIOReadFieldDatai (CCMIOError *err, CCMIOID fieldData, CCMIOID *mapID, CCMIODataLocation *loc, int *data, CCMIOIndex start, CCMIOIndex end) |
| Reads the data from a field. | |
| CCMIOError | CCMIOWriteRestartInfo (CCMIOError *err, CCMIOID restartInfo, char const *solverName, int iteration, float time, char const *timeUnits, float startAngle) |
| Writes the solver restart entity. | |
| CCMIOError | CCMIOReadRestartInfo (CCMIOError *err, CCMIOID restartInfo, char *solverName, int *iteration, float *time, char *timeUnits, float *startAngle) |
| Reads the solver restart entity. | |
| CCMIOError | CCMIOV2WriteFaceCells (CCMIOError *err, CCMIOID entity, CCMIOEntity which, CCMIOSize nFace, int const *cells, CCMIOIndex start, CCMIOIndex end) |
|
||||||||||||||||||||||||||||||||||||
|
Clears the relevant information from the processor. If this information is not used elsewhere, it will be removed from the file.
|
|
||||||||||||
|
Closes all references to the CCMIO file. Closing an already closed file generates a kCCMIOBadParameterErr.
|
|
||||||||||||
|
Deletes the entity and all of its children. Note that deleting a processor without calling CCMIOClearProcessor() first will not delete entites that become unused as a result of the delete (e.g. the mesh and post data referred to by that processor) and may lead to wasted disk space. However, calling CCMIODeleteEntity on a state entity is safe. |
|
||||||||||||||||
|
Returns the data type of the main data of the entity. Currently only valid for vertices. |
|
||||||||||||||||||||
|
Gets the description (if any) of the specified entity.
|
|
||||||||||||||||||||
|
Gets the label of the entity.
|
|
||||||||||||||||
|
Gets the name of the entity. Although this is not useful for most entities, it may be convenient for named entities (kCCMIOState, kCCMIOField).
|
|
||||||||||||||||||||
|
Returns the number of elements and the maximum element ID in the specified entity. Either 'n' or 'max' may be NULL if the information is not desired.
|
|
||||||||||||||||||||||||
|
Retrieves an entity. Although it is mostly an internal function, it is necessary for retrieving the cell and internal face entities.
|
|
||||||||||||||||
|
Returns the index (i.e. the id) of the given indexed entity. (See CCMIONewIndexedEntity() for more details and a list of valid entities.)
|
|
||||||||||||||||
|
Returns the CCMIO node corresponding to this entity.
|
|
||||||||||||||||||||||||
|
Retrieves a field entity.
|
|
||||||||||||||||||||||||||||||||
|
Returns information about the optional node.
|
|
||||||||||||||||||||||||||||||||
|
Gets a prostar set.
|
|
||||||||||||||||||||||||
|
Marks the entity as invalid. Further CCMIO calls will fail, until a call (such as CCMIOGetEntity()) writes a valid entity into it.
|
|
||||||||||||||||
|
Returns the title of the file. Note that the returned string is allocated by the library and must be freed by the user. It is null-terminated. |
|
||||||||||||||||
|
Returns the version number of the file.
|
|
|
Marks the entity as invalid. Further CCMIO calls will fail, until a call (such as CCMIOGetEntity()) writes a valid entity into it.
|
|
||||||||||||
|
Returns TRUE if the two entities are from the same file, FALSE otherwise.
|
|
|
Returns TRUE if the entity is valid, FALSE otherwise. Note that unitialized entities will likely return TRUE, even though they are not actually valid. Use CCMIOInvalidateEntity() to initialize them.
|
|
||||||||||||||||||||||||
|
Creates a new entity.
|
|
||||||||||||||||||||||||||||
|
Marks the entity as invalid. Further CCMIO calls will fail, until a call (such as CCMIOGetEntity()) writes a valid entity into it.
|
|
||||||||||||||||||||||||||||
|
Creates a new entity identified by an index number. Although almost all entities are internally identified by an ID number, this number is unimportant for most entities and is only used internally. Some entities, however, are most easily identified with a number and for these entities (kCCMIOBoundaryFaces, kCCMIOCellType, and kCCMIOBoundaryRegion) the ID number is provided by the creator. The entities, called indexed entities, can be created with this function.
|
|
||||||||||||||||||||||||
|
Creates a new prostar set. The sets can be written with CCMIOWriteOpti(). If called on a pre-existing set, all contents of the original set will be removed.
|
|
||||||||||||||||||||||||||||
|
Creates a new state. If a state with that name exists, its contents, including processor entities, will be cleared.
|
|
||||||||||||||||||||||||
|
Marks the entity as invalid. Further CCMIO calls will fail, until a call (such as CCMIOGetEntity()) writes a valid entity into it.
|
|
||||||||||||||||||||
|
Opens an CCMIO file. Calling CCMIOOpenFile() multiple times on a file does not create multiple references to it; thus if CCMIOOpenFile() is called five times on the same file, only one CCMIOCloseFile() is required.
|
|
||||||||||||||||||||||||||||
|
Reads the cell data.
|
|
||||||||||||||||||||||||||||
|
Reads the faces' cell associations with the faces.
Note: When writing partial arrays, the first block of the array you write must have start equal to kCCMIOStart.
|
|
||||||||||||||||||||||||||||||||||||
|
Reads the face data.
|
|
||||||||||||||||||||||||||||
|
Reads information about a field. Note that this does not read the data of the node; use CCMIOReadFieldData(f|v|i)() for that. This is for determining the name of the field when using CCMIONextEntity().
|
|
||||||||||||||||||||||||||||||||
|
Reads the data from a field. The data is returned in double-precision so if the original data is single-precision it will be converted. See CCMIOReadFieldDataf() for a full description. |
|
||||||||||||||||||||||||||||||||
|
Reads scalar data from a field.
The data is returned in single-precision so if the original data is double-precision it will be converted. If the data is a constant value, the entire array will be filled with that value.
|
|
||||||||||||||||||||||||||||||||
|
Reads the data from a field. The data is returned in double-precision so if the original data is single-precision it will be converted. See CCMIOReadFieldDataf() for a full description. |
|
||||||||||||||||||||
|
Reads the Langrangian information. The returned entities may be in a a different file and this will need to be closed with CCMIOClose, but since the node might be the root of the current file, they should not be closed until the end. 'positions' and 'solution' may be NULL if the information is not desired.
|
|
||||||||||||||||||||||||
|
Reads the map data.
|
|
||||||||||||||||||||
|
Gets the field ID of one component of a vector or tensor data field. Although applications should specify all components, if there is a kCCMIONoNodeErr reading the entity, the application should assume that this component was not written and should use a proper default value (presumably 0.0). If the file is from an older version of the library that stores multiple dimensions in one node, a kCCMIOVersionErr is returned. In this case CCMIOReadFieldData*() will read a multiple dimensional array, instead of just one component.
|
|
||||||||||||||||||||||||||||
|
Reads a one-dimensional array from the child node of 'parent' with name 'name' into 'data'. See CCMIOReadOpt1f() for a complete description. |
|
||||||||||||||||||||||||||||
|
Reads a one-dimensional array from the child node of 'parent' with name 'name' into 'data'. 'data' must be the proper size (which can be determined with CCMIOGetDimensions()). If actual node data is stored in a different format than requested (i.e. float or double), it will be converted.
|
|
||||||||||||||||||||||||||||
|
Reads a one-dimensional array from the child node of 'parent' with name 'name' into 'data'. See CCMIOReadOpt1f() for a complete description.
|
|
||||||||||||||||||||||||||||
|
Reads a two-dimensional array from the child node of 'parent' with name 'name' into 'data'. See CCMIOReadOpt2f() for a complete description. |
|
||||||||||||||||||||||||||||
|
Reads a two-dimensional array from the child node of 'parent' with name 'name' into 'data'. 'data' must be the proper size (which can be determined with CCMIOGetDimensions()). If actual node data is stored in a different format than requested (i.e. float or double), it will be converted.
|
|
||||||||||||||||||||||||||||
|
Reads a two-dimensional array from the child node of 'parent' with name 'name' into 'data'. See CCMIOReadOpt2f() for a complete description. |
|
||||||||||||||||||||||||||||
|
Reads a three-dimensional array from the child node of 'parent' with name 'name' into 'data'. See CCMIOReadOpt3f() for a complete description. |
|
||||||||||||||||||||||||||||
|
Reads a three-dimensional array from the child node of 'parent' with name 'name' into 'data'. 'data' must be the proper size (which can be determined with CCMIOGetDimensions()). If actual node data is stored in a different format than requested (i.e. float or double), it will be converted.
|
|
||||||||||||||||||||||||||||
|
Reads a three-dimensional array from the child node of 'parent' with name 'name' into 'data'. See CCMIOReadOpt3f() for a complete description. |
|
||||||||||||||||||||
|
Creates a child node of parent with given name and scalar value. If the node already exists it will be overwritten.
|
|
||||||||||||||||||||
|
Creates a child node of parent with given name and scalar value. If the node already exists it will be overwritten.
|
|
||||||||||||||||||||
|
Creates a child node of parent with given name and scalar value. If the node already exists it will be overwritten.
|
|
||||||||||||||||||||||||
|
Creates a child node of parent with given name and scalar value. If the node already exists it will be overwritten.
|
|
||||||||||||||||||||||||||||
|
Reads the processor information. The returned entities may be in a a different file and this will need to be closed with CCMIOClose, but since the node might be the root of the current file, they should not be closed until the end. 'positions' and 'solution' may be NULL if the information is not desired.
|
|
||||||||||||||||||||||||||||||||
|
Reads the solver restart entity. Any pointer may be NULL if the information is not desired.
|
|
||||||||||||||||||||||||||||||||||||
|
Reads the vertex data.
|
|
||||||||||||||||||||||||||||||||||||
|
Reads the vertex data.
|
|
||||||||||||||||
|
Sets the title of the file. The string must be null-terminated. |
|
||||||||||||||||
|
Sets the version number of the file.
|
|
||||||||||||||||||||||||||||||||
|
For internal use only. Writes the face data. See CCMIOReadFaces() for a description of the parameters. Note: When writing partial arrays, the first block of the array you write must have start equal to zero. |
|
||||||||||||||||||||||||||||
|
Writes the cell data.
|
|
||||||||||||||||||||||||
|
Writes data for a field that is constant. See CCMIOWriteConstantFieldDataf() for a description of the parameters.
|
|
||||||||||||||||||||||||
|
Writes data for a field that is constant. Note that it is possible for one type of data (e.g. kCCMIOCellValues) to be constant and another type to be specified. (Whether this is meaningful is another issue.)
|
|
||||||||||||||||||||||||
|
Writes data for a field that is constant. See CCMIOWriteConstantFieldDataf() for a description of the parameters.
|
|
||||||||||||||||||||||||||||||||
|
Writes the face data. See CCMIOReadFaces() for a description of the parameters. Note: When writing partial arrays, the first block of the array you write must have start equal to zero.
|
|
||||||||||||||||||||||||||||||||||||
|
Writes the face data. See CCMIOReadFaces() for a description of the parameters.
|
|
||||||||||||||||||||||||||||||||
|
Writes the data for a field. See CCMIOWriteFieldDataf() for a description of the paramaters.
|
|
||||||||||||||||||||||||||||||||
|
Writes scalar data for a field. Vector or tensor data should be written as individual components and each component written with CCMIOWriteMultiDimensionalFieldData(). Note that if CCMIOWriteMultiDimensionalFieldData() returns a kCCMIOVersionErr, this function will read an old-style field, which will return all components of the array at once, so the 'data' array will need to be 3 or 9 (depending on whether vector or tensor data is being read) times longer.
|
|
||||||||||||||||||||||||||||||||
|
Writes the data for a field. See CCMIOWriteFieldDataf() for a description of the paramaters.
|
|
||||||||||||||||||||||||||||
|
Writes Lagrangian data.
|
|
||||||||||||||||||||||||||||||||
|
Writes the map data.
Note: When writing partial arrays, the first block of the array you write must have start equal to kCCMIOStart.
|
|
||||||||||||||||||||
|
Writes one component of a vector or tensor data field.
|
|
||||||||||||||||||||||||||||||||
|
Writes a one-dimensional array to a child node of 'parent' with name 'name'. See CCMIOWriteOpt1f() for a complete description. |
|
||||||||||||||||||||||||||||||||
|
Writes a one-dimensional array to a child node of 'parent' with name 'name'. If the child node does not exist it will be created and in either case its size and data type will be automatically set to the proper values.
|
|
||||||||||||||||||||||||||||||||
|
Writes a one-dimensional array to a child node of 'parent' with name 'name'. See CCMIOWriteOpt1f() for a complete description.
|
|
||||||||||||||||||||||||||||||||||||
|
Writes a two-dimensional array to a child node of 'parent' with name 'name'. See CCMIOWriteOpt2f() for a complete description. |
|
||||||||||||||||||||||||||||||||||||
|
Writes a two-dimensional array to a child node of 'parent' with name 'name'. If the child node does not exist it will be created and in either case its size and data type will be automatically set to the proper values. 'data' is expected to be an array of data[x][y] elements. Note that although the CCM specification specifies dimension in FORTRAN ordering, the API expects C ordering. Thus a C array data[x][y] must be called as CCMIOWriteOpt2f(..., x, y, ...), even though the dimensions will be reversed on disk.
|
|
||||||||||||||||||||||||||||||||||||
|
Writes a two-dimensional array to a child node of 'parent' with name 'name'. See CCMIOWriteOpt2f() for a complete description. |
|
||||||||||||||||||||||||||||||||||||||||
|
Writes a three-dimensional array to a child node of 'parent' with name 'name'. See CCMIOWriteOpt3f() for a complete description. |
|
||||||||||||||||||||||||||||||||||||||||
|
Writes a three-dimensional array to a child node of 'parent' with name 'name'. If the child node does not exist it will be created and in either case its size and data type will be automatically set to the proper values. 'data' is expected to be an array of data[x][y] elements. Note that although the CCM specification specifies dimension in FORTRAN ordering, the API expects C ordering. Thus a C array data[x][y] must be called as CCMIOWriteOpt3f(..., x, y, z, ...), even though the dimensions will be reversed on disk.
|
|
||||||||||||||||||||||||||||||||||||||||
|
Writes a three-dimensional array to a child node of 'parent' with name 'name'. See CCMIOWriteOpt3f() for a complete description. |
|
||||||||||||||||||||
|
Creates a child node of parent with given name and scalar value. If the node already exists it will be overwritten.
|
|
||||||||||||||||||||
|
Creates a child node of parent with given name and scalar value. If the node already exists it will be overwritten.
|
|
||||||||||||||||||||
|
Creates a child node of parent with given name and scalar value. If the node already exists it will be overwritten.
|
|
||||||||||||||||||||
|
Creates a child node of parent with given name and string value. If the node already exists it will be overwritten.
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
Writes the processor information.
|
|
||||||||||||||||||||||||||||||||
|
Writes the solver restart entity.
|
|
||||||||||||||||||||
|
Writes the problem description node to the state. Note that there is not an CCMIOReadState(); this functionality is incorporated in CCMIOGetState().
|
|
||||||||||||||||||||||||||||||||||||
|
Writes the vertex data.
Note: When writing partial arrays, the first block of the array you write must have start equal to zero. |
|
||||||||||||||||||||||||||||||||||||
|
Writes the vertex data.
Note: When writing partial arrays, the first block of the array you write must have start equal to zero.
|
1.2.18