亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? tree_node.h

?? 一個用來實現偏微分方程中網格的計算庫
?? H
字號:
// $Id: tree_node.h 2789 2008-04-13 02:24:40Z roystgnr $// The libMesh Finite Element Library.// Copyright (C) 2002-2007  Benjamin S. Kirk, John W. Peterson  // This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public// License as published by the Free Software Foundation; either// version 2.1 of the License, or (at your option) any later version.  // This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU// Lesser General Public License for more details.  // You should have received a copy of the GNU Lesser General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA#ifndef __tree_node_h__#define __tree_node_h__// C++ includes#include <vector>// Local includes#include "libmesh_common.h"#include "point.h"// Forward Declarationsclass MeshBase;class Node;class Elem;/** * This class defines a node on a tree.  A tree node * contains a pointer to its parent (NULL if the node is * the root) and pointers to its children (NULL if the  * node is active. */template <unsigned int N>class TreeNode{  public:  /**   * Constructor.  Takes a pointer to this node's    * parent.  The pointer should only be NULL    * for the top-level (root) node.   */  TreeNode (const MeshBase& m, 	    const unsigned int tbs,	    	    const TreeNode<N> *p = NULL);  /**   * Destructor.  Deletes all children, if any.  Thus   * to delete a tree it is sufficient to explicitly    * delete the root node.    */  ~TreeNode ();  /**   * @returns true if this node is the root node, false   * otherwise.   */  bool is_root() const { return (parent == NULL); }  /**   * @returns true if this node is active (i.e. has no    * children), false otherwise.   */  bool active() const { return children.empty(); }  /**   * Inserts \p Node \p nd into the TreeNode.   */  void insert (const Node* nd);  /**   * Inserts \p Elem \p el into the TreeNode.   */  void insert (const Elem* nd);  /**   * Refine the tree node into N children if it contains   * more than tol nodes.   */  void refine ();   /**   * Sets the bounding box;   */  void set_bounding_box (const std::pair<Point, Point>& bbox);  /**   * @returns true if this TreeNode (or its children) contain node n,   * false otherwise.   */  bool bounds_node (const Node* nd) const  { libmesh_assert (nd != NULL); return bounds_point(*nd); }  /**   * @returns true if this TreeNode (or its children) contain point p,   * false otherwise.   */  bool bounds_point (const Point &p) const;  /**   * @returns the level of the node.   */  unsigned int level () const;       /**   * Prints the contents of the node_numbers vector if we   * are active.   */  void print_nodes() const;      /**   * Prints the contents of the elements set if we   * are active.   */  void print_elements() const;  /**   * Transforms node numbers to element pointers.   */  void transform_nodes_to_elements (std::vector<std::vector<const Elem*> >& 				    nodes_to_elem);  /**   * @returns the number of active bins below   * (including) this element.   */  unsigned int n_active_bins() const;  /**   * @returns an element containing point p.   */  const Elem* find_element (const Point& p) const;  private:    /**   * Look for point \p p in our children.   */  const Elem* find_element_in_children (const Point& p) const;  /**   * Constructs the bounding box for child \p c.   */  std::pair<Point, Point> create_bounding_box (const unsigned int c) const;  /**   * Reference to the mesh.   */  const MeshBase& mesh;  /**   * The maximum number of things we should store before    * refining ourself.   */  const unsigned int tgt_bin_size;  /**   * Pointer to this node's parent.   */  const TreeNode<N> *parent;  /**   * Pointers to our children.  This vector   * is empty if the node is active.   */  std::vector<TreeNode<N>* > children;  /**   * The Cartesian bounding box for the node.    * The minimum point is stored as bounding_box.first,   * the maximum point is stored as bounding_box.second.   */  std::pair<Point, Point> bounding_box;  /**   * Pointers to the elements in this tree node.   */  std::vector<const Elem*> elements;  /**   * The node numbers contained in this portion of the tree.   */  std::vector<const Node*> nodes;  /**   * Does this node contain any infinite elements.   */  bool contains_ifems;};// ------------------------------------------------------------// TreeNode class inline methodstemplate <unsigned int N>inlineTreeNode<N>::TreeNode (const MeshBase& m, 		       const unsigned int tbs,		       const TreeNode<N>* p) :  mesh           (m),  tgt_bin_size   (tbs),  parent         (p),  contains_ifems (false){  // libmesh_assert our children are empty, thus we are active.  libmesh_assert (children.empty());  libmesh_assert (this->active());    // Reserve space for the nodes & elements  nodes.reserve    (tgt_bin_size);  elements.reserve (tgt_bin_size);}template <unsigned int N>inlineTreeNode<N>::~TreeNode (){  // When we are destructed we must delete all of our  // children.  They will this delete their children,  // All the way down the line...  for (unsigned int c=0; c<children.size(); c++)    delete children[c];}template <unsigned int N>inlineunsigned int TreeNode<N>::level () const {   if (parent != NULL)    return parent->level()+1;  // if we have no parent, we are a level-0 box  return 0;}#endif

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲蜜臀av乱码久久精品蜜桃| 欧美天堂亚洲电影院在线播放| 欧美亚洲综合另类| www.综合网.com| 亚洲四区在线观看| 欧美日韩精品一区二区天天拍小说| 亚洲成人免费av| 欧美吞精做爰啪啪高潮| 欧美美女bb生活片| 成人中文字幕电影| 亚洲电影欧美电影有声小说| 亚洲激情在线激情| 久久久蜜桃精品| 91麻豆国产在线观看| 美女网站视频久久| 亚洲精品一线二线三线 | 欧美综合亚洲图片综合区| 看电视剧不卡顿的网站| 国产精品久久久久久久岛一牛影视| 色婷婷综合久色| 久久99国产精品尤物| 亚洲五码中文字幕| 中文字幕欧美激情| 日韩精品影音先锋| 欧美视频完全免费看| 日韩欧美成人激情| 中文字幕第一区| 亚洲线精品一区二区三区| 久久精品99国产国产精| av在线一区二区三区| 欧美日韩一区二区欧美激情| 成人精品免费视频| 久久国产剧场电影| 成人av网站在线| 欧美一区国产二区| 91麻豆精品国产91久久久 | 欧美国产综合一区二区| 一区二区三区四区国产精品| 成人欧美一区二区三区1314| 国产精品欧美一区喷水| 国产蜜臀97一区二区三区| 国产亚洲综合性久久久影院| 精品国产凹凸成av人网站| 亚洲免费观看在线观看| 国内外成人在线视频| 狠狠色狠狠色合久久伊人| 色综合久久88色综合天天免费| 91麻豆精品久久久久蜜臀| 国产精品乱码一区二三区小蝌蚪| 日本不卡视频在线| 久国产精品韩国三级视频| 色哟哟精品一区| 国产欧美一区二区精品性色 | 日韩一区二区在线看| 91精品国产色综合久久久蜜香臀| 久久精品综合网| 麻豆精品一区二区综合av| 欧美亚洲日本一区| 综合在线观看色| k8久久久一区二区三区| 久久久久久一二三区| 精品一区二区久久久| 欧美精品日韩一本| 亚洲午夜三级在线| 色av综合在线| 日韩欧美一二三四区| 午夜电影久久久| 成人黄色av网站在线| 久久精品亚洲国产奇米99| 裸体歌舞表演一区二区| 欧美精品 国产精品| 亚洲综合免费观看高清完整版在线| 日韩精品一卡二卡三卡四卡无卡| 狠狠色丁香久久婷婷综| 日韩三级电影网址| 免费观看久久久4p| 日韩欧美电影一二三| 韩国一区二区三区| 国产视频一区二区在线| 福利电影一区二区三区| 555夜色666亚洲国产免| 午夜视频在线观看一区| 6080国产精品一区二区| 麻豆精品一区二区三区| 久久婷婷成人综合色| 亚洲国产精品视频| 欧美精品日韩精品| 国产在线麻豆精品观看| 中文字幕不卡在线| 一本色道久久加勒比精品 | 亚洲国产一区二区在线播放| 欧美日韩视频一区二区| 日韩高清欧美激情| 91视视频在线直接观看在线看网页在线看 | 日韩精品五月天| 精品国产一区二区三区四区四| 国产一区二区三区在线观看免费视频 | 2021中文字幕一区亚洲| 国产91在线观看| 亚洲色图在线播放| 在线播放亚洲一区| 国产一区二区导航在线播放| 自拍av一区二区三区| 9191精品国产综合久久久久久| 国产永久精品大片wwwapp | 久久精品国产精品亚洲精品| 久久精品在线免费观看| 欧美羞羞免费网站| 韩国av一区二区| 亚洲自拍偷拍麻豆| 国产视频911| 在线成人av网站| 不卡高清视频专区| 日本aⅴ免费视频一区二区三区| 中文字幕欧美三区| 欧美一区二区福利视频| 日本精品一区二区三区高清| 精品一区二区三区久久久| 亚洲黄色片在线观看| 久久久影视传媒| 欧美丰满少妇xxxxx高潮对白| 成人激情文学综合网| 久久精品国产**网站演员| 亚洲综合一区二区三区| 国产精品区一区二区三| 亚洲精品一线二线三线无人区| 欧美日韩精品一区二区三区四区| 成人精品视频一区| 国内精品免费**视频| 日韩高清中文字幕一区| 亚洲永久精品大片| 一区二区三区在线免费观看| 国产亚洲欧洲997久久综合| 欧美精品在线一区二区三区| 91成人在线免费观看| 97精品久久久午夜一区二区三区 | 激情综合网最新| 亚洲成av人片在www色猫咪| 国产精品午夜电影| 久久九九国产精品| 久久天天做天天爱综合色| 欧美大白屁股肥臀xxxxxx| 国产一区福利在线| 日本午夜精品一区二区三区电影| 亚洲一区二区三区中文字幕| 国产精品成人免费精品自在线观看 | 亚洲欧美另类小说| 中文字幕亚洲不卡| 国产精品成人午夜| 亚洲码国产岛国毛片在线| 亚洲欧洲精品一区二区精品久久久| 久久久久综合网| 国产精品美女视频| 国产精品久久久久aaaa樱花 | 精品乱人伦小说| 精品日韩欧美一区二区| 久久亚洲免费视频| 国产欧美综合色| 成人免费一区二区三区在线观看| 亚洲三级电影全部在线观看高清| 国产精品第13页| 一区二区三区中文在线观看| 一二三区精品视频| 日韩av一级电影| 精品一区二区在线免费观看| 国产露脸91国语对白| 青青草视频一区| 黄页视频在线91| 99视频超级精品| 欧美午夜精品一区二区三区| 在线播放亚洲一区| 日本一区二区三区在线不卡| 亚洲人精品午夜| 舔着乳尖日韩一区| 国产精品中文有码| 色综合中文综合网| 久久亚洲一区二区三区明星换脸| 国产农村妇女毛片精品久久麻豆| 成人欧美一区二区三区小说| 午夜精品久久久久久久99水蜜桃| 久久国产精品72免费观看| 丁香六月久久综合狠狠色| 色噜噜狠狠色综合中国| 欧美一区二区三区男人的天堂| 国产亚洲一二三区| 亚洲欧美激情插| 麻豆国产精品官网| 91在线porny国产在线看| 欧美高清dvd| 日韩一区有码在线| 国产一区在线不卡| 欧美日韩一区二区欧美激情| 亚洲国产精品精华液2区45| 亚洲制服丝袜在线| 国产成人午夜精品5599| 国产麻豆精品95视频| 91福利社在线观看| 国产欧美日产一区| 青草av.久久免费一区| 91官网在线免费观看|