localmeshrefinement.h

来自「Dolfin provide a high-performance linear」· C头文件 代码 · 共 43 行

H
43
字号
// 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 <dolfin/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 + =
减小字号Ctrl + -
显示快捷键?