The benefit to be able to change the install prefix WITHOUT recompiling the
whole library far outweights supports for two obsolete features
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26905
0785d39b-7218-0410-832d-
ea1e28bc413d
Minor:
+* Fixup the TODOs in
+ source/lac/sparse_dircect.cc
+ source/base/path_find.cc
+ source/base/function_parser.cc
+
* Get rid of DEAL_II_PATH in config.h and in the sources.
* HAVE_JN_ ?
/* Define to the home page for this package. */
#define DEAL_II_PACKAGE_URL "@DEAL_II_PACKAGE_URL@"
-/* Path to the deal.II directory */
-#define DEAL_II_PATH "@DEAL_II_PATH@"
-
/* Major version number of deal.II */
#define DEAL_II_MAJOR "@DEAL_II_VERSION_MAJOR@" # legacy
#define DEAL_II_VERSION_MAJOR "@DEAL_II_VERSION_MAJOR@"
v.push_back(empty);
path_lists.insert(map_type(std::string("PARAMETER"), v));
- v.push_back(std::string(DEAL_II_PATH "/lib/meshes/"));
+ /*
+ * TODO: reenable some sensible default paths. Maier, 2012
+ */
path_lists.insert(map_type(std::string("MESH"), v));
v.clear();
v.push_back(std::string(".prm"));
suffix_lists.insert(map_type(std::string("PARAMETER"), v));
+ /*
+ * TODO: "Would require linking with the deal.II libraries"? This .cc
+ * file gets compiled into the library... maier, 2012
+ */
// We cannot use the GridIn class
// to query the formats, since this
// would require linking with the
// copy of the program, and
// run the detached solver
// slave instead
- const char * const program_name = DEAL_II_PATH"/lib/bin/detached_ma27";
+ /*
+ * TODO: Does this invocation work with just the name of the
+ * executable? Maier, 2012
+ */
+ const char * const program_name = "detached_ma27";
const char * const child_argv[] = { program_name, NULL };
execv(program_name, const_cast<char * const *>(child_argv));