From f264dbbcd1208c7d1dcc9a7402f712b1ff046509 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Tue, 20 Sep 2011 01:02:31 +0200 Subject: [PATCH] Nuke generated c++-file --- configure.ac | 2 +- src/dune_tectonic.cc | 26 -------------------------- 2 files changed, 1 insertion(+), 27 deletions(-) delete mode 100644 src/dune_tectonic.cc diff --git a/configure.ac b/configure.ac index 1f774d63..2b9aeb04 100644 --- a/configure.ac +++ b/configure.ac @@ -3,7 +3,7 @@ AC_PREREQ(2.50) DUNE_AC_INIT # gets module version from dune.module file AM_INIT_AUTOMAKE -AC_CONFIG_SRCDIR([src/dune_tectonic.cc]) +AC_CONFIG_SRCDIR([src/test-gradient-method.cc]) AM_CONFIG_HEADER([config.h]) diff --git a/src/dune_tectonic.cc b/src/dune_tectonic.cc deleted file mode 100644 index eb238aa3..00000000 --- a/src/dune_tectonic.cc +++ /dev/null @@ -1,26 +0,0 @@ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif -#include <iostream> -#include "dune/common/mpihelper.hh" // An initializer of MPI -#include "dune/common/exceptions.hh" // We use exceptions - -int main(int argc, char** argv) { - try { - // Maybe initialize Mpi - Dune::MPIHelper& helper = Dune::MPIHelper::instance(argc, argv); - std::cout << "Hello World! This is dune-tectonic." << std::endl; - if (Dune::MPIHelper::isFake) - std::cout << "This is a sequential program." << std::endl; - else - std::cout << "I am rank " << helper.rank() << " of " << helper.size() - << " processes!" << std::endl; - return 0; - } - catch (Dune::Exception& e) { - std::cerr << "Dune reported error: " << e << std::endl; - } - catch (...) { - std::cerr << "Unknown exception thrown!" << std::endl; - } -} -- GitLab