3.5-git
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< Vector, false > Class Template Reference

Specialization providing operations for block vectors. More...

#include <dumux/common/variablesbackend.hh>

Description

template<class Vector>
class Dumux::DofBackend< Vector, false >

Specialization providing operations for block vectors.

Template Parameters
Vectora type that is
  • default-constructible
  • has size() member
  • has resize(0) member
  • has axpy(a, x) member

Public Types

using DofVector = Vector
 the type of the dofs parametrizing the variables object More...
 
using SizeType = std::size_t
 

Static Public Member Functions

static SizeType size (const DofVector &d)
 Return the number of entries in the dof vector. More...
 
static DofVector zeros (SizeType size)
 Make a zero-initialized dof vector instance. More...
 
static void axpy (typename DofVector::field_type a, const DofVector &x, DofVector &y)
 Perform axpy operation (y += a * x) More...
 

Member Typedef Documentation

◆ DofVector

template<class Vector >
using Dumux::DofBackend< Vector, false >::DofVector = Vector

the type of the dofs parametrizing the variables object

◆ SizeType

template<class Vector >
using Dumux::DofBackend< Vector, false >::SizeType = std::size_t

Member Function Documentation

◆ axpy()

template<class Vector >
static void Dumux::DofBackend< Vector, false >::axpy ( typename DofVector::field_type  a,
const DofVector x,
DofVector y 
)
inlinestatic

Perform axpy operation (y += a * x)

◆ size()

template<class Vector >
static SizeType Dumux::DofBackend< Vector, false >::size ( const DofVector d)
inlinestatic

Return the number of entries in the dof vector.

◆ zeros()

template<class Vector >
static DofVector Dumux::DofBackend< Vector, false >::zeros ( SizeType  size)
inlinestatic

Make a zero-initialized dof vector instance.


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