diff options
author | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-09-03 15:06:48 +0000 |
---|---|---|
committer | jthorn <jthorn@f88db872-0e4f-0410-b76b-b9085cfa78c5> | 2002-09-03 15:06:48 +0000 |
commit | 5f02fdb219dd3f5383ccf27551edd065548f1558 (patch) | |
tree | b5a9d61176edd729c44f7d9e9b55740add077117 /src/elliptic/Jacobian.hh | |
parent | b1492906195293b3c7de84536af286433d755fba (diff) |
move decoding of the Jacobian type into this directory (used to be in ../driver)
git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinAnalysis/AHFinderDirect/trunk@702 f88db872-0e4f-0410-b76b-b9085cfa78c5
Diffstat (limited to 'src/elliptic/Jacobian.hh')
-rw-r--r-- | src/elliptic/Jacobian.hh | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/elliptic/Jacobian.hh b/src/elliptic/Jacobian.hh index d5c2e1d..ce9faf5 100644 --- a/src/elliptic/Jacobian.hh +++ b/src/elliptic/Jacobian.hh @@ -4,6 +4,8 @@ // // Jacobian -- abstract base class to describe a Jacobian matrix // dense_Jacobian -- Jacobian stored as a dense matrix +// +// decode_Jacobian_type - decode string into internal enum // new_Jacobian - factory method // @@ -145,6 +147,14 @@ private: //****************************************************************************** +enum Jacobian_type + { + Jacobian_type__dense_matrix // no comma + }; + +// decode string into internal enum +enum Jacobian_type + decode_Jacobian_type(const char Jacobian_type_string[]); + // construct and return new-allocated Jacobian object of specified type -Jacobian& new_Jacobian(patch_system& ps, - const char Jacobian_type[]); +Jacobian& new_Jacobian(patch_system& ps, enum Jacobian_type Jac_type); |