From 41d214bd6a617e3bc5552dd25b01321b3cc93c35 Mon Sep 17 00:00:00 2001 From: frohne Date: Thu, 21 Feb 2013 22:11:34 +0000 Subject: [PATCH] declare yield as double again git-svn-id: https://svn.dealii.org/trunk@28519 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-42/step-42.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/deal.II/examples/step-42/step-42.cc b/deal.II/examples/step-42/step-42.cc index b18e230706..a8814b1a5b 100644 --- a/deal.II/examples/step-42/step-42.cc +++ b/deal.II/examples/step-42/step-42.cc @@ -344,7 +344,7 @@ namespace Step42 SymmetricTensor<2,dim> &strain_tensor, unsigned int &elast_points, unsigned int &plast_points, - unsigned int &yield); + double &yield); void linearized_plast_linear_hardening (SymmetricTensor<4,dim> &stress_strain_tensor_linearized, SymmetricTensor<4,dim> &stress_strain_tensor, SymmetricTensor<2,dim> &strain_tensor); @@ -400,7 +400,7 @@ namespace Step42 SymmetricTensor<2,dim> &strain_tensor, unsigned int &elast_points, unsigned int &plast_points, - unsigned int &yield) + double &yield) { if (dim == 3) { @@ -894,7 +894,7 @@ namespace Step42 unsigned int elast_points = 0; unsigned int plast_points = 0; - unsigned int yield = 0; + double yield = 0; unsigned int cell_number = 0; cell_constitution = 0; @@ -1533,7 +1533,7 @@ int main (int argc, char *argv[]) Utilities::MPI::MPI_InitFinalize mpi_initialization (argc, argv); { - int _n_refinements_global = 3; + int _n_refinements_global = 2; if (argc == 3) { -- 2.39.5