diff options
author | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2008-12-15 07:26:12 +0000 |
---|---|---|
committer | astrojhgu <astrojhgu@ed2142bd-67ad-457f-ba7c-d818d4011675> | 2008-12-15 07:26:12 +0000 |
commit | 1f4a944064bc42284c33e6b755353d191cf288e8 (patch) | |
tree | c8cb2253dea5f395e0f867aa6976433bd3eb00de /models/models.hpp | |
download | opt-utilities-1f4a944064bc42284c33e6b755353d191cf288e8.tar.bz2 |
git-svn-id: file:///home/svn/opt_utilities@1 ed2142bd-67ad-457f-ba7c-d818d4011675
Diffstat (limited to 'models/models.hpp')
-rw-r--r-- | models/models.hpp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/models/models.hpp b/models/models.hpp new file mode 100644 index 0000000..79201e8 --- /dev/null +++ b/models/models.hpp @@ -0,0 +1,36 @@ +#ifndef MODELS_HPP +#define MODELS_HPP + +#include <core/fitter.hpp> +#include <map> +#include <string> +#include <list> +#include "vecn.hpp" +#include "strmodel1d.hpp" + + + +namespace opt_utilities +{ + extern std::map<std::string,model<double,double,std::vector<double>,std::string>* > model_map; + extern std::map<std::string,model<double,vecn<double,2>,std::vector<double>,std::string >* > model2d_map; + + extern strmodel1d strm1d; + extern std::list<std::string> get_model_name_list(); + extern int get_n_1dmodels(); + // extern void init_model_map(); + // extern void release_model_map(); + + extern std::list<std::string> get_model2d_name_list(); + // extern void init_model2d_map(); + // extern void release_model2d_map(); + extern int get_n_2dmodels(); + + extern model<double,double,std::vector<double>,std::string >& get_1dmodel_by_name(const char*); + extern model<double,vecn<double,2>,std::vector<double>,std::string >& get_2dmodel_by_name(const char*); + + extern strmodel1d& get_strm1d(); +} + + +#endif |