*vectors()

Starts a vectors block.

Syntax

*vectors ()

Type

HyperMesh Template Command

Description

Starts a vectors block.

This command must be accompanied by an *output() command at the end of the block.

Example

To write out all vectors with the format:

*vectorentity(id,systemid,basenodeid,farnodeid,xcomp,ycomp,zcomp,magnitude)

*vectors()
*format()
*string("  *vectorentity(")
*field(integer,id,0)
*string(",")
*field(integer,systemid,0)
*string(",")
*field(integer,basenodeid,0)
*string(",")
*if([farnodeid > 0])
*field(integer,farnodeid,0)
*string(", 0.0, 0.0, 0.0, 0.0")
*else()
*field(integer,0,0)
*string(",")
*field(real,xcomp,8)
*string(",")
*field(real,ycomp,8)
*string(",")
*field(real,zcomp,8)
*string(",")
*field(real,magnitude,8)
*endif()
*output()