]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #4128 from Rombur/std_cxx11
authorWolfgang Bangerth <bangerth@colostate.edu>
Thu, 6 Apr 2017 13:09:05 +0000 (07:09 -0600)
committerGitHub <noreply@github.com>
Thu, 6 Apr 2017 13:09:05 +0000 (07:09 -0600)
Replace std_cxx11 and std_cxx1x functions by std ones

15 files changed:
1  2 
include/deal.II/distributed/shared_tria.h
include/deal.II/grid/grid_tools.h
include/deal.II/grid/tria.h
include/deal.II/matrix_free/fe_evaluation.h
include/deal.II/matrix_free/matrix_free.h
include/deal.II/numerics/vector_tools.templates.h
source/distributed/shared_tria.cc
source/fe/fe_system.cc
source/grid/grid_tools.cc
source/grid/grid_tools.inst.in
source/grid/tria.cc
source/numerics/point_value_history.cc
tests/matrix_free/matrix_vector_20.cc
tests/matrix_free/matrix_vector_21.cc
tests/matrix_free/matrix_vector_stokes_base.cc

index e7b931f055626edf0264da55f4a129be1141f188,9e1e558abc3d96250fb11aa16b1ff006274da96e..78d415db3bb99f9af02500c6750a42ef2aff4068
@@@ -735,24 -735,8 +735,24 @@@ namespace GridTool
    std::vector<typename MeshType::active_cell_iterator>
    compute_active_cell_halo_layer
    (const MeshType                                                                    &mesh,
-    const std_cxx11::function<bool (const typename MeshType::active_cell_iterator &)> &predicate);
+    const std::function<bool (const typename MeshType::active_cell_iterator &)> &predicate);
  
 +
 +  /**
 +   * Extract and return the cell layer around a subdomain (set of
 +   * cells) on a specified level of the @p mesh (i.e. those cells on
 +   * that level that share a common set of vertices with the subdomain
 +   * but are not a part of it). Here, the "subdomain" consists of exactly
 +   * all of those cells for which the @p predicate returns @p true.
 +   */
 +  template <class MeshType>
 +  std::vector<typename MeshType::cell_iterator>
 +  compute_cell_halo_layer_on_level
 +  (const MeshType                                                             &mesh,
 +   const std_cxx11::function<bool (const typename MeshType::cell_iterator &)> &predicate,
 +   const unsigned int                                                         level);
 +
 +
    /**
     * Extract and return ghost cells which are the active cell layer around all
     * locally owned cells. This is most relevant for
Simple merge
index ad46f85113be0fa4262480e175a4cc4f66997f73,50fc14f7d413aa8b01de8abbd2804a759a297f44..6d75eda0a1efcbab1b89eef4f7b3b68a60ff66e2
@@@ -88,9 -57,9 +88,9 @@@ namespace paralle
  
        if (allow_artificial_cells)
          {
 -          // get halo layer of (ghost) cells
 +          // get active halo layer of (ghost) cells
            // parallel::shared::Triangulation<dim>::
-           std_cxx11::function<bool (const typename parallel::shared::Triangulation<dim,spacedim>::active_cell_iterator &)> predicate
+           std::function<bool (const typename parallel::shared::Triangulation<dim,spacedim>::active_cell_iterator &)> predicate
              = IteratorFilters::SubdomainEqualTo(this->my_subdomain);
  
            const std::vector<typename parallel::shared::Triangulation<dim,spacedim>::active_cell_iterator>
Simple merge
Simple merge
index f494b2c60ef3d2ad50b4561a22ee097105bc9684,7aa1b9eccac35adb1b52a96e846471b73edb1a6d..26396ca9e2f05fd15e1159e3a4be5d9ef6ac9ff1
@@@ -43,14 -43,8 +43,14 @@@ for (X : TRIANGULATION_AND_DOFHANDLERS
      template
      std::vector<dealii::internal::ActiveCellIterator<deal_II_dimension, deal_II_space_dimension, X>::type>
      compute_active_cell_halo_layer (const X &,
-                                     const std_cxx11::function<bool (const dealii::internal::ActiveCellIterator<deal_II_dimension, deal_II_space_dimension, X>::type&)> &);
+                                     const std::function<bool (const dealii::internal::ActiveCellIterator<deal_II_dimension, deal_II_space_dimension, X>::type&)> &);
  
 +    template
 +    std::vector<X::cell_iterator>
 +    compute_cell_halo_layer_on_level (const X &,
 +                                      const std_cxx11::function<bool (const X::cell_iterator&)> &,
 +                                      const unsigned int);
 +
      template
      std::vector<dealii::internal::ActiveCellIterator<deal_II_dimension, deal_II_space_dimension, X>::type>
      compute_ghost_cell_halo_layer (const X &);
Simple merge
Simple merge
Simple merge

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.