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 231 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().

{
ASSERTL0(rows==columns, "Triangular matrices must be square.");
return (nSubSuperDiags+1)*columns;
}