3.4
DUNE for Multi-{Phase, Component, Scale, Physics, ...} flow and transport in porous media
Public Types | Static Public Member Functions | List of all members
Dumux::DofBackend< Dune::MultiTypeBlockVector< Blocks... >, false > Class Template Reference

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

#include <dumux/common/variablesbackend.hh>

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 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 , 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) More...
 

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>
static 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>
static 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>
static 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: