]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Merge pull request #5930 from drwells/fix-unsigned-char
authorWolfgang Bangerth <bangerth@colostate.edu>
Tue, 20 Feb 2018 13:42:27 +0000 (06:42 -0700)
committerGitHub <noreply@github.com>
Tue, 20 Feb 2018 13:42:27 +0000 (06:42 -0700)
Use types::boundary_id in a code sample.

1  2 
examples/step-38/doc/results.dox

index 06b9bb82033e2e297861f5ba48863e3996636e7c,6bc5fbc2e4620b3422985c7337c26bb706237b76..51b3e2d3f6a747a4f52bda3e9b500615d4c10490
@@@ -119,10 -119,10 +119,10 @@@ void LaplaceBeltrami<spacedim>::make_gr
      Triangulation<spacedim> volume_mesh;
      GridGenerator::half_hyper_ball(volume_mesh);
  
 -    volume_mesh.set_boundary (0, boundary_description);
 +    volume_mesh.set_manifold (0, boundary_description);
      volume_mesh.refine_global (4);
  
-     std::set<unsigned char> boundary_ids;
+     std::set<types::boundary_id> boundary_ids;
      boundary_ids.insert (0);
  
      GridGenerator::extract_boundary_mesh (volume_mesh, triangulation,

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.