aboutsummaryrefslogtreecommitdiff
path: root/src/patch/coords.hh
diff options
context:
space:
mode:
authorjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-06-14 13:51:05 +0000
committerjthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5>2001-06-14 13:51:05 +0000
commit21c38eae2df7562de9bbfb907e22fc07ff892bbe (patch)
treef49f7637598a38ca1c093a415fa5f3fb17cca433 /src/patch/coords.hh
parent73feb58df29dfff89b41efc57e0619a876ca79ef (diff)
remove nonuniform radial coordinate stuff used in mpe but not here
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@10 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/patch/coords.hh')
-rw-r--r--src/patch/coords.hh94
1 files changed, 0 insertions, 94 deletions
diff --git a/src/patch/coords.hh b/src/patch/coords.hh
index ce455b0..aaf1eab 100644
--- a/src/patch/coords.hh
+++ b/src/patch/coords.hh
@@ -1,8 +1,6 @@
// coords.hh -- classes for mpe coordinates
// $Id$
//
-// wr_coord - wr(r) nonuniform gridding coordinate
-//
// coords - misc coordinates-stuff namespace
//
@@ -15,98 +13,6 @@
//*****************************************************************************
//
-// This class describes a wr nonuniform gridding coordinate,
-// as per section VII A of
-// @techreport
-// {
-// Thornburg-1999-sssf-evolution,
-// author = "Jonathan Thornburg",
-// title = "A $3+1$ Computational Scheme for Dynamic
-// Spherically Symmetric Black Hole Spacetimes
-// -- {II}: Time Evolution",
-// year = 1999, month = "June",
-// number = "UWThPh-1999-38",
-// eprint = "gr-qc/9906022",
-// note = "To be submitted to Physical Review D",
-// }
-//
-class wr_coord
- {
-public:
- fp r_of_wr(fp wr) const;
- fp wr_of_r(fp r) const;
-
- fp dwr_dr(fp r) const;
- fp d2wr_dr2(fp r) const;
-
- // low-level access to m210 parameters
- fp r0() const { return r0_; }
- fp a() const { return a_; }
- fp b() const { return b_; }
- fp c() const { return c_; }
-
- // this structure is used for two purposes
- // ... reading things in via my par_scan() function
- // ... bundling constructor arguments together for convenience
- struct pars
- {
- fp r0, a, b, c;
-
- // element-by-element equality comparison
- bool operator==(const struct pars &rhs);
-
- // comparison with corresponding "stuff"
- // (members or access functions) of a wr_coord object
- bool operator==(const wr_coord &rhs);
-
- // print in parameter-file fashion
- void printme() const;
- };
-
- //
- // This macro generates a comma-separated list of C structure
- // initializers for par_scan() parameter-table entries describing
- // members of the above structure:
- //
- // Sample usage:
- // WR_COORD__PARS__MBRS2("wr_coords_pars", wr_coord_pars_str)
- //
- #define WR_COORD__PARS__MBRS2(name_, struct_) \
- PAR_DSCR_VAR2(name_ ".r0", \
- struct_.r0, \
- PAR_NO_FLAGS, FP_SCANF_FORMAT), \
- PAR_DSCR_VAR2(name_ ".a", \
- struct_.a, \
- PAR_NO_FLAGS, FP_SCANF_FORMAT), \
- PAR_DSCR_VAR2(name_ ".b", \
- struct_.b, \
- PAR_NO_FLAGS, FP_SCANF_FORMAT), \
- PAR_DSCR_VAR2(name_ ".c", \
- struct_.c, \
- PAR_NO_FLAGS, FP_SCANF_FORMAT) // no comma
- // end macro
-
- // constructor, destructor
- wr_coord(const pars &pars_in);
- ~wr_coord() { }
-
-private:
- // we forbid copying and passing by value
- // by declaring the copy constructor and assignment operator
- // private, but never defining them
- wr_coord(const wr_coord &rhs);
- wr_coord& operator=(const wr_coord &rhs);
-
-private:
- // if any of a, b, and/or c are 0.0,
- // we treat this as an infinite value,
- // i.e. we skip this term in the equations
- fp r0_, a_, b_, c_;
- };
-
-//*****************************************************************************
-
-//
// This namespace contains coordinate conversion functions, focusing
// on the angular coordinates. It also contains coordinate bit masks
// and generic coordinate mnemonics.