RTOp.c File Reference

#include <stdio.h>
#include <assert.h>
#include <string.h>
#include "RTOp.h"

Include dependency graph for RTOp.c:

Go to the source code of this file.

Classes

struct  RTOp_Server_op_class_name

Defines

#define RTOp_SERVER_MAX_NUM_ENTRIES   50

Typedefs

typedef const struct RTOp_RTOp_vtbl_tRTOp_RTOp_vtbl_t_ptr

Functions

void RTOp_sub_vector (RTOp_index_type global_offset, RTOp_index_type sub_dim, const RTOp_value_type values[], ptrdiff_t values_stride, struct RTOp_SubVector *sub_vec)
void RTOp_sub_vector_null (struct RTOp_SubVector *sub_vec)
void RTOp_mutable_sub_vector (RTOp_index_type global_offset, RTOp_index_type sub_dim, RTOp_value_type values[], ptrdiff_t values_stride, struct RTOp_MutableSubVector *sub_vec)
void RTOp_mutable_sub_vector_null (struct RTOp_MutableSubVector *sub_vec)
int RTOp_get_op_name (const struct RTOp_RTOp *op, const char **op_name)
int RTOp_get_op_type_num_entries (const struct RTOp_RTOp *op, int *num_values, int *num_indexes, int *num_chars)
int RTOp_extract_op_state (const struct RTOp_RTOp *op, int num_values, RTOp_value_type value_data[], int num_indexes, RTOp_index_type index_data[], int num_chars, RTOp_char_type char_data[])
int RTOp_load_op_state (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)
int RTOp_free_op (struct RTOp_RTOp *op)
int RTOp_get_reduct_type_num_entries (const struct RTOp_RTOp *op, int *num_values, int *num_indexes, int *num_chars)
int RTOp_reduct_obj_create (const struct RTOp_RTOp *op, RTOp_ReductTarget *reduct_obj)
int RTOp_reduct_obj_reinit (const struct RTOp_RTOp *op, RTOp_ReductTarget reduct_obj)
int RTOp_reduct_obj_free (const struct RTOp_RTOp *op, RTOp_ReductTarget *reduct_obj)
int RTOp_extract_reduct_obj_state (const struct RTOp_RTOp *op, const RTOp_ReductTarget reduct_obj, int num_values, RTOp_value_type value_data[], int num_indexes, RTOp_index_type index_data[], int num_chars, RTOp_char_type char_data[])
int RTOp_load_reduct_obj_state (const struct RTOp_RTOp *op, 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[], RTOp_ReductTarget reduct_obj)
int RTOp_coord_invariant (const struct RTOp_RTOp *op, int *coord_invariant)
int RTOp_apply_op (const struct RTOp_RTOp *op, const int num_vecs, const struct RTOp_SubVector sub_vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_sub_vecs[], RTOp_ReductTarget reduct_obj)
int RTOp_reduce_reduct_objs (const struct RTOp_RTOp *op, RTOp_ReductTarget in_reduct_obj, RTOp_ReductTarget inout_reduct_obj)
int RTOp_get_reduct_op (const struct RTOp_RTOp *op, RTOp_reduct_op_func_ptr_t *reduct_op_func_ptr)
int find_op_name (const struct RTOp_Server_op_class_name op_name_tbl[], int num_entries, const char op_name[])
int find_op_vtbl (const RTOp_RTOp_vtbl_t_ptr op_vtbl_tbl[], int num_entries, RTOp_RTOp_vtbl_t_ptr op_vtbl)
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)

Variables

int RTOp_Server_num_ops = 0
RTOp_Server_op_class_name RTOp_Server_op_names [RTOp_SERVER_MAX_NUM_ENTRIES]
RTOp_RTOp_vtbl_t_ptr RTOp_Server_op_vtbl [RTOp_SERVER_MAX_NUM_ENTRIES]


Define Documentation

#define RTOp_SERVER_MAX_NUM_ENTRIES   50
 

Definition at line 391 of file RTOp.c.


Typedef Documentation

typedef const struct RTOp_RTOp_vtbl_t* RTOp_RTOp_vtbl_t_ptr
 

Definition at line 397 of file RTOp.c.


Function Documentation

int find_op_name const struct RTOp_Server_op_class_name  op_name_tbl[],
int  num_entries,
const char  op_name[]
[static]
 

Definition at line 410 of file RTOp.c.

int find_op_vtbl const RTOp_RTOp_vtbl_t_ptr  op_vtbl_tbl[],
int  num_entries,
RTOp_RTOp_vtbl_t_ptr  op_vtbl
[static]
 

Definition at line 424 of file RTOp.c.


Variable Documentation

int RTOp_Server_num_ops = 0 [static]
 

Definition at line 389 of file RTOp.c.

struct RTOp_Server_op_class_name RTOp_Server_op_names[RTOp_SERVER_MAX_NUM_ENTRIES] [static]
 

Definition at line 395 of file RTOp.c.

RTOp_RTOp_vtbl_t_ptr RTOp_Server_op_vtbl[RTOp_SERVER_MAX_NUM_ENTRIES] [static]
 

Definition at line 399 of file RTOp.c.


Generated on Thu Sep 18 12:35:59 2008 for MOOCHO (Single Doxygen Collection) by doxygen 1.3.9.1