Command: topology::GetElement

NEST HelpDesk Command Index NEST Quick Reference

Name:
 topology::GetElement - return node GID at specified layer position

Synopsis:
 layer_gid [array] GetElement -> node_gid

Parameters:
    layer_gid     - topological layer
    [array]       - position of node
    node_gid      - node GID

Description:
 Retrieves node at the layer grid position
    given in [array]. [array] is on the format [column row].
    The layer must be of grid type. Returns an array of GIDs
    if there are several nodes per grid point.

Examples:

    topology using

    %%Create layer
    << /rows 5
       /columns 4
       /elements /iaf_neuron
    >> /dictionary Set

    dictionary CreateLayer /src Set

    src [2 3] GetElement

Author:
 Kittel Austvoll, HÃ¥kon Enger
Source:
 /home/abuild/rpmbuild/BUILD/nest-2.4.1/topology/topologymodule.cpp

NEST HelpDesk Command Index NEST Quick Reference

© 2000-2010 The NEST Initiative