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

📄 gtsinterface.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 __GTS_INTERFACE_H#define __GTS_INTERFACE_H#include <dolfin/constants.h>// Forward declarationsstruct  _GtsBBox;typedef _GtsBBox GtsBBox;struct  _GNode;typedef _GNode GNode;namespace dolfin{  // Forward declarations  class Cell;  class Mesh;  template <class T> class Array;  /// This class provides a set of functions to interface the DOLFIN  /// mesh with the GTS mesh library  class GTSInterface  {  public:        /// Test    static void test();    /// Construct bounding box of cell    static GtsBBox* bboxCell(Cell& c);    /// Construct bounding box of a single point    static GtsBBox* bboxPoint(Point& p);    /// Construct hierarchical space partition tree of mesh    static GNode* buildCellTree(Mesh& mesh);    /// Compute cells overlapping c    static void overlap(Cell& c, GNode* tree, Mesh& mesh, Array<uint>& cells);    /// Compute cells overlapping p    static void overlap(Point& p, GNode* tree, Mesh& mesh, Array<uint>& cells);  };}#endif

⌨️ 快捷键说明

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