Skip to content
Snippets Groups Projects
Commit ae94ee7d authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Adjust to computeEnergy interface

parent 8ea11046
No related branches found
No related tags found
No related merge requests found
...@@ -19,9 +19,8 @@ ...@@ -19,9 +19,8 @@
/* Just for debugging */ /* Just for debugging */
template <int dim, class MatrixType, class VectorType> template <int dim, class MatrixType, class VectorType>
double computeEnergy( double computeEnergy(
MatrixType const &A, VectorType const &b, MatrixType const &A, VectorType const &x, VectorType const &b,
Dune::GlobalNonlinearity<MatrixType, VectorType> const &phi, Dune::GlobalNonlinearity<MatrixType, VectorType> const &phi) {
VectorType const &x) {
double ret; double ret;
VectorType tmp(x.size()); VectorType tmp(x.size());
A.mv(x, tmp); // Ax A.mv(x, tmp); // Ax
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment