3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Loading...
Searching...
No Matches
Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false > Class Template Reference

Specialization providing operations for multitype block vectors. More...

#include <dumux/common/variablesbackend.hh>

Inheritance diagram for Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false >:

Description

template<class... Blocks>
class Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false >

Specialization providing operations for multitype block vectors.

Public Types

using DofVector = DV
 the type of the dofs parametrizing the variables object
using SizeType = VectorSizeInfo

Static Public Member Functions

static SizeType size (const DofVector &d)
 Return the number of entries in the sub-dof-vectors.
static DofVector zeros (const SizeType &size)
 Make a zero-initialized dof vector instance.
template<class Scalar, std::enable_if_t< Dune::IsNumber< Scalar >::value, int > = 0>
static void axpy (Scalar a, const DofVector &x, DofVector &y)
 Perform axpy operation (y += a * x).

Member Typedef Documentation

◆ DofVector

template<class... Blocks>
using Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false >::DofVector = DV

the type of the dofs parametrizing the variables object

◆ SizeType

template<class... Blocks>
using Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false >::SizeType = VectorSizeInfo

Member Function Documentation

◆ axpy()

template<class... Blocks>
template<class Scalar, std::enable_if_t< Dune::IsNumber< Scalar >::value, int > = 0>
void Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false >::axpy ( Scalar a,
const DofVector & x,
DofVector & y )
inlinestatic

Perform axpy operation (y += a * x).

◆ size()

template<class... Blocks>
SizeType Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false >::size ( const DofVector & d)
inlinestatic

Return the number of entries in the sub-dof-vectors.

◆ zeros()

template<class... Blocks>
DofVector Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false >::zeros ( const SizeType & size)
inlinestatic

Make a zero-initialized dof vector instance.


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