gf_mesh_im_get¶
概要
{I, CV2I} = gf_mesh_im_get(mesh_im MI, 'integ'[, mat CVids])
CVids = gf_mesh_im_get(mesh_im MI, 'convex_index')
M = gf_mesh_im_get(mesh_im MI, 'eltm', eltm em, int cv [, int f])
Ip = gf_mesh_im_get(mesh_im MI, 'im_nodes'[, mat CVids])
gf_mesh_im_get(mesh_im MI, 'save',string filename[, 'with mesh'])
gf_mesh_im_get(mesh_im MI, 'char'[,'with mesh'])
gf_mesh_im_get(mesh_im MI, 'display')
m = gf_mesh_im_get(mesh_im MI, 'linked mesh')
z = gf_mesh_im_get(mesh_im MI, 'memsize')
説明 :
mesh_imオブジェクトから情報を抽出する汎用的な関数.
コマンドリスト
{I, CV2I} = gf_mesh_im_get(mesh_im MI, 'integ'[, mat CVids])
mesh_imで使用される積分法のリストを返します.
I は CVids で与えられた凸にあるすべてのintegオブジェクトの配列です. CV2I が出力引数として与えられた場合, CVids に列挙されている各凸に対し, I における相関積分法のインデックスを含みます.
メッシュの一部ではない凸,または積分法を持たない凸については, CV2I の対応エントリを-1に設定します.
例
cvid=gf_mesh_get(mim,'cvid'); [f,c2f]=gf_mesh_im_get(mim, 'integ'); for i=1:size(f), sf{i}=gf_integ_get('char',f(i)); end; for i=1:size(c2f), disp(sprintf('the integration of convex %d is %s',... cvid(i),sf{i})); end;
CVids = gf_mesh_im_get(mesh_im MI, 'convex_index')
積分法がある凸のリストを返します.
ダミーの IM_NONE メソッドを持つ凸は表示されません.
M = gf_mesh_im_get(mesh_im MI, 'eltm', eltm em, int cv [, int f])
凸の cv 上で積分された基本行列(またはテンソル)を返します.
警告
Be sure that the fem used for the construction of em is compatible with the fem assigned to element cv ! This is not checked by the function ! If the argument f is given, then the elementary tensor is integrated on the face f of cv instead of the whole convex.
Ip = gf_mesh_im_get(mesh_im MI, 'im_nodes'[, mat CVids])
積分点の座標とその重みを返します.
CVids は gf_mesh_get(mesh M, 'region') によって返される凸のリストまたは凸面のリストです.
警告
メッシュの一部でない凸,または近似積分法を持たない凸には,対応するエントリ(これは,厳密な積分法には意味がありません!)がありません.
gf_mesh_im_get(mesh_im MI, 'save',string filename[, 'with mesh'])
mesh_imをテキストファイル(とオプションでリンクされたメッシュオブジェクト)に保存します.
gf_mesh_im_get(mesh_im MI, 'char'[,'with mesh'])
mesh_imの string description を出力します.
既定値では,リンクされたmeshオブジェクトの説明は含まれません.
gf_mesh_im_get(mesh_im MI, 'display')
mesh_imオブジェクトの簡単な概要が表示されます.
m = gf_mesh_im_get(mesh_im MI, 'linked mesh')
mim にリンクされているmeshオブジェクトへの参照を返します.
z = gf_mesh_im_get(mesh_im MI, 'memsize')
mesh_im オブジェクトが使用するメモリ量(バイト単位)を返します.
この結果では,リンクされたメッシュオブジェクトは考慮されません.