71 if( num_vecs != 1 || vecs == NULL )
73 if( num_targ_vecs != 1 || targ_vecs == NULL )
75 if( targ_vecs[0].sub_dim != vecs[0].sub_dim )
83 z_sub_dim = targ_vecs[0].
sub_dim;
84 z_val = targ_vecs[0].
values;
98 if( z_val_s == 1 && v0_val_s == 1 ) {
100 for( k = 0; k < z_sub_dim; ++k )
101 *z_val++ = *v0_val++;
105 for( k = 0; k < z_sub_dim; ++k, z_val += z_val_s, v0_val += v0_val_s )
117 ,
"TOp_assign_vectors"
int RTOp_TOp_assign_vectors_destroy(struct RTOp_RTOp *op)
#define RTOp_ERR_INCOMPATIBLE_VECS
int RTOp_TOp_assign_vectors_construct(struct RTOp_RTOp *op)
const RTOp_value_type * values
#define RTOp_ERR_INVALID_NUM_VECS
const struct RTOp_obj_type_vtbl_t RTOp_obj_null_vtbl
static int RTOp_TOp_assign_vectors_apply_op(const struct RTOp_RTOp_vtbl_t *vtbl, const void *obj_data, const int num_vecs, const struct RTOp_SubVector vecs[], const int num_targ_vecs, const struct RTOp_MutableSubVector targ_vecs[], RTOp_ReductTarget targ_obj)
const struct RTOp_RTOp_vtbl_t * vtbl
const struct RTOp_RTOp_vtbl_t RTOp_TOp_assign_vectors_vtbl
#define RTOp_ERR_INVALID_NUM_TARG_VECS
Teuchos_Ordinal RTOp_index_type