diff --git a/demo/src/neumann.cc b/demo/src/neumann.cc index 74fa4ff8cda9095653bc2824723f558b16e688cc..29fd5737ae16b8c16b27393820085f2b37b6d92e 100644 --- a/demo/src/neumann.cc +++ b/demo/src/neumann.cc @@ -3,7 +3,7 @@ using namespace AMDiS; using namespace std; -class N : public AbstractFunction<double, WorldVector<double> > +class N_ : public AbstractFunction<double, WorldVector<double> > { public: double operator()(const WorldVector<double>& x) const @@ -70,7 +70,7 @@ int main(int argc, char* argv[]) neumann.addVectorOperator(&rhsOperator, 0); // ===== add boundary conditions ===== - neumann.addNeumannBC(1, 0, 0, new N); + neumann.addNeumannBC(1, 0, 0, new N_); neumann.addDirichletBC(2, 0, 0, new G); // ===== start adaption loop =====