A helper class that converts a Dune::MultiTypeBlockVector into a plain Dune::BlockVector and transfers back values.
#include <dumux/linear/matrixconverter.hh>
◆ multiTypeToBlockVector()
template<class MultiTypeBlockVector , class Scalar = double>
static auto Dumux::VectorConverter< MultiTypeBlockVector, Scalar >::multiTypeToBlockVector |
( |
const MultiTypeBlockVector & |
b | ) |
|
|
inlinestatic |
- Parameters
-
b | The original multitype blockvector |
◆ retrieveValues()
template<class MultiTypeBlockVector , class Scalar = double>
static void Dumux::VectorConverter< MultiTypeBlockVector, Scalar >::retrieveValues |
( |
MultiTypeBlockVector & |
x, |
|
|
const BlockVector & |
y |
|
) |
| |
|
inlinestatic |
- 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: