unitsquare.h
来自「Dolfin provide a high-performance linear」· C头文件 代码 · 共 31 行
H
31 行
// Copyright (C) 2005-2006 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added: 2005-12-02// Last changed: 2006-08-07#ifndef __UNIT_SQUARE_H#define __UNIT_SQUARE_H#include <dolfin/Mesh.h>namespace dolfin{ /// Triangular mesh of the 2D unit square (0,1) x (0,1). /// Given the number of cells (nx, ny) in each direction, /// the total number of triangles will be 2*nx*ny and the /// total number of vertices will be (nx + 1)*(ny + 1). class UnitSquare : public Mesh { public: UnitSquare(uint nx, uint ny); }; }#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?