Skip to content
Snippets Groups Projects
Commit 0624ad90 authored by Lisa Julia Nebel's avatar Lisa Julia Nebel
Browse files

Change the order to 2; print out the order at the beginning of the program

parent 7cef2174
No related branches found
No related tags found
1 merge request!32Minor improvements
...@@ -73,7 +73,7 @@ ...@@ -73,7 +73,7 @@
# define WORLD_DIM 3 # define WORLD_DIM 3
#endif #endif
const int dim = WORLD_DIM; const int dim = WORLD_DIM;
const int order = 1; const int order = 2;
#if DUNE_VERSION_LT(DUNE_COMMON, 2, 7) #if DUNE_VERSION_LT(DUNE_COMMON, 2, 7)
template<> template<>
...@@ -120,6 +120,9 @@ int main (int argc, char *argv[]) try ...@@ -120,6 +120,9 @@ int main (int argc, char *argv[]) try
// initialize MPI, finalize is done automatically on exit // initialize MPI, finalize is done automatically on exit
Dune::MPIHelper& mpiHelper = MPIHelper::instance(argc, argv); Dune::MPIHelper& mpiHelper = MPIHelper::instance(argc, argv);
if (mpiHelper.rank()==0)
std::cout << "ORDER = " << order << std::endl;
// Start Python interpreter // Start Python interpreter
Python::start(); Python::start();
Python::Reference main = Python::import("__main__"); Python::Reference main = Python::import("__main__");
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment