OGS
MatrixSpecifications.h
Go to the documentation of this file.
1
11
#pragma once
12
13
#include "
GlobalMatrixVectorTypes.h
"
14
15
namespace
MathLib
16
{
17
18
struct
MatrixSpecifications
19
{
20
MatrixSpecifications
(
21
std::size_t
const
nrows_, std::size_t
const
ncols_,
22
std::vector<GlobalIndexType>
const
*
const
ghost_indices_,
23
GlobalSparsityPattern
const
*
const
sparsity_pattern_)
24
:
nrows
(nrows_),
25
ncols
(ncols_),
26
ghost_indices
(ghost_indices_),
27
sparsity_pattern
(sparsity_pattern_)
28
{
29
}
30
31
std::size_t
const
nrows
;
32
std::size_t
const
ncols
;
33
std::vector<GlobalIndexType>
const
*
const
ghost_indices
;
34
GlobalSparsityPattern
const
*
const
sparsity_pattern
;
35
};
36
37
}
// namespace MathLib
GlobalMatrixVectorTypes.h
GlobalSparsityPattern
MathLib::SparsityPattern< GlobalIndexType > GlobalSparsityPattern
Definition
GlobalMatrixVectorTypes.h:53
MathLib
Definition
CreateComponent.h:32
MathLib::MatrixSpecifications
Definition
MatrixSpecifications.h:19
MathLib::MatrixSpecifications::ghost_indices
std::vector< GlobalIndexType > const *const ghost_indices
Definition
MatrixSpecifications.h:33
MathLib::MatrixSpecifications::sparsity_pattern
GlobalSparsityPattern const *const sparsity_pattern
Definition
MatrixSpecifications.h:34
MathLib::MatrixSpecifications::MatrixSpecifications
MatrixSpecifications(std::size_t const nrows_, std::size_t const ncols_, std::vector< GlobalIndexType > const *const ghost_indices_, GlobalSparsityPattern const *const sparsity_pattern_)
Definition
MatrixSpecifications.h:20
MathLib::MatrixSpecifications::ncols
std::size_t const ncols
Definition
MatrixSpecifications.h:32
MathLib::MatrixSpecifications::nrows
std::size_t const nrows
Definition
MatrixSpecifications.h:31
MathLib
LinAlg
MatrixSpecifications.h
Generated by
1.11.0