|
AbstractLinAlgPack: C++ Interfaces For Vectors, Matrices And Related Linear Algebra Objects Version of the Day
|
00001 // ///////////////////////////////////////////////////// 00002 // AbstractLinAlgPack_VectorApplyOpSerialBase.hpp 00003 00004 #ifndef ALAP_VECTOR_APPLY_OP_SERIAL_BASE_HPP 00005 #define ALAP_VECTOR_APPLY_OP_SERIAL_BASE_HPP 00006 00007 #include "AbstractLinAlgPack_Types.hpp" 00008 #include "RTOpPack_RTOpT.hpp" 00009 00010 namespace AbstractLinAlgPack { 00011 00019 class VectorApplyOpSerialBase { 00020 public: 00021 00023 VectorApplyOpSerialBase(); 00024 00026 void apply_op_serial( 00027 const RTOpPack::RTOp& op 00028 ,const size_t num_vecs, const Vector* vecs[] 00029 ,const size_t num_targ_vecs, VectorMutable* targ_vecs[] 00030 ,RTOpPack::ReductTarget *reduct_obj 00031 ,const index_type first_ele, const index_type sub_dim, const index_type global_offset 00032 ) const; 00033 00034 private: 00035 00036 mutable bool in_apply_op_; 00037 00038 }; // class VectorApplyOpSerialBase 00039 00040 } // namespace AbstractLinAlgPack 00041 00042 #endif // ALAP_VECTOR_APPLY_OP_SERIAL_BASE_HPP
1.7.4