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

small change in neumann demo

parent 6fe0e0c8
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
using namespace AMDiS; using namespace AMDiS;
using namespace std; using namespace std;
class N : public AbstractFunction<double, WorldVector<double> > class N_ : public AbstractFunction<double, WorldVector<double> >
{ {
public: public:
double operator()(const WorldVector<double>& x) const double operator()(const WorldVector<double>& x) const
...@@ -70,7 +70,7 @@ int main(int argc, char* argv[]) ...@@ -70,7 +70,7 @@ int main(int argc, char* argv[])
neumann.addVectorOperator(&rhsOperator, 0); neumann.addVectorOperator(&rhsOperator, 0);
// ===== add boundary conditions ===== // ===== add boundary conditions =====
neumann.addNeumannBC(1, 0, 0, new N); neumann.addNeumannBC(1, 0, 0, new N_);
neumann.addDirichletBC(2, 0, 0, new G); neumann.addDirichletBC(2, 0, 0, new G);
// ===== start adaption loop ===== // ===== 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