version 3.11-dev
Toggle main menu visibility
Main Page
Installation
Getting started
Examples and tutorials
Understanding DuMux
Basic concepts
Runtime parameters
Running in parallel
Input and output formats
Directory structure
Cheatsheet
Module documentation
Flow and transport in porous media
Basic numerics
Python bindings
External libraries
Developer documentation
Dumux and Dune
Developing Dumux
Build doxygen documentation
Changing property name
Custom input data
Gmsh with ALUGrid
Printing system matrix
Upgrading to Dumux 3
Bibliography
Namespaces
Namespace List
Namespace Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Variables
a
b
c
d
f
h
i
k
l
n
p
s
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
Enumerations
Enumerator
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Enumerations
Enumerator
b
c
d
g
l
n
p
s
t
w
Related Functions
i
l
s
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Modules
Pages
Concepts
numeqvector.hh
Go to the documentation of this file.
1
// -*- mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*-
2
// vi: set et ts=4 sw=4 sts=4:
3
//
4
// SPDX-FileCopyrightText: Copyright © DuMux Project contributors, see AUTHORS.md in root folder
5
// SPDX-License-Identifier: GPL-3.0-or-later
6
//
12
#ifndef DUMUX_COMMON_NUMEQVECTOR_HH
13
#define DUMUX_COMMON_NUMEQVECTOR_HH
14
15
#include <cstddef>
16
17
namespace
Dumux
{
18
19
template
<
class
PrimaryVariables>
20
struct
NumEqVectorTraits
21
{
22
static
constexpr
std::size_t
numEq
= PrimaryVariables::size();
23
using
type
= PrimaryVariables;
24
};
25
33
template
<
class
PrimaryVariables>
34
using
NumEqVector
=
typename
NumEqVectorTraits<PrimaryVariables>::type
;
35
36
}
// namespace Dumux
37
38
#endif
Dumux::NumEqVector
typename NumEqVectorTraits< PrimaryVariables >::type NumEqVector
A vector with the same size as numbers of equations This is the default implementation and has to be ...
Definition:
numeqvector.hh:34
Dumux
Definition:
adapt.hh:17
Dumux::NumEqVectorTraits
Definition:
numeqvector.hh:21
Dumux::NumEqVectorTraits::type
PrimaryVariables type
Definition:
numeqvector.hh:23
Dumux::NumEqVectorTraits::numEq
static constexpr std::size_t numEq
Definition:
numeqvector.hh:22
dumux
common
numeqvector.hh
© Copyright 2010-2025
DuMux project contributors
(doc pages:
CC-BY 4.0
/ code examples:
GPLv3 or later
)
3.11-dev Generated by
1.9.3