Functions | |
| int | RTOp_Server_add_op_name_vtbl (const char op_class_name[], const struct RTOp_RTOp_vtbl_t *op_class_vtbl) |
| int | RTOp_Server_lookup_op_name (const struct RTOp_RTOp_vtbl_t *op_class_vtbl, char op_class_name[]) |
| int | RTOp_Server_construct_op (const char op_class_name[], int num_values, const RTOp_value_type value_data[], int num_indexes, const RTOp_index_type index_data[], int num_chars, const RTOp_char_type char_data[], struct RTOp_RTOp *op) |
| void | RTOp_Server_dump (FILE *file) |
This is a singleton object that must be initialized in every process in a distributed client/server application where reduction/transformation operators are used. This object can be used by a abstract vector implementation to transparently take a reduction/transformation operator object created by the client in one process, and then have this operator object transported over a network and be reconstructed in all of the processes where the operator needs to be applied. This object only supplies the basic functions for setting up the RTOp_Server object with operator class names and vtbl pointers, querying for an operator class name given its vtbl pointer and then reconstructing an operator object given its instance data and the name of its operator class.
This object is implemented as a singleton object since only one of these objects needs to be instantiated in each process.
|
||||||||||||
|
Function for adding an operator class name and virtual function table pointer.
The user or client of an abstract vector is responsible for calling these functions to setup the RTOp_Server object with the names and
Several different unrelated clients of abstract vectors can call these functions for the operators they use. For example, an optimization algorithm and a nonlinear equation solver algorithm may both call these functions to initialize the Preconditions:
|
|
||||||||||||
|
Function for lookup up an operator class name given its
This function is used by a vector implementation to lookup the name of a reduction/transformation operator class given a pointer to its
|
|
||||||||||||||||||||||||||||||||||||
|
Function for constructing an operator given its class name and instance data. This function is used by the vector implementation to reconstruct reduction /transformation operators on remote processors where they need to be applied.
|
|
|
Dump the contents of the name/vtbl pairs for the reduction/transformation operator classes to a C stream (debugging purposes). |
1.3.9.1