fem
クラス MeshModel

java.lang.Object
  上位を拡張 fem.MeshModel

public class MeshModel
extends java.lang.Object

メッシュモデル


フィールドの概要
 java.awt.geom.Rectangle2D bounds
          モデル境界を表す Cube3D
protected  java.util.ArrayList<Element2D> elements
          要素を格納したリスト
protected  java.util.ArrayList<ElementBorder> freeBorder
          外部境界を格納したリスト
static LabelComparator LABEL_COMPARATOR
          ラベルの比較オブジェクト
protected  java.util.ArrayList<Node> nodes
          節点を格納したリスト
static NodesComparator NODES_COMPARATOR
          節点集合の比較オブジェクト
 
コンストラクタの概要
MeshModel()
          メッシュモデルを構築する
 
メソッドの概要
 void addElement(Element2D element)
          要素を追加する
 void addNode(Node node)
          節点を追加する
 void clear()
          メッシュを消去する
 int getBorderCount()
          外部境界の数を返す
 java.awt.geom.Rectangle2D getBounds()
          モデル境界を返す
 Element2D getElement(int index)
          要素を返す
 int getElementCount()
          要素数を返す
 void getFreeBorder()
          外部境界を取り出す
 ElementBorder getFreeBorder(int index)
          外部境界を返す
 Node getNode(int index)
          節点を返す
 int getNodeCount()
          節点数を返す
 void init()
          モデルを初期化する
 void modelBounds()
          モデル境界を設定する
 Node[] nodes(Nodes nodes)
          節点を返す
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

LABEL_COMPARATOR

public static final LabelComparator LABEL_COMPARATOR
ラベルの比較オブジェクト


NODES_COMPARATOR

public static final NodesComparator NODES_COMPARATOR
節点集合の比較オブジェクト


nodes

protected java.util.ArrayList<Node> nodes
節点を格納したリスト


elements

protected java.util.ArrayList<Element2D> elements
要素を格納したリスト


freeBorder

protected java.util.ArrayList<ElementBorder> freeBorder
外部境界を格納したリスト


bounds

public java.awt.geom.Rectangle2D bounds
モデル境界を表す Cube3D

コンストラクタの詳細

MeshModel

public MeshModel()
メッシュモデルを構築する

メソッドの詳細

getNodeCount

public int getNodeCount()
節点数を返す

戻り値:
節点数

getNode

public Node getNode(int index)
節点を返す

パラメータ:
index - 節点のインデックス
戻り値:
指定された位置の節点

addNode

public void addNode(Node node)
節点を追加する

パラメータ:
node - 節点

getElementCount

public int getElementCount()
要素数を返す

戻り値:
要素数

getElement

public Element2D getElement(int index)
要素を返す

パラメータ:
index - 要素のインデックス
戻り値:
指定された位置の要素

addElement

public void addElement(Element2D element)
要素を追加する

パラメータ:
element - 要素

getBorderCount

public int getBorderCount()
外部境界の数を返す

戻り値:
外部境界の数

getFreeBorder

public ElementBorder getFreeBorder(int index)
外部境界を返す

パラメータ:
index - 外部境界のインデックス
戻り値:
指定された位置の外部境界

nodes

public Node[] nodes(Nodes nodes)
節点を返す

パラメータ:
nodes - 節点集合
戻り値:
節点を格納した配列

clear

public void clear()
メッシュを消去する


init

public void init()
モデルを初期化する


getFreeBorder

public void getFreeBorder()
外部境界を取り出す


modelBounds

public void modelBounds()
モデル境界を設定する


getBounds

public java.awt.geom.Rectangle2D getBounds()
モデル境界を返す

戻り値:
モデル境界を表す直方体