main.cpp
来自「Dolfin provide a high-performance linear」· C++ 代码 · 共 25 行
CPP
25 行
// Copyright (C) 2007 Anders Logg and Magnus Vikström.// Licensed under the GNU LGPL Version 2.1.//// First added: 2007-05-08// Last changed: 2007-06-01#include <dolfin.h>using namespace dolfin;int main(){ // Create mesh UnitCube mesh(16, 16, 16); // Partition mesh MeshFunction<unsigned int> partitions; mesh.partition(20, partitions); // Plot mesh partition plot(partitions); return 0;}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?