version 3.9-dev
Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false > Class Template Reference

Specialization providing operations for multitype block vectors.

#include <dumux/common/variablesbackend.hh>

Public Types

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

Static Public Member Functions

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

Member Typedef Documentation

◆ DofVector

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

◆ SizeType

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

Member Function Documentation

◆ axpy()

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

◆ size()

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

◆ zeros()

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

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