📄 localmeshrefinement.h
字号:
// Copyright (C) 2006 Johan Hoffman.// Licensed under the GNU LGPL Version 2.1.//// First added: 2006-11-01#ifndef __LOCAL_MESH_REFINEMENT_H#define __LOCAL_MESH_REFINEMENT_H#include "MeshFunction.h"namespace dolfin{ class Cell; class Edge; class Mesh; class MeshEditor; /// This class implements local mesh refinement for different mesh types. class LocalMeshRefinement { public: /// Refine simplicial mesh locally by edge bisection static void refineMeshByEdgeBisection(Mesh& mesh, MeshFunction<bool>& cell_marker, bool refine_boundary = true); private: /// Bisect edge of simplex cell static void bisectEdgeOfSimplexCell(Cell& cell, Edge& edge, uint& new_vertex, MeshEditor& editor, uint& current_cell); };}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -