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

📄 mesh.h

📁 一个用来实现偏微分方程中网格的计算库
💻 H
字号:
#ifndef __mesh_h__#define __mesh_h__#include "libmesh_config.h"#ifdef ENABLE_PARMESH#include "parallel_mesh.h"  typedef ParallelMesh DefaultMesh;#else#include "serial_mesh.h"  typedef SerialMesh DefaultMesh;#endif// Forward declarations don't like typedefs...// typedef SerialMesh Mesh;/** * The \p Mesh class is a thin wrapper, around the \p SerialMesh class * by default.*/// ------------------------------------------------------------// Mesh class definitionclass Mesh : public DefaultMesh{ public:  /**   * Constructor.  Requires the dimension and optionally   * a processor id.  Note that \p proc_id should always   * be provided for multiprocessor applications.   */  Mesh (unsigned int d) : DefaultMesh(d) {}  /**   * Copy-constructor.  This should be able to take a   * serial or parallel mesh.   */  Mesh (const UnstructuredMesh& other_mesh) : DefaultMesh(other_mesh) {}  /**   * Destructor.   */  ~Mesh() {}};#endif

⌨️ 快捷键说明

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