/*! \brief Sparse Matrix implementation stub object when OpenFPM is compiled with no linear algebra support
/*! \brief Sparse Matrix implementation stub object when OpenFPM is compiled with no linear algebra support
*
*/
template<typenameT,unsignedintimplDEFAULT_VECTOR>
classVector
{
//! stub
Tstub;
//! stub
intstub_i;
public:
Vector(constVector<T>&v){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
Vector(Vector<T>&&v){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
Vector(size_tn){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
Vector(){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
Vector(size_tn,size_tn_row_local){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
/*! \brief stub copy constructor
*
* \param v stub
*
*/
Vector(constVector<T>&v)
:stub(0),stub_i(0)
{std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
/*! \brief stub copy constructor
*
* \param v vector to copy
*
*/
Vector(Vector<T>&&v)
:stub(0),stub_i(0)
{std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
/*! \brief stub constructor from number of rows
*
* \param n stub
*
*/
Vector(size_tn)
:stub(0),stub_i(0)
{std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
//! stub default constructor
Vector()
:stub(0),stub_i(0)
{std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
/*! \brief stub constructor
*
* \param n global number of row
* \param n_row_local local number of rows
*
*/
Vector(size_tn,size_tn_row_local)
:stub(0),stub_i(0)
{std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
/*! \brief stub resize
*
* \param row stub
* \param row_n stub
*
*/
voidresize(size_trow,size_trow_n){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
/*! \brief stub insert
*
* \param i stub
* \param val stub
*
*/
voidinsert(size_ti,Tval){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
/*! \brief stub insert
*
* \param i stub
*
* \return stub
*
*/
inlineT&insert(size_ti){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;returnstub;}
/*! \brief stub insert
*
* \param i stub
*
*/
inlineconstT&insert(size_ti)const{std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;returnstub;}
/*! \brief stub
*
* \param i stub
*
* \return stub
*
*/
constT&operator()(size_ti)const{std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;returnstub;}
/*! \brief stub
*
* \param i stub
*
* \return stub
*
*/
T&operator()(size_ti){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;returnstub;}
/*! \brief scatter
*
*/
voidscatter(){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
/*! \brief fromFile
*
* \param file stub
*
*/
voidfromFile(std::stringfile){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;}
/*! \brief stub operator=
*
* \param v stub
*
* \return itself
*
*/
Vector<T>&operator=(constVector<T>&v){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;return*this;}
/*! \brief stub operator=
*
* \param v stub
*
* \return itself
*
*/
Vector<T>&operator=(Vector<T>&&v){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;return*this;}
/*! \brief stub getVec
*
* \return stub
*
*/
int&getVec(){std::cerr<<__FILE__<<":"<<__LINE__<<" Error in order to use this class you must compile OpenFPM with linear algebra support"<<std::endl;returnstub_i;}