Commit 31c48ebd authored by Praetorius, Simon's avatar Praetorius, Simon

small change in neumann demo

parent 6fe0e0c8
......@@ -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 =====
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment