25 #include <queso/VectorSpace.h> 
   27 #ifdef QUESO_HAS_TRILINOS 
   29 #include <queso/TeuchosMatrix.h> 
   37   return new Map(m_dimGlobal,0,m_env.selfComm());
 
   44   return new TeuchosVector(m_env,*m_map);
 
   51   return new TeuchosVector(m_env,*m_map,value);
 
   58   return new TeuchosMatrix(m_env,*m_map,this->dimGlobal());
 
   65   return new TeuchosMatrix(m_env,*m_map,diagValue);
 
   70 #endif // ifdef QUESO_HAS_TRILINOS 
Map * newMap()
Creates a new map. See template specialization. 
 
M * newMatrix() const 
Creates an empty matrix of size given by Map& map. See template specialization. 
 
V * newVector() const 
Creates an empty vector of size given by Map& map. See template specialization. 
 
M * newDiagMatrix(const V &v) const 
Creates a diagonal matrix with the elements and size of vector v.