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

dimension -> dim

parent 5a67fcd6
No related branches found
No related tags found
No related merge requests found
......@@ -15,15 +15,15 @@
#include "mynonlinearity.hh"
namespace Dune {
template <int dimension> class SampleFunctional {
template <int dim> class SampleFunctional {
public:
typedef FieldVector<double, dimension> SmallVector;
typedef FieldMatrix<double, dimension, dimension> SmallMatrix;
typedef FieldVector<double, dim> SmallVector;
typedef FieldMatrix<double, dim, dim> SmallMatrix;
typedef MyNonlinearity<dimension> NonlinearityType;
typedef MyNonlinearity<dim> NonlinearityType;
SampleFunctional(SmallMatrix const &A, SmallVector const &b,
MyNonlinearity<dimension> const &phi)
MyNonlinearity<dim> const &phi)
: A(A), b(b), phi(phi) {}
double operator()(const SmallVector v) const {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment