⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 boundarycomputation.h

📁 Dolfin provide a high-performance linear algebra library
💻 H
字号:
// Copyright (C) 2006 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2006-06-21// Last changed: 2006-06-22#ifndef __BOUNDARY_COMPUTATION_H#define __BOUNDARY_COMPUTATION_H#include <dolfin/constants.h>#include <dolfin/MeshFunction.h>namespace dolfin{  class Mesh;  class BoundaryMesh;  /// This class implements provides a set of basic algorithms for  /// the computation of boundaries.  class BoundaryComputation  {  public:        /// Compute the boundary of a given mesh    static void computeBoundary(Mesh& mesh, BoundaryMesh& boundary);    /// Compute the boundary of a given mesh, including a pair of mappings    /// from the vertices and cells of the boundary to the corresponding    /// mesh entities in the original mesh    static void computeBoundary(Mesh& mesh, BoundaryMesh& boundary,                                MeshFunction<uint>& vertex_map,                                MeshFunction<uint>& cell_map);  private:    /// Compute boundary and optionally the mappings if requested    static void computeBoundaryCommon(Mesh& mesh, BoundaryMesh& boundary,                                      MeshFunction<uint>* vertex_map,                                      MeshFunction<uint>* cell_map);  };}#endif

⌨️ 快捷键说明

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