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

📄 meshordering.cpp

📁 Dolfin provide a high-performance linear algebra library
💻 CPP
字号:
// Copyright (C) 2007 Anders Logg.// Licensed under the GNU LGPL Version 2.1.//// First added:  2007-01-30// Last changed: 2007-05-16#include <dolfin/log.h>#include <dolfin/Mesh.h>#include <dolfin/Cell.h>#include <dolfin/MeshOrdering.h>using namespace dolfin;//-----------------------------------------------------------------------------void MeshOrdering::order(Mesh& mesh){  message("Ordering mesh entities...");  // Get cell type  const CellType& cell_type = mesh.type();  // Iterate over all cells and order the mesh entities locally  for (CellIterator cell(mesh); !cell.end(); ++cell)  {    cell_type.orderEntities(*cell);  }}//-----------------------------------------------------------------------------

⌨️ 快捷键说明

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