version 3.8.0
Loading...
Searching...
No Matches
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 >
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
 
using SizeType = std::size_t
 

Static Public Member Functions

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

Member Typedef Documentation

◆ DofVector

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

◆ SizeType

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

Member Function Documentation

◆ axpy()

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

◆ size()

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

◆ zeros()

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

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