Nektar++
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Static Public Member Functions | List of all members
Nektar::TriangularBandedMatrixFuncs Struct Reference

#include <MatrixFuncs.h>

Inheritance diagram for Nektar::TriangularBandedMatrixFuncs:
Inheritance graph
[legend]

Static Public Member Functions

static unsigned int GetRequiredStorageSize (unsigned int rows, unsigned int columns, unsigned int nSubSuperDiags)
 

Detailed Description

Definition at line 233 of file MatrixFuncs.h.

Member Function Documentation

unsigned int Nektar::TriangularBandedMatrixFuncs::GetRequiredStorageSize ( unsigned int  rows,
unsigned int  columns,
unsigned int  nSubSuperDiags 
)
static

Definition at line 374 of file MatrixFuncs.cpp.

References ASSERTL0.

Referenced by Nektar::ConstMatrix< DataType >::GetRequiredStorageSize().

376  {
377  ASSERTL0(rows==columns, "Triangular matrices must be square.");
378  return (nSubSuperDiags+1)*columns;
379  }
#define ASSERTL0(condition, msg)
Definition: ErrorUtil.hpp:161