fem
クラス FEMDataModel

java.lang.Object
  上位を拡張 fem.FEMDataModel
直系の既知のサブクラス:
DcheDataModel

public class FEMDataModel
extends java.lang.Object

FEM データモデル


フィールドの概要
protected  BoundaryCondition bc
          境界条件
protected  java.util.ArrayList<Material> materials
          材料を格納するリスト
protected  MatrixSolver matrix
          拡散マトリックス
protected  MeshModel mesh
          メッシュモデル
protected  MatrixSolveMethod method
          行列解法
protected  boolean modelExist
          モデルの有無を表す boolean 型
protected  Result result
          計算結果
protected  Vector vector
          温度ベクトル
 
コンストラクタの概要
FEMDataModel()
          FEM データモデルを構築する
 
メソッドの概要
 void addMaterial(Material material)
          材料を追加する
 void calculate()
          熱伝達計算をする
 void clear()
          データを消去する
 void clearResults()
          計算結果を消去する
protected  void createHeatMatrix()
          熱計算のマトリックス・ベクトルを計算する
 BoundaryCondition getBoundaryCondition()
          境界条件を返す
 MatrixSolver getDiffMatrix()
          拡散マトリックスを返す
 Material getMaterial(int index)
          材料を返す
 MeshModel getMesh()
          メッシュモデルを返す
 Result getResult()
          計算結果を返す
 Vector getTempVector()
          温度ベクトルを返す
 void init()
          モデルを初期化する
 int materialCount()
          材料の数を返す
 boolean modelExist()
          モデルの有無を表す boolean 型を返す
 void reNumbering()
          節点ポインタを設定する
 void resetMaterialLabel()
          材料ポインタを設定する
 void setMethod(MatrixSolveMethod method)
          行列解法を設定する
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

フィールドの詳細

mesh

protected MeshModel mesh
メッシュモデル


materials

protected java.util.ArrayList<Material> materials
材料を格納するリスト


bc

protected BoundaryCondition bc
境界条件


result

protected Result result
計算結果


modelExist

protected boolean modelExist
モデルの有無を表す boolean 型


matrix

protected MatrixSolver matrix
拡散マトリックス


vector

protected Vector vector
温度ベクトル


method

protected MatrixSolveMethod method
行列解法

コンストラクタの詳細

FEMDataModel

public FEMDataModel()
FEM データモデルを構築する

メソッドの詳細

getMesh

public MeshModel getMesh()
メッシュモデルを返す

戻り値:
メッシュモデル

getBoundaryCondition

public BoundaryCondition getBoundaryCondition()
境界条件を返す

戻り値:
境界条件

getResult

public Result getResult()
計算結果を返す

戻り値:
計算結果

materialCount

public int materialCount()
材料の数を返す

戻り値:
材料の数

getMaterial

public Material getMaterial(int index)
材料を返す

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

addMaterial

public void addMaterial(Material material)
材料を追加する

パラメータ:
material - 材料

setMethod

public void setMethod(MatrixSolveMethod method)
行列解法を設定する

パラメータ:
method - 行列解法

clear

public void clear()
データを消去する


clearResults

public void clearResults()
計算結果を消去する


modelExist

public boolean modelExist()
モデルの有無を表す boolean 型を返す

戻り値:
モデルが存在する場合は true

init

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

例外:
LabelException

reNumbering

public void reNumbering()
                 throws LabelException
節点ポインタを設定する

例外:
LabelException - データラベルが一致しないとき

resetMaterialLabel

public void resetMaterialLabel()
                        throws LabelException
材料ポインタを設定する

例外:
LabelException - データラベルが一致しないとき

calculate

public void calculate()
熱伝達計算をする


createHeatMatrix

protected void createHeatMatrix()
熱計算のマトリックス・ベクトルを計算する


getDiffMatrix

public MatrixSolver getDiffMatrix()
拡散マトリックスを返す

戻り値:
拡散マトリックス

getTempVector

public Vector getTempVector()
温度ベクトルを返す

戻り値:
温度ベクトル