From 5f02fdb219dd3f5383ccf27551edd065548f1558 Mon Sep 17 00:00:00 2001 From: jthorn Date: Tue, 3 Sep 2002 15:06:48 +0000 Subject: 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 --- src/elliptic/Jacobian.hh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'src/elliptic/Jacobian.hh') 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); -- cgit v1.2.3