diff options
Diffstat (limited to 'math/geogram/files/patch-src_lib_geogram_NL_nl__amgcl.cpp')
-rw-r--r-- | math/geogram/files/patch-src_lib_geogram_NL_nl__amgcl.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/math/geogram/files/patch-src_lib_geogram_NL_nl__amgcl.cpp b/math/geogram/files/patch-src_lib_geogram_NL_nl__amgcl.cpp new file mode 100644 index 000000000000..37048ff4fd2d --- /dev/null +++ b/math/geogram/files/patch-src_lib_geogram_NL_nl__amgcl.cpp @@ -0,0 +1,25 @@ +--- src/lib/geogram/NL/nl_amgcl.cpp.orig 2024-06-14 05:04:18 UTC ++++ src/lib/geogram/NL/nl_amgcl.cpp +@@ -183,7 +183,7 @@ NLboolean nlSolveAMGCL() { + + // There can be several linear systems to solve in OpenNL + for(int k=0; k<ctxt->nb_systems; ++k) { +- ++ + if(ctxt->no_variables_indirection) { + x = (double*)ctxt->variable_buffer[k].base_address; + geo_assert( +@@ -192,9 +192,11 @@ NLboolean nlSolveAMGCL() { + } + + if(ctxt->verbose) { +- GEO::Logger::out("AMGCL") << "Calling solver" << std::endl; ++ GEO::Logger::out("AMGCL") << "calling AMGCL solver (built in geogram) " ++ << "(" << Backend::name() << ")" ++ << std::endl; + } +- ++ + // Call the solver and copy used iterations and last + // relative residual to OpenNL context. + std::tie(ctxt->used_iterations, ctxt->error) = solver( |