]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Merge from trunk.
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 11 Dec 2013 11:25:57 +0000 (11:25 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Wed, 11 Dec 2013 11:25:57 +0000 (11:25 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_petscscalar_complex@31972 0785d39b-7218-0410-832d-ea1e28bc413d

124 files changed:
1  2 
deal.II/include/deal.II/lac/block_vector_base.h
deal.II/include/deal.II/lac/constraint_matrix.templates.h
deal.II/include/deal.II/lac/petsc_vector_base.h
deal.II/include/deal.II/numerics/vector_tools.templates.h
deal.II/source/fe/fe_tools_interpolate.cc
deal.II/source/fe/fe_values.cc
deal.II/source/numerics/data_out.cc
deal.II/source/numerics/data_out_dof_data.cc
deal.II/source/numerics/data_out_rotation.cc
deal.II/source/numerics/matrix_tools.cc
tests/petsc/01.cc
tests/petsc/02.cc
tests/petsc/05.cc
tests/petsc/06.cc
tests/petsc/07.cc
tests/petsc/08.cc
tests/petsc/09.cc
tests/petsc/10.cc
tests/petsc/11.cc
tests/petsc/12.cc
tests/petsc/13.cc
tests/petsc/17.cc
tests/petsc/18.cc
tests/petsc/19.cc
tests/petsc/20.cc
tests/petsc/21.cc
tests/petsc/22.cc
tests/petsc/23.cc
tests/petsc/24.cc
tests/petsc/25.cc
tests/petsc/26.cc
tests/petsc/27.cc
tests/petsc/28.cc
tests/petsc/30.cc
tests/petsc/31.cc
tests/petsc/32.cc
tests/petsc/33.cc
tests/petsc/34.cc
tests/petsc/35.cc
tests/petsc/36.cc
tests/petsc/37.cc
tests/petsc/38.cc
tests/petsc/39.cc
tests/petsc/40.cc
tests/petsc/41.cc
tests/petsc/42.cc
tests/petsc/43.cc
tests/petsc/44.cc
tests/petsc/45.cc
tests/petsc/46.cc
tests/petsc/47.cc
tests/petsc/48.cc
tests/petsc/51.cc
tests/petsc/52.cc
tests/petsc/55.cc
tests/petsc/56.cc
tests/petsc/57.cc
tests/petsc/58.cc
tests/petsc/59.cc
tests/petsc/60.cc
tests/petsc/61.cc
tests/petsc/66.cc
tests/petsc/67.cc
tests/petsc/68.cc
tests/petsc/69.cc
tests/petsc/deal_solver_01.cc
tests/petsc/deal_solver_02.cc
tests/petsc/deal_solver_03.cc
tests/petsc/deal_solver_04.cc
tests/petsc/deal_solver_05.cc
tests/petsc/full_matrix_01.cc
tests/petsc/full_matrix_02.cc
tests/petsc/full_matrix_05.cc
tests/petsc/full_matrix_06.cc
tests/petsc/full_matrix_07.cc
tests/petsc/full_matrix_08.cc
tests/petsc/full_matrix_09.cc
tests/petsc/full_matrix_10.cc
tests/petsc/full_matrix_iterator_01.cc
tests/petsc/full_matrix_vector_01.cc
tests/petsc/full_matrix_vector_02.cc
tests/petsc/full_matrix_vector_03.cc
tests/petsc/full_matrix_vector_04.cc
tests/petsc/full_matrix_vector_05.cc
tests/petsc/full_matrix_vector_06.cc
tests/petsc/full_matrix_vector_07.cc
tests/petsc/parallel_sparse_matrix_01.cc
tests/petsc/slowness_01.cc
tests/petsc/slowness_02.cc
tests/petsc/slowness_03.cc
tests/petsc/slowness_04.cc
tests/petsc/solver_01.cc
tests/petsc/solver_02.cc
tests/petsc/solver_03.cc
tests/petsc/solver_03_mf.cc
tests/petsc/solver_03_precondition_boomeramg.cc
tests/petsc/solver_03_precondition_boomeramg_symmetric.cc
tests/petsc/solver_03_precondition_eisenstat.cc
tests/petsc/solver_03_precondition_icc.cc
tests/petsc/solver_03_precondition_ilu.cc
tests/petsc/solver_03_precondition_lu.cc
tests/petsc/solver_03_precondition_parasails.cc
tests/petsc/solver_03_precondition_sor.cc
tests/petsc/solver_03_precondition_ssor.cc
tests/petsc/solver_04.cc
tests/petsc/solver_05.cc
tests/petsc/solver_06.cc
tests/petsc/solver_07.cc
tests/petsc/solver_08.cc
tests/petsc/solver_09.cc
tests/petsc/solver_10.cc
tests/petsc/solver_11.cc
tests/petsc/solver_12.cc
tests/petsc/solver_13.cc
tests/petsc/sparse_direct_mumps.cc
tests/petsc/sparse_matrix_iterator_01.cc
tests/petsc/sparse_matrix_vector_01.cc
tests/petsc/sparse_matrix_vector_02.cc
tests/petsc/sparse_matrix_vector_03.cc
tests/petsc/sparse_matrix_vector_04.cc
tests/petsc/sparse_matrix_vector_05.cc
tests/petsc/sparse_matrix_vector_06.cc
tests/petsc/sparse_matrix_vector_07.cc
tests/tests.h

index ede21a4ed222956ce2d1dbd0500bed530490bc26,a924af5d66c20c84579694d5635180212f082ab6..d5b2bad048fd154240789801bc56c5daa3af183d
@@@ -2567,15 -2564,16 +2567,16 @@@ void BlockVectorBase<VectorType>::extra
  template <typename VectorType>
  template <typename ForwardIterator, typename OutputIterator>
  inline
 -void BlockVectorBase<VectorType>::extract_subvector_to (ForwardIterator          indices_begin,
 -                                                        const ForwardIterator    indices_end,
 -                                                        OutputIterator           values_begin) const
 +void BlockVectorBase<VectorType>::extract_subvector_to (ForwardIterator       indices_begin,
 +                                                        const ForwardIterator indices_end,
 +                                                        OutputIterator        values_begin) const
  {
-   while (indices_begin != indices_end) 
-     { 
-       *values_begin = operator()(*indices_begin); 
-       indices_begin++; values_begin++; 
-     } 
+   while (indices_begin != indices_end)
+     {
+       *values_begin = operator()(*indices_begin);
+       indices_begin++;
+       values_begin++;
+     }
  }
  
  #endif // DOXYGEN
index 28cc4d4a5967919d09ca33148bc0b0516b5c5d60,36c330466887a4ff15e75dc4c75a87e3b6a2be8d..e8464dafc4ddb80334d82bbcd9b568f19ec3b101
@@@ -2241,18 -2252,12 +2257,16 @@@ add_this_index
                   std::fabs(local_matrix(local_row,local_row)) : average_diagonal);
              global_matrix.add(global_row, global_row, new_diagonal);
  
-             // if the use_inhomogeneities_for_rhs flag is
-             // set to true, the inhomogeneities are used
-             // to create the global vector. instead of
-             // fill in a zero in the ith components with an
-             // inhomogeneity, we set those to:
-             //    inhomogeneity(i)*global_matrix (i,i).
+             // if the use_inhomogeneities_for_rhs flag is set to true, the
+             // inhomogeneities are used to create the global vector. instead
+             // of fill in a zero in the ith components with an inhomogeneity,
+             // we set those to: inhomogeneity(i)*global_matrix (i,i).
              if (use_inhomogeneities_for_rhs == true)
 -              global_vector(global_row) += constraints.get_inhomogeneity(global_row) * new_diagonal;
 +            {
 +              /* @whattodo */
 +              /* global_vector(global_row) += constraints.get_inhomogeneity(global_row) * new_diagonal; */
 +              Assert ((false), ExcMessage ("This function is corrupt: @whattodo"));
 +            }
            }
        }
    }
@@@ -2650,14 -2632,8 +2641,12 @@@ ConstraintMatrix::distribute_local_to_g
                                       n_actual_col_dofs,
                                       local_matrix, col_ptr, val_ptr);
        const size_type n_values = col_ptr - &cols[0];
-       Assert (n_values == (size_type)(val_ptr - &vals[0]),
-               ExcInternalError());
        if (n_values > 0)
 -        global_matrix.add(row, n_values, &cols[0], &vals[0], false, true);
 +      {
 +        /* @whattodo Note, this is a tricky one! */
 +        /* global_matrix.add(row, n_values, &cols[0], &vals[0], false, true); */
 +        Assert ((false), ExcMessage ("This function is corrupt: @whattodo"));
 +      }
      }
  }
  
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
diff --cc tests/tests.h
index 0bb6b97f58b3e2dc9731fb90d439ab57c1feb1ec,76ceab1f2e2837c818a9a7446d3e1a739c3a4b44..3fc48df33660e712f6b795cf20fbb3cbe8579d28
@@@ -236,9 -267,43 +288,25 @@@ private
  
  
  
 -/*
 - * Some tests (notably base/thread*, base/task*) create output that
 - * comes out in random order. To make the output of these tests comparable,
 - * we need to sort them.
 - *
 - * This function does just that with the file given. All streams writing
 - * to this should be closed when calling this function.
 - */
 -void sort_file_contents (const std::string &filename)
 -{
 -  int error = std::system ((std::string ("LC_ALL=C sort ") + filename + " -o " + filename).c_str());
 -  Assert (error == 0,
 -        ExcInternalError());
 -}
  
  
+ /*
+  * Replace all occurences of ' &' by '& ' from the given file to hopefully be
+  * more compiler independent with respect to __PRETTY_FUNCTION__
+  *
+  * Also, while GCC prepends the name by "virtual " if the function is virtual,
+  * Intel's ICC does not do that, so filter that out as well.
+  */
+ void unify_pretty_function (const std::string &filename)
+ {
+   int error = std::system ((std::string ("sed -i -e 's/ \\&/ \\& /g' -e 's/ & ,/\\&,/g' -e 's/ \\& )/\\&)/g' -e 's/ \\& /\\& /g' -e 's/^DEAL::virtual /DEAL::/g' ") + filename).c_str());
+   Assert (error == 0,
+         ExcInternalError());
+ }
  
 -
 -
 -
 -
  #ifndef DEAL_II_STACKTRACE_SWITCH
  #define DEAL_II_STACKTRACE_SWITCH
  

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.