From: Wolfgang Bangerth Date: Tue, 29 Mar 2005 23:42:28 +0000 (+0000) Subject: New test. X-Git-Tag: v8.0.0~14234 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5348d42356ada80618c8ee37184488a3cdd5c49e;p=dealii.git New test. git-svn-id: https://svn.dealii.org/trunk@10313 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/base/symmetric_tensor_08.cc b/tests/base/symmetric_tensor_08.cc new file mode 100644 index 0000000000..659db998e2 --- /dev/null +++ b/tests/base/symmetric_tensor_08.cc @@ -0,0 +1,77 @@ +//---------------------------- symmetric_tensor_08.cc --------------------------- +// $Id$ +// Version: $Name$ +// +// Copyright (C) 2005 by the deal.II authors +// +// This file is subject to QPL and may not be distributed +// without copyright and license information. Please refer +// to the file deal.II/doc/license.html for the text and +// further information on this license. +// +//---------------------------- symmetric_tensor_08.cc --------------------------- + +// a stress test using repeated multiplication of tensors + +#include "../tests.h" +#include +#include +#include +#include +#include + + + +template +void test () +{ + const double lambda = 1.5, + mu = 1.7; + SymmetricTensor<4,dim> t; + for (unsigned int i=0; i a, b; + for (unsigned int i=0; i (); + test<3> (); + + deallog << "OK" << std::endl; +}