AODataSegmentGetReducedIS

Gets the unique list of segment values, by removing duplicates.

Synopsis

#include "petscao.h" 
int AODataSegmentGetReducedIS(AOData aodata,char *name,char *segment,IS is,IS *isout)
Collective on AOData and IS

Input Parameters

aodata - the database
name - the name of the key
segment - the name of the segment
is - the keys for data requested on this processor

Output Parameters

isout -the indices retreived

Example

                      keys    ->      0  1  2  3  4   5  6  7
      if the segment contains ->      1  2  1  3  1   4  2  0

  and you request keys 0 1 2 5 7, AODataSegmentGetReducedIS() will return 1 2 4 0

Keywords

database transactions

See Also


Level:advanced
Location:
src/dm/ao/interface/aodata.c
Index of all AO routines
Table of Contents for all manual pages
Index of all manual pages