]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
declare yield as double again
authorfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Feb 2013 22:11:34 +0000 (22:11 +0000)
committerfrohne <frohne@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Feb 2013 22:11:34 +0000 (22:11 +0000)
git-svn-id: https://svn.dealii.org/trunk@28519 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/step-42.cc

index b18e2307068f922b2dbfe36de8df85b5e21d36d4..a8814b1a5bc7987176d5873a7acd7386c1d75ab1 100644 (file)
@@ -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)
       {

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.