Zoltan::QueryObject Class Reference

Zoltan::QueryObject: A base class from which the user can derive an application specific support class for Zoltan's query callback functions. More...

#include <Zoltan_QueryObject.h>

Inheritance diagram for Zoltan::QueryObject:

Inheritance graph
[legend]
List of all members.
virtual int Number_Objects (void *data, int *ierr)
 Supports ZOLTAN_NUM_OBJ_FN_TYPE.
virtual void Object_List (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int weight_dim, float *object_weights, int *ierr)
 Supports ZOLTAN_OBJ_LIST_FN_TYPE.
virtual int First_Object (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR first_global_id, ZOLTAN_ID_PTR first_local_id, int weight_dim, float *first_weight, int *ierr)
 Supports ZOLTAN_FIRST_OBJ_FN_TYPE.
virtual int Next_Object (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, ZOLTAN_ID_PTR next_global_id, ZOLTAN_ID_PTR next_local_id, int weight_dim, float *next_weight, int *ierr)
 Supports ZOLTAN_NEXT_OBJ_FN_TYPE.
virtual int Number_Border_Objects (void *data, int number_neighbor_procs, int *ierr)
 Supports ZOLTAN_BORDER_OBJ_FN_TYPE.
virtual void Border_Object_List (void *data, int num_gid_entries, int num_lid_entries, int number_neighbor_procs, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int weight_dim, float *object_weights, int *ierr)
 Supports ZOLTAN_BORDER_OBJ_LIST_FN_TYPE.
virtual int First_Border_Object (void *data, int num_gid_entries, int num_lid_entries, int number_neighbor_procs, ZOLTAN_ID_PTR first_global_id, ZOLTAN_ID_PTR first_local_id, int weight_dim, float *first_weight, int *ierr)
 Supports ZOLTAN_FIRST_BORDER_OBJ_FN_TYPE.
virtual int Next_Border_Object (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, int number_neighbor_procs, ZOLTAN_ID_PTR next_global_id, ZOLTAN_ID_PTR next_local_id, int weight_dim, float *next_weight, int *ierr)
 Supports ZOLTAN_NEXT_BORDER_OBJ_FN_TYPE.
virtual int Number_Geometry_Objects (void *data, int *ierr)
 Supports ZOLTAN_NUM_GEOM_OBJ_FN_TYPE.
virtual void Geometry_Values (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, double *geometry_vector, int *ierr)
 Supports ZOLTAN_GEOM_VALUES_FN_TYPE.
virtual int Number_Edges (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, int *ierr)
 Supports ZOLTAN_NUM_EDGES_FN_TYPE.
virtual void Edge_List (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, ZOLTAN_ID_PTR neighbor_global_ids, int *neighbor_procs, int weight_dim, float *edge_weights, int *ierr)
 Supports ZOLTAN_EDGE_LIST_FN_TYPE.
virtual int Number_Coarse_Objects (void *data, int *ierr)
 Supports ZOLTAN_NUM_COARSE_OBJ_FN_TYPE.
virtual void Coarse_Object_List (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_ids, ZOLTAN_ID_PTR local_ids, int *assigned, int *number_vertices, ZOLTAN_ID_PTR vertices, int *in_order, ZOLTAN_ID_PTR in_vertex, ZOLTAN_ID_PTR out_vertex, int *ierr)
 Supports ZOLTAN_COARSE_OBJ_LIST_FN_TYPE.
virtual int First_Coarse_Object (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR first_global_id, ZOLTAN_ID_PTR first_local_id, int *assigned, int *number_vertices, ZOLTAN_ID_PTR vertices, int *in_order, ZOLTAN_ID_PTR in_vertex, ZOLTAN_ID_PTR out_vertex, int *ierr)
 Supports ZOLTAN_FIRST_COARSE_OBJ_FN_TYPE.
virtual int Next_Coarse_Object (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, ZOLTAN_ID_PTR next_global_id, ZOLTAN_ID_PTR next_local_id, int *assigned, int *number_vertices, ZOLTAN_ID_PTR vertices, ZOLTAN_ID_PTR in_vertex, ZOLTAN_ID_PTR out_vertex, int *ierr)
 Supports ZOLTAN_NEXT_COARSE_OBJ_FN_TYPE.
virtual int Number_Children (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, int *ierr)
 Supports ZOLTAN_NUM_CHILD_FN_TYPE.
virtual void Child_List (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR parent_global_id, ZOLTAN_ID_PTR parent_local_id, ZOLTAN_ID_PTR child_global_id, ZOLTAN_ID_PTR child_local_id, int *assigned, int *number_vertices, ZOLTAN_ID_PTR vertices, ZOLTAN_REF_TYPE *reference_type, ZOLTAN_ID_PTR in_vertex, ZOLTAN_ID_PTR out_vertex, int *ierr)
 Supports ZOLTAN_CHILD_LIST_FN_TYPE.
virtual void Child_Weight (void *data, int num_gid_entries, int num_lid_entries, ZOLTAN_ID_PTR global_id, ZOLTAN_ID_PTR local_id, int weight_dim, float *object_weight, int *ierr)
 Supports ZOLTAN_CHILD_WEIGHT_FN_TYPE.

Detailed Description

Zoltan::QueryObject: A base class from which the user can derive an application specific support class for Zoltan's query callback functions.

As with Zoltan, the user only need implement those methods used by Zoltan during their application execution. If Zoltan calls an unimplemented method, a fatal error will be generated.

Definition at line 28 of file Zoltan_QueryObject.h.


Member Function Documentation

int Zoltan::QueryObject::Number_Objects ( void *  data,
int *  ierr 
) [virtual]

Supports ZOLTAN_NUM_OBJ_FN_TYPE.

Reimplemented in EpetraExt::ZoltanQuery.

Definition at line 35 of file Zoltan_QueryObject.cpp.

void Zoltan::QueryObject::Object_List ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_ids,
ZOLTAN_ID_PTR  local_ids,
int  weight_dim,
float *  object_weights,
int *  ierr 
) [virtual]

Supports ZOLTAN_OBJ_LIST_FN_TYPE.

Reimplemented in EpetraExt::ZoltanQuery.

Definition at line 46 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::First_Object ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  first_global_id,
ZOLTAN_ID_PTR  first_local_id,
int  weight_dim,
float *  first_weight,
int *  ierr 
) [virtual]

Supports ZOLTAN_FIRST_OBJ_FN_TYPE.

Definition at line 62 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::Next_Object ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
ZOLTAN_ID_PTR  next_global_id,
ZOLTAN_ID_PTR  next_local_id,
int  weight_dim,
float *  next_weight,
int *  ierr 
) [virtual]

Supports ZOLTAN_NEXT_OBJ_FN_TYPE.

Definition at line 80 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::Number_Border_Objects ( void *  data,
int  number_neighbor_procs,
int *  ierr 
) [virtual]

Supports ZOLTAN_BORDER_OBJ_FN_TYPE.

Definition at line 101 of file Zoltan_QueryObject.cpp.

void Zoltan::QueryObject::Border_Object_List ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
int  number_neighbor_procs,
ZOLTAN_ID_PTR  global_ids,
ZOLTAN_ID_PTR  local_ids,
int  weight_dim,
float *  object_weights,
int *  ierr 
) [virtual]

Supports ZOLTAN_BORDER_OBJ_LIST_FN_TYPE.

Definition at line 114 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::First_Border_Object ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
int  number_neighbor_procs,
ZOLTAN_ID_PTR  first_global_id,
ZOLTAN_ID_PTR  first_local_id,
int  weight_dim,
float *  first_weight,
int *  ierr 
) [virtual]

Supports ZOLTAN_FIRST_BORDER_OBJ_FN_TYPE.

Definition at line 131 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::Next_Border_Object ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
int  number_neighbor_procs,
ZOLTAN_ID_PTR  next_global_id,
ZOLTAN_ID_PTR  next_local_id,
int  weight_dim,
float *  next_weight,
int *  ierr 
) [virtual]

Supports ZOLTAN_NEXT_BORDER_OBJ_FN_TYPE.

Definition at line 150 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::Number_Geometry_Objects ( void *  data,
int *  ierr 
) [virtual]

Supports ZOLTAN_NUM_GEOM_OBJ_FN_TYPE.

Definition at line 173 of file Zoltan_QueryObject.cpp.

void Zoltan::QueryObject::Geometry_Values ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
double *  geometry_vector,
int *  ierr 
) [virtual]

Supports ZOLTAN_GEOM_VALUES_FN_TYPE.

Definition at line 184 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::Number_Edges ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
int *  ierr 
) [virtual]

Supports ZOLTAN_NUM_EDGES_FN_TYPE.

Reimplemented in EpetraExt::ZoltanQuery.

Definition at line 200 of file Zoltan_QueryObject.cpp.

void Zoltan::QueryObject::Edge_List ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
ZOLTAN_ID_PTR  neighbor_global_ids,
int *  neighbor_procs,
int  weight_dim,
float *  edge_weights,
int *  ierr 
) [virtual]

Supports ZOLTAN_EDGE_LIST_FN_TYPE.

Reimplemented in EpetraExt::ZoltanQuery.

Definition at line 216 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::Number_Coarse_Objects ( void *  data,
int *  ierr 
) [virtual]

Supports ZOLTAN_NUM_COARSE_OBJ_FN_TYPE.

Definition at line 236 of file Zoltan_QueryObject.cpp.

void Zoltan::QueryObject::Coarse_Object_List ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_ids,
ZOLTAN_ID_PTR  local_ids,
int *  assigned,
int *  number_vertices,
ZOLTAN_ID_PTR  vertices,
int *  in_order,
ZOLTAN_ID_PTR  in_vertex,
ZOLTAN_ID_PTR  out_vertex,
int *  ierr 
) [virtual]

Supports ZOLTAN_COARSE_OBJ_LIST_FN_TYPE.

Definition at line 247 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::First_Coarse_Object ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  first_global_id,
ZOLTAN_ID_PTR  first_local_id,
int *  assigned,
int *  number_vertices,
ZOLTAN_ID_PTR  vertices,
int *  in_order,
ZOLTAN_ID_PTR  in_vertex,
ZOLTAN_ID_PTR  out_vertex,
int *  ierr 
) [virtual]

Supports ZOLTAN_FIRST_COARSE_OBJ_FN_TYPE.

Definition at line 268 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::Next_Coarse_Object ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
ZOLTAN_ID_PTR  next_global_id,
ZOLTAN_ID_PTR  next_local_id,
int *  assigned,
int *  number_vertices,
ZOLTAN_ID_PTR  vertices,
ZOLTAN_ID_PTR  in_vertex,
ZOLTAN_ID_PTR  out_vertex,
int *  ierr 
) [virtual]

Supports ZOLTAN_NEXT_COARSE_OBJ_FN_TYPE.

Definition at line 291 of file Zoltan_QueryObject.cpp.

int Zoltan::QueryObject::Number_Children ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
int *  ierr 
) [virtual]

Supports ZOLTAN_NUM_CHILD_FN_TYPE.

Definition at line 315 of file Zoltan_QueryObject.cpp.

void Zoltan::QueryObject::Child_List ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  parent_global_id,
ZOLTAN_ID_PTR  parent_local_id,
ZOLTAN_ID_PTR  child_global_id,
ZOLTAN_ID_PTR  child_local_id,
int *  assigned,
int *  number_vertices,
ZOLTAN_ID_PTR  vertices,
ZOLTAN_REF_TYPE *  reference_type,
ZOLTAN_ID_PTR  in_vertex,
ZOLTAN_ID_PTR  out_vertex,
int *  ierr 
) [virtual]

Supports ZOLTAN_CHILD_LIST_FN_TYPE.

Definition at line 331 of file Zoltan_QueryObject.cpp.

void Zoltan::QueryObject::Child_Weight ( void *  data,
int  num_gid_entries,
int  num_lid_entries,
ZOLTAN_ID_PTR  global_id,
ZOLTAN_ID_PTR  local_id,
int  weight_dim,
float *  object_weight,
int *  ierr 
) [virtual]

Supports ZOLTAN_CHILD_WEIGHT_FN_TYPE.

Definition at line 354 of file Zoltan_QueryObject.cpp.


The documentation for this class was generated from the following files:
Generated on Tue Oct 20 12:45:34 2009 for EpetraExt by doxygen 1.4.7