From: Wolfgang Bangerth Date: Tue, 29 Mar 2005 22:17:36 +0000 (+0000) Subject: Move a few functions into the general file. X-Git-Tag: v8.0.0~14240 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5988bcfefb61b517c2213d54403596d30c065078;p=dealii.git Move a few functions into the general file. git-svn-id: https://svn.dealii.org/trunk@10307 0785d39b-7218-0410-832d-ea1e28bc413d --- 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