VTR_write_var - writes 2D or 3D vector and scalar fields.
call VTR_write_var(FD, NAME, VX, VY, [VZ])
or
call VTR_write_var(FD, NAME, FIELD)
<IN> FD : Input of type VTR_file_handle. <IN> NAME : Input string defining the name of the vector or the scalar field. <IN> VX : Input double precision. Defines VX component of the vector field. <IN> VY : Input double precision. Defines VY component of the vector field. <IN> VZ : Optional input double precision. If present, it defines VZ component of the vector field. <IN> FIELD : Input double precision defining the scalar field.
For 2D fields, VZ parameter is not needed.