PTEMS  0.1.0-dev+git.81fd0e4
PolyTopic Element Method Solver
ptems::NonZeroEntry Struct Reference

Structure for defining the index of a non-zero entry in a sparse matrix. More...

#include <ptems/linearsolver.hpp>

Collaboration diagram for ptems::NonZeroEntry:

Public Member Functions

constexpr NonZeroEntry (std::size_t row, std::size_t column)
 Creates index of a non-zero entry in a sparse matrix. More...
 

Public Attributes

std::size_t Row
 The row index of the non-zero entry. More...
 
std::size_t Column
 The column index of the non-zero entry. More...
 

Detailed Description

Structure for defining the index of a non-zero entry in a sparse matrix.

Constructor & Destructor Documentation

◆ NonZeroEntry()

constexpr ptems::NonZeroEntry::NonZeroEntry ( std::size_t  row,
std::size_t  column 
)
inlineconstexpr

Creates index of a non-zero entry in a sparse matrix.

Parameters
rowThe row index of the non-zero entry
columnThe column index of the non-zero entry

Member Data Documentation

◆ Column

std::size_t ptems::NonZeroEntry::Column

The column index of the non-zero entry.

◆ Row

std::size_t ptems::NonZeroEntry::Row

The row index of the non-zero entry.


The documentation for this struct was generated from the following file: