Lucas:
I'm trying to use the block_operator technique on Trilinos vectors and
matrices, but I can't quite get it to compile. For simplicity, the relevant
lines of code are:
```
#include <deal.II/lac/linear_operator_tools.h>
#include <deal.II/lac/trilinos_linear_operator.h>
using vec = dealii::LinearAlgebraTrilinos::MPI::Vector;
using block_vec = dealii::LinearAlgebraTrilinos::MPI::BlockVector;
const auto B = dealii::TrilinosWrappers::linear_operator<vec,
vec>(system_matrix.block(0, 0));
const auto P_inv = dealii::TrilinosWrappers::block_operator<1, 1,
block_vec>({B});
```
where system_matrix is of type
`dealii::LinearAlgebraTrilinos::MPI::BlockSparseMatrix`.
The first error that comes up looks like:
`deal.II/lac/block_linear_operator.h:679:37: error:
‘populate_linear_operator_functions’ was not declared in this scope; did you
mean
‘dealii::internal::BlockLinearOperatorImplementation::populate_linear_operator_functions’?`
Is this a bug in deal.II?
Perhaps. I don't know the LinearOperator framework well, and so don't quite
know what to suggest -- I hope that someone else might chime in.
Is the code above all you actually need?
Best
W.
--
------------------------------------------------------------------------
Wolfgang Bangerth email: [email protected]
www: http://www.math.colostate.edu/~bangerth/
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see
https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to the Google Groups "deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/dealii/3e73a0d0-8f4b-c29f-70c3-ca0d68bdc41b%40colostate.edu.