diff options
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); |