version 3.8.0
Loading...
Searching...
No Matches
Dumux::DofBackend< Scalar, true > Class Template Reference

Specialization providing operations for scalar/number types.

#include <dumux/common/variablesbackend.hh>

Public Types

using DofVector = Scalar
 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 (Scalar a, const OtherDofVector &x, DofVector &y)
 Perform axpy operation (y += a * x)
 

Member Typedef Documentation

◆ DofVector

template<class Scalar >
using Dumux::DofBackend< Scalar, true >::DofVector = Scalar

◆ SizeType

template<class Scalar >
using Dumux::DofBackend< Scalar, true >::SizeType = std::size_t

Member Function Documentation

◆ axpy()

template<class Scalar >
template<class OtherDofVector >
static void Dumux::DofBackend< Scalar, true >::axpy ( Scalar a,
const OtherDofVector & x,
DofVector & y )
inlinestatic

◆ size()

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

◆ zeros()

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

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