diff options
author | Michel Zou | 2018-05-05 12:44:37 +0200 |
---|---|---|
committer | Michel Zou | 2018-05-05 12:44:37 +0200 |
commit | 09dcc80300c2a106d1d26a79d631116397c58fd6 (patch) | |
tree | 7e48d4f4aa68541407ba11daeb343083cd6c5f79 /d6891c9.patch | |
parent | cbe80f4a6877046fe62c8e3ef76c1414342cbc46 (diff) | |
download | aur-09dcc80300c2a106d1d26a79d631116397c58fd6.tar.gz |
0.104.0
Diffstat (limited to 'd6891c9.patch')
-rw-r--r-- | d6891c9.patch | 26 |
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 |