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

Class providing operations for generic variable classes, containing primary and possibly also secondary variables. More...

#include <dumux/common/variablesbackend.hh>

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

Description

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

Class providing operations for generic variable classes, containing primary and possibly also secondary variables.

Public Types

using DofVector = typename Vars::SolutionVector
 
using Variables = Vars
 the type of the variables object More...
 

Static Public Member Functions

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

Member Typedef Documentation

◆ DofVector

template<class Vars >
using Dumux::Detail::VariablesBackend< Vars, true >::DofVector = typename Vars::SolutionVector

◆ Variables

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

the type of the variables object

Member Function Documentation

◆ dofs() [1/2]

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

return const reference to dof vector

◆ dofs() [2/2]

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

return reference to dof vector

◆ update()

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

update to new solution vector


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