From 1f4a944064bc42284c33e6b755353d191cf288e8 Mon Sep 17 00:00:00 2001 From: astrojhgu Date: Mon, 15 Dec 2008 07:26:12 +0000 Subject: git-svn-id: file:///home/svn/opt_utilities@1 ed2142bd-67ad-457f-ba7c-d818d4011675 --- models/models.hpp | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 models/models.hpp (limited to 'models/models.hpp') 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 +#include +#include +#include +#include "vecn.hpp" +#include "strmodel1d.hpp" + + + +namespace opt_utilities +{ + extern std::map,std::string>* > model_map; + extern std::map,std::vector,std::string >* > model2d_map; + + extern strmodel1d strm1d; + extern std::list get_model_name_list(); + extern int get_n_1dmodels(); + // extern void init_model_map(); + // extern void release_model_map(); + + extern std::list get_model2d_name_list(); + // extern void init_model2d_map(); + // extern void release_model2d_map(); + extern int get_n_2dmodels(); + + extern model,std::string >& get_1dmodel_by_name(const char*); + extern model,std::vector,std::string >& get_2dmodel_by_name(const char*); + + extern strmodel1d& get_strm1d(); +} + + +#endif -- cgit v1.2.2