src/solver/Mapper.hpp
BlockMapper(unsigned int nComp, size_type nDOFperComp)
      : nComp(nComp),
        rowOffset(0), colOffset(0),
        nrow(nComp*nDOFperComp), ncol(nrow),
        sizes(nComp)
    {
      for (unsigned int i = 0; i < nComp; ++i)
        sizes[i] = nDOFperComp;
    }
/// Constructor for system with equal components
Constructor for system with equal components
Constructor for system with equal components
BlockMapper(unsigned int nComp, size_type nDOFperComp)
      : nComp(nComp),
        rowOffset(0), colOffset(0),
        nrow(nComp*nDOFperComp), ncol(nrow),
        sizes(nComp)
    {
      for (unsigned int i = 0; i < nComp; ++i)
        sizes[i] = nDOFperComp;
    }
BlockMapper ( unsigned int nComp , size_type nDOFperComp ) : nComp ( nComp ) , rowOffset ( 0 ) , colOffset ( 0 ) , nrow ( nComp * nDOFperComp ) , ncol ( nrow ) , sizes ( nComp ) { for ( unsigned int i = 0 ; i < nComp ; ++ i ) sizes [ i ] = nDOFperComp ; }
Constructor for system with equal components
Constructor for system with equal components