aboutsummaryrefslogtreecommitdiff
path: root/Carpet
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2007-01-12 21:10:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2007-01-12 21:10:00 +0000
commit10a70387ac4b33199ad68c87ba905937c405604b (patch)
tree8e3be8e69f250431ed779750e0ae5d3878a46409 /Carpet
parent45ca50257756f8b4fd1d597ef48dbbbca4d939a9 (diff)
CarpetLib: Make some routines and destructores non-virtual
Make some routines and destructores non-virtual. They belong to classes which used to form a type hierarchy but are now flat. darcs-hash:20070112211017-dae7b-cffc83b94bf43c3b8665f6115021827e9d61717a.gz
Diffstat (limited to 'Carpet')
-rw-r--r--Carpet/CarpetLib/src/dh.hh4
-rw-r--r--Carpet/CarpetLib/src/gh.hh4
2 files changed, 4 insertions, 4 deletions
diff --git a/Carpet/CarpetLib/src/dh.hh b/Carpet/CarpetLib/src/dh.hh
index 95d2e9746..bddc4360b 100644
--- a/Carpet/CarpetLib/src/dh.hh
+++ b/Carpet/CarpetLib/src/dh.hh
@@ -133,7 +133,7 @@ public:
const ivect& lbuffers, const ivect& ubuffers);
// Destructors
- virtual ~dh ();
+ ~dh ();
// Helpers
int prolongation_stencil_size () const;
@@ -147,7 +147,7 @@ public:
void remove (ggf* f);
// Output
- virtual void output (ostream& os) const;
+ void output (ostream& os) const;
};
diff --git a/Carpet/CarpetLib/src/gh.hh b/Carpet/CarpetLib/src/gh.hh
index cc9d148f2..f97e15ef7 100644
--- a/Carpet/CarpetLib/src/gh.hh
+++ b/Carpet/CarpetLib/src/gh.hh
@@ -68,7 +68,7 @@ public:
const ibbox baseextent);
// Destructors
- virtual ~gh ();
+ ~gh ();
// Modifiers
void regrid (mregs const & regs);
@@ -142,7 +142,7 @@ public:
void remove (dh* d);
// Output
- virtual ostream& output (ostream& os) const;
+ ostream& output (ostream& os) const;
private:
void check_multigrid_consistency ();