Commit 7d35bd0f authored by Robert K's avatar Robert K

Adjust to latest changes in dune-fem.

parent 3b274f50
Pipeline #19754 failed with stage
in 32 seconds
......@@ -103,9 +103,9 @@ void finalizeCodegen()
dimfilenameflops << path << "flops/autogeneratedcode_" << dim << "d.hh";
file << "#if CODEDIM == " << dim << std::endl;
file << "#ifdef COUNT_FLOPS" << std::endl;
file << "#include \"" << dimfilenameflops.str() << "\"" << std::endl;
file << "#define DUNE_FEM_INCLUDE_AUTOGENERATEDCODE_FILENAME_SPEC \"" << dimfilenameflops.str() << "\"" << std::endl;
file << "#else" << std::endl;
file << "#include \"" << dimfilename.str() << "\"" << std::endl;
file << "#define DUNE_FEM_INCLUDE_AUTOGENERATEDCODE_FILENAME_SPEC \"" << dimfilename.str() << "\"" << std::endl;
file << "#endif" << std::endl;
file << "#endif" << std::endl;
......@@ -306,7 +306,7 @@ namespace Fem
Dune::Fem::ForLoop< SimulatePolOrd, MIN_POLORD, MAX_POLORD > :: apply( algCreator, polOrder, bool(MIN_POLORD == MAX_POLORD) );
#ifdef BASEFUNCTIONSET_CODEGEN_GENERATE
}
catch (Dune::Fem::CodegenInfoFinished) {}
catch (const Dune::Fem::CodegenInfoFinished& ) {}
std::cerr << "Code for k="<< MAX_POLORD << " generated!! " << std::endl;
Dune::Fem::CodegenInfo :: instance().dumpInfo();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment