Nektar++
Static Public Member Functions | List of all members
Nektar::TriangularBandedMatrixFuncs Struct Reference

#include <MatrixFuncs.h>

Inheritance diagram for Nektar::TriangularBandedMatrixFuncs:
[legend]

Static Public Member Functions

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

Detailed Description

Definition at line 301 of file MatrixFuncs.h.

Member Function Documentation

◆ GetRequiredStorageSize()

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

Definition at line 375 of file MatrixFuncs.cpp.

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

References ASSERTL0.