Commit d7ab2718 authored by Thomas Witkowski's avatar Thomas Witkowski

Fixed torus example.

parent 06988363
......@@ -14,10 +14,6 @@ public:
}
};
// ===========================================================================
// ===== function definitions ================================================
// ===========================================================================
/// RHS function
class F : public AbstractFunction<double, WorldVector<double> >
{
......@@ -80,7 +76,7 @@ public:
x *= radius2_/norm;
x += center;
};
}
protected:
double radius1_;
......@@ -209,8 +205,9 @@ int main(int argc, char* argv[])
adaptInfo->reset();
adapt->adapt();
for(i = 0; i < dow; i++)
for (int i = 0; i < dow; i++)
delete parametricCoords[i];
delete [] localIndices;
}
......
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