📄 unitcube.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_CUBE_H#define __UNIT_CUBE_H#include "Mesh.h"namespace dolfin{ /// Tetrahedral mesh of the 3D unit cube (0,1) x (0,1) x (0,1). /// Given the number of cells (nx, ny, nz) in each direction, /// the total number of tetrahedra will be 6*nx*ny*nz and the /// total number of vertices will be (nx + 1)*(ny + 1)*(nz + 1). class UnitCube : public Mesh { public: UnitCube(uint nx, uint ny, uint nz); }; }#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -