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< Scalar, true > Class Template Reference

Specialization providing operations for scalar/number types. More...

#include <dumux/common/variablesbackend.hh>

Description

template<class Scalar>
class Dumux::DofBackend< Scalar, true >

Specialization providing operations for scalar/number types.

Public Types

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

Member Typedef Documentation

◆ DofVector

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

the type of the dofs parametrizing the variables object

◆ SizeType

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

Member Function Documentation

◆ axpy()

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

Perform axpy operation (y += a * x)

◆ size()

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

Return the number of entries in the dof vector.

◆ zeros()

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

Make a zero-initialized dof vector instance.


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