Command: nest::DumpLayerNodes

NEST HelpDesk Command Index NEST Quick Reference
Name:
nest::DumpLayerNodes - write information about layer nodes to file
Synopsis:
ostream layer DumpLayerNodes -> ostream
Examples:
/my_layer << /rows 5 /columns 4 /elements /iaf_psc_alpha >> CreateLayer def

(my_layer_dump.lyr) (w) file
my_layer DumpLayerNodes
close
Description:
Write information about each element in the given layer to the
output stream. The file format is one line per element with the
following contents:

node ID x-position y-position [z-position]

X and y position are given as physical coordinates in the extent,
not as grid positions. The number of decimals can be controlled by
calling setprecision on the output stream before calling DumpLayerNodes.
Parameters:
ostream - open output stream
layer - NodeCollection for layer
Require:
HAVE_LIBNEUROSIM */
Remarks:
In distributed simulations, this function should only be called for
MPI rank 0. If you call it on several MPI ranks, you must use a
different file name on each.
Author:
Kittel Austvoll, Hans Ekkehard Plesser
SeeAlso:
Source:
/usr/src/packages/BUILD/nestkernel/nestmodule.cpp
NEST HelpDesk Command Index NEST Quick Reference

© 2004 The NEST Initiative