~corrado-maurini/dolfin/tao

« back to all changes in this revision

Viewing changes to dolfin/mesh/BoundaryMesh.h

  • Committer: corrado maurini
  • Date: 2012-12-18 12:16:08 UTC
  • mfrom: (6685.78.207 trunk)
  • Revision ID: corrado.maurini@upmc.fr-20121218121608-nk82ly9jgsld9u84
updating with trunk, fix uint in TAO solver and hacking the check for tao FindTAO.cmake

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
// along with DOLFIN. If not, see <http://www.gnu.org/licenses/>.
17
17
//
18
18
// Modified by Niclas Jansson 2009.
 
19
// Modified by Joachim B Haga 2012.
19
20
//
20
21
// First added:  2006-06-21
21
 
// Last changed: 2012-06-25
 
22
// Last changed: 2012-10-30
22
23
 
23
24
#ifndef __BOUNDARY_MESH_H
24
25
#define __BOUNDARY_MESH_H
29
30
 
30
31
namespace dolfin
31
32
{
32
 
 
33
33
  /// A BoundaryMesh is a mesh over the boundary of some given mesh.
34
34
  /// The cells of the boundary mesh (facets of the original mesh) are
35
35
  /// oriented to produce outward pointing normals relative to the
65
65
    /// Initialize interior boundary of given mesh
66
66
    void init_interior_boundary(const Mesh& mesh);
67
67
 
68
 
    MeshFunction<unsigned int>& cell_map()
 
68
    MeshFunction<std::size_t>& cell_map()
69
69
    { return _cell_map; }
70
70
 
71
71
    /// Get cell mapping from the boundary mesh to the original full mesh
72
 
    const MeshFunction<unsigned int>& cell_map() const
 
72
    const MeshFunction<std::size_t>& cell_map() const
73
73
    { return _cell_map; }
74
74
 
75
75
    /// Get vertex mapping from the boundary mesh to the original full mesh
76
 
    MeshFunction<unsigned int>& vertex_map()
 
76
    MeshFunction<std::size_t>& vertex_map()
77
77
    { return _vertex_map; }
78
78
 
79
 
    const MeshFunction<unsigned int>& vertex_map() const
 
79
    const MeshFunction<std::size_t>& vertex_map() const
80
80
    { return _vertex_map; }
81
81
 
82
82
  private:
83
83
 
84
 
    MeshFunction<unsigned int> _cell_map;
 
84
    MeshFunction<std::size_t> _cell_map;
85
85
 
86
 
    MeshFunction<unsigned int> _vertex_map;
 
86
    MeshFunction<std::size_t> _vertex_map;
87
87
 
88
88
  };
89
89