Skip to content
Snippets Groups Projects
Commit d7ab2718 authored by Thomas Witkowski's avatar Thomas Witkowski
Browse files

Fixed torus example.

parent 06988363
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment