aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/gf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/src/gf.cc')
-rw-r--r--Carpet/CarpetLib/src/gf.cc31
1 files changed, 0 insertions, 31 deletions
diff --git a/Carpet/CarpetLib/src/gf.cc b/Carpet/CarpetLib/src/gf.cc
index 8a27f9eef..939c34373 100644
--- a/Carpet/CarpetLib/src/gf.cc
+++ b/Carpet/CarpetLib/src/gf.cc
@@ -39,37 +39,6 @@ gf<T>::~gf ()
-#if 0
-// Access to the data
-template<typename T>
-const data<T>* gf<T>::operator() (int tl, int rl, int lc, int ml) const
-{
- assert (rl>=0 and rl<h.reflevels());
- assert (lc>=0 and lc<h.local_components(rl));
- assert (ml>=0 and ml<h.mglevels());
- assert (tl>=0 and tl<timelevels(ml, rl));
- return (const data<T>*)storage.AT(ml).AT(rl).AT(lc).AT(tl);
-}
-
-template<typename T>
-data<T>* gf<T>::operator() (int tl, int rl, int lc, int ml)
-{
- assert (rl>=0 and rl<h.reflevels());
- assert (lc>=0 and lc<h.local_components(rl));
- assert (ml>=0 and ml<h.mglevels());
- if (not (tl>=0 and tl<timelevels(ml, rl))) {
- cerr << "gf<T>::operator() "
- << "vi=" << varindex << " name=" << (varindex>=0 ? CCTK_FullName(varindex) : "") << " "
- << "pot=" << prolongation_order_time << " "
- << "tl=" << tl << " rl=" << rl << " lc=" << lc << " ml=" << ml << "\n";
- }
- assert (tl>=0 and tl<timelevels(ml, rl));
- return (data<T>*)storage.AT(ml).AT(rl).AT(lc).AT(tl);
-}
-#endif
-
-
-
// Memory usage
template<typename T>
size_t