Routines for reading and writing exnode/exdata files.
0.5 (12 October 2000)
0.6 (08 August 2001)
version 0.6
- added the ability to read and write string values for Exnode files JMB
- PARAMETERS
-
(filename)
- USAGE
-
@groups = readExnode($filename);
$group = readExnode("newfile");
- FUNCTION
-
Returns a list of NodeGroups read from filename (or filename.exnode).
If a scalar is assigned the return value, it will contain the first NodeGroup
read.
- PARAMETERS
-
(filename)
- USAGE
-
@groups = readExdata($filename);
- FUNCTION
-
Returns a list of NodeGroups read from filename (or filename.exdata).
If a scalar is assigned the return value, it will contain the first NodeGroup
read. Calls readExnode.
- PARAMETERS
-
(filename, group(s), options)
- USAGE
-
$options{nodes} = $group->getNodes(10..20);
writeExnode($filename, $group, \%options);
- FUNCTION
-
Writes one or more NodeGroups to an exnode file. Options are passed through
the options hash to control the subset of the NodeGroups which will be
printed.
- OPTIONS
-
- nodes
-
A array of node structures which will be output. A number of routines are
available to get nodes from a group (e.g. getNodes. See CmUtils::Objects::NodeGroup).
If not set, all nodes will be printed.
- fields
-
An array of field names which will be printed. If not set, all fields will be
printed.
- noDerivatives
-
Set this option to True to suppress printing of nodal derivatives.
- noVersions
-
Set this option to suppress printing of multiple versions - only the first
will be printed. (not yet implemented)
- PARAMETERS
-
(filename, group(s), options)
- USAGE
-
$options{nodes} = $group->getNodes(10..20);
writeExdata($filename, $group, \%options);
- FUNCTION
-
Calls writeExnode, but writes to an exdata file.