boundarymesh.h

来自「Dolfin provide a high-performance linear」· C头文件 代码 · 共 54 行

H
54
字号
// Copyright (C) 2006 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2006-06-21// Last changed: 2006-10-16#ifndef __BOUNDARY_MESH_H#define __BOUNDARY_MESH_H#include <dolfin/constants.h>#include <dolfin/Mesh.h>#include <dolfin/MeshFunction.h>namespace dolfin{  /// A BoundaryMesh is a mesh over the boundary of some given mesh.  class BoundaryMesh : public Mesh  {  public:    /// Create an empty boundary mesh    BoundaryMesh();    /// Create boundary mesh from given mesh    BoundaryMesh(Mesh& mesh);    /// Create boundary mesh from given mesh and compute a pair    /// of mappings from the vertices and cells of the boundary to    /// the corresponding mesh entities in the original mesh    BoundaryMesh(Mesh& mesh,                 MeshFunction<uint>& vertex_map,                 MeshFunction<uint>& cell_map);    /// Destructor    ~BoundaryMesh();    /// Initialize boundary mesh from given mesh    void init(Mesh& mesh);    /// Initialize boundary mesh from given mesh, including a pair    /// of mappings from the vertices and cells of the boundary to    /// the corresponding mesh entities in the original mesh    void init(Mesh& mesh,              MeshFunction<uint>& vertex_map,              MeshFunction<uint>& cell_map);  };}#endif

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?