📄 unitsquare.h
字号:
// 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -