A helper classe that converts a Dune::MultiTypeBlockVector into a plain Dune::BlockVector and transfers back values.
More...
#include <dumux/linear/matrixconverter.hh>
template<class MultiTypeBlockVector, class Scalar = double>
class Dumux::VectorConverter< MultiTypeBlockVector, Scalar >
A helper classe that converts a Dune::MultiTypeBlockVector into a plain Dune::BlockVector and transfers back values.
◆ multiTypeToBlockVector()
template<class MultiTypeBlockVector , class Scalar = double>
static auto Dumux::VectorConverter< MultiTypeBlockVector, Scalar >::multiTypeToBlockVector |
( |
const MultiTypeBlockVector & |
b | ) |
|
|
inlinestatic |
◆ retrieveValues()
template<class MultiTypeBlockVector , class Scalar = double>
static void Dumux::VectorConverter< MultiTypeBlockVector, Scalar >::retrieveValues |
( |
MultiTypeBlockVector & |
x, |
|
|
const BlockVector & |
y |
|
) |
| |
|
inlinestatic |
Copys the entries of a Dune::BlockVector to a Dune::MultiTypeBlockVector.
- Parameters
-
x | The multitype blockvector where the values are copied to |
y | The regular blockvector where the values are copied from |
The documentation for this class was generated from the following file: