OGS
RowColumnIndices.h
Go to the documentation of this file.
1
// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2
// SPDX-License-Identifier: BSD-3-Clause
3
4
#pragma once
5
6
#include <vector>
7
8
namespace
MathLib
9
{
10
11
template
<
typename
IDX_TYPE>
12
struct
RowColumnIndices
13
{
14
using
LineIndex
=
typename
std::vector<IDX_TYPE>;
15
RowColumnIndices
(
LineIndex
const
& rows_,
LineIndex
const
& columns_)
16
:
rows
(rows_),
columns
(columns_)
17
{
18
}
19
20
LineIndex
const
&
rows
;
21
LineIndex
const
&
columns
;
22
};
23
24
}
// namespace MathLib
MathLib
Definition
CreateComponent.h:23
MathLib::RowColumnIndices::LineIndex
typename std::vector< IDX_TYPE > LineIndex
Definition
RowColumnIndices.h:14
MathLib::RowColumnIndices< GlobalIndexType >::rows
LineIndex const & rows
Definition
RowColumnIndices.h:20
MathLib::RowColumnIndices::RowColumnIndices
RowColumnIndices(LineIndex const &rows_, LineIndex const &columns_)
Definition
RowColumnIndices.h:15
MathLib::RowColumnIndices< GlobalIndexType >::columns
LineIndex const & columns
Definition
RowColumnIndices.h:21
MathLib
LinAlg
RowColumnIndices.h
Generated by
1.14.0