summarylogtreecommitdiffstats
path: root/d6891c9.patch
diff options
context:
space:
mode:
Diffstat (limited to 'd6891c9.patch')
-rw-r--r--d6891c9.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/d6891c9.patch b/d6891c9.patch
deleted file mode 100644
index 00a8e3da2ced..000000000000
--- a/d6891c9.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From d6891c90f49d809cc3150d1b6e36c9d74df8f664 Mon Sep 17 00:00:00 2001
-From: Christophe Prud'homme <christophe.prudhomme@feelpp.org>
-Date: Fri, 6 Oct 2017 08:28:49 +0200
-Subject: [PATCH] petsc 3.8 seems to work fine with feel++ fixes #1068
-
----
- feel/feelalg/preconditionerpetsc.cpp | 4 ++++
- 1 file changed, 4 insertions(+)
-
-diff --git a/feel/feelalg/preconditionerpetsc.cpp b/feel/feelalg/preconditionerpetsc.cpp
-index f9d5287b7f..0ad7bf4f36 100644
---- a/feel/feelalg/preconditionerpetsc.cpp
-+++ b/feel/feelalg/preconditionerpetsc.cpp
-@@ -2954,8 +2954,12 @@ ConfigurePCGAMG::run( PC& pc )
- this->check( PCGAMGSetProcEqLim( pc, M_procEqLim ) );
- // Set max number of equations on coarse grids
- this->check( PCGAMGSetCoarseEqLim( pc, M_coarseEqLim ) );
-+#if PETSC_VERSION_GREATER_OR_EQUAL_THAN( 3,8,0 )
-+ this->check( PCGAMGSetThresholdScale( pc, M_threshold ) );
-+#else
- // Relative threshold to use for dropping edges in aggregation graph
- this->check( PCGAMGSetThreshold( pc, M_threshold ) );
-+#endif
- // not works!!(seems to be missing PetscObjectComposeFunction with this function)
- //this->check( PCGAMGSetSymGraph( pc, ( M_setSymGraph )?PETSC_TRUE : PETSC_FALSE ) );
- // Reuse prolongation operator