From c713c341882cd9aef91d11d52b7365c241e7ec94 Mon Sep 17 00:00:00 2001 From: kanschat Date: Fri, 5 Aug 2011 14:46:40 +0000 Subject: [PATCH] rename triple_product git-svn-id: https://svn.dealii.org/trunk@24019 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/lac/full_matrix_04.cc | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/tests/lac/full_matrix_04.cc b/tests/lac/full_matrix_04.cc index 7a23f27e0a..5baab142a8 100644 --- a/tests/lac/full_matrix_04.cc +++ b/tests/lac/full_matrix_04.cc @@ -10,7 +10,7 @@ // //---------------------------- full_matrix_03.cc,v --------------------------- -//check method schur_complement of FullMatrix +//check method FullMatrix::triple_prduct #include "../tests.h" #include @@ -61,7 +61,7 @@ void test (const unsigned int n, const unsigned int m) // Compare first Schur complement // with mmult. FullMatrix S1(m,m); - S1.schur_complement(A, D, B, false, false); + S1.triple_product(A, D, B, false, false); FullMatrix aux1(n,m); A.mmult(aux1,B); @@ -73,7 +73,7 @@ void test (const unsigned int n, const unsigned int m) // Compare second Schur complement // with mmult FullMatrix S2(n,n); - S2.schur_complement(C, B, D, false, false); + S2.triple_product(C, B, D, false, false); FullMatrix aux3(m,n); C.mmult(aux3,D); @@ -84,28 +84,28 @@ void test (const unsigned int n, const unsigned int m) // Check transpose versions aux2 = 0.; - aux2.schur_complement(A, Dt, B, true, false); + aux2.triple_product(A, Dt, B, true, false); aux2.add(-1., S1); diff(aux2); aux2 = 0.; - aux2.schur_complement(A, D, Bt, false, true); + aux2.triple_product(A, D, Bt, false, true); aux2.add(-1., S1); diff(aux2); aux2 = 0.; - aux2.schur_complement(A, Dt, Bt, true, true); + aux2.triple_product(A, Dt, Bt, true, true); aux2.add(-1., S1); diff(aux2); aux4 = 0.; - aux4.schur_complement(C, Bt, D, true, false); + aux4.triple_product(C, Bt, D, true, false); aux4.add(-1., S2); diff(aux4); aux4 = 0.; - aux4.schur_complement(C, B, Dt, false, true); + aux4.triple_product(C, B, Dt, false, true); aux4.add(-1., S2); diff(aux4); aux4 = 0.; - aux4.schur_complement(C, Bt, Dt, true, true); + aux4.triple_product(C, Bt, Dt, true, true); aux4.add(-1., S2); diff(aux4); } -- 2.39.5