From 5988bcfefb61b517c2213d54403596d30c065078 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 29 Mar 2005 22:17:36 +0000 Subject: [PATCH] Move a few functions into the general file. git-svn-id: https://svn.dealii.org/trunk@10307 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/base/symmetric_tensor_07.cc | 100 ------------------------------ 1 file changed, 100 deletions(-) diff --git a/tests/base/symmetric_tensor_07.cc b/tests/base/symmetric_tensor_07.cc index 80d555a63d..3049ebfeb9 100644 --- a/tests/base/symmetric_tensor_07.cc +++ b/tests/base/symmetric_tensor_07.cc @@ -23,106 +23,6 @@ #include -SymmetricTensor<2,1> -operator * (const SymmetricTensor<4,1> &t, - const SymmetricTensor<2,1> &s) -{ - const unsigned int dim = 1; - SymmetricTensor<2,dim> tmp; - tmp[0][0] = t[0][0][0][0] * s[0][0]; - return tmp; -} - - - -SymmetricTensor<2,1> -operator * (const SymmetricTensor<2,1> &s, - const SymmetricTensor<4,1> &t) -{ - const unsigned int dim = 1; - SymmetricTensor<2,dim> tmp; - tmp[0][0] = t[0][0][0][0] * s[0][0]; - return tmp; -} - - - -SymmetricTensor<2,2> -operator * (const SymmetricTensor<4,2> &t, - const SymmetricTensor<2,2> &s) -{ - const unsigned int dim = 2; - SymmetricTensor<2,dim> tmp; - - for (unsigned int i=0; i -operator * (const SymmetricTensor<2,2> &s, - const SymmetricTensor<4,2> &t) -{ - const unsigned int dim = 2; - SymmetricTensor<2,dim> tmp; - - for (unsigned int i=0; i -operator * (const SymmetricTensor<4,3> &t, - const SymmetricTensor<2,3> &s) -{ - const unsigned int dim = 3; - SymmetricTensor<2,dim> tmp; - - for (unsigned int i=0; i -operator * (const SymmetricTensor<2,3> &s, - const SymmetricTensor<4,3> &t) -{ - const unsigned int dim = 3; - SymmetricTensor<2,dim> tmp; - - for (unsigned int i=0; i -- 2.39.5