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::Detail::VariablesBackend< Vars, false > Class Template Reference

Class providing operations for primary variable vector/scalar types. More...

#include <dumux/common/variablesbackend.hh>

Inheritance diagram for Dumux::Detail::VariablesBackend< Vars, false >:

Description

template<class Vars>
class Dumux::Detail::VariablesBackend< Vars, false >

Class providing operations for primary variable vector/scalar types.

Note
We assume the variables being simply a dof vector if we do not find the variables class to export SolutionVector.

Public Types

using Variables = Vars
 

Static Public Member Functions

static void update (Variables &v, const DofVector &dofs)
 update to new solution vector More...
 
static const DofVector & dofs (const Variables &v)
 return const reference to dof vector More...
 
static DofVector & dofs (Variables &v)
 return reference to dof vector More...
 

Member Typedef Documentation

◆ Variables

template<class Vars >
using Dumux::Detail::VariablesBackend< Vars, false >::Variables = Vars

Member Function Documentation

◆ dofs() [1/2]

template<class Vars >
static const DofVector & Dumux::Detail::VariablesBackend< Vars, false >::dofs ( const Variables v)
inlinestatic

return const reference to dof vector

◆ dofs() [2/2]

template<class Vars >
static DofVector & Dumux::Detail::VariablesBackend< Vars, false >::dofs ( Variables v)
inlinestatic

return reference to dof vector

◆ update()

template<class Vars >
static void Dumux::Detail::VariablesBackend< Vars, false >::update ( Variables v,
const DofVector &  dofs 
)
inlinestatic

update to new solution vector


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