EpetraExt Development
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 58 of file Zoltan_QueryObject.h.


Member Function Documentation

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

Supports ZOLTAN_NUM_OBJ_FN_TYPE.

Reimplemented in EpetraExt::ZoltanQuery.

Definition at line 73 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 85 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 102 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 121 of file Zoltan_QueryObject.cpp.

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

Supports ZOLTAN_BORDER_OBJ_FN_TYPE.

Definition at line 143 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 157 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 175 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 195 of file Zoltan_QueryObject.cpp.

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

Supports ZOLTAN_NUM_GEOM_OBJ_FN_TYPE.

Definition at line 219 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 231 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 248 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 265 of file Zoltan_QueryObject.cpp.

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

Supports ZOLTAN_NUM_COARSE_OBJ_FN_TYPE.

Definition at line 286 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 298 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 320 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 344 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 369 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 386 of file Zoltan_QueryObject.cpp.

EPETRAEXT_DEPRECATED 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 410 of file Zoltan_QueryObject.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines