Skip to content

Commit

Permalink
Added reference page for output
Browse files Browse the repository at this point in the history
  • Loading branch information
kskinoue0612 committed Mar 27, 2024
1 parent b321522 commit 0efd9fe
Show file tree
Hide file tree
Showing 11 changed files with 109 additions and 8 deletions.
6 changes: 2 additions & 4 deletions source/05/03_04_02_int.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
<Item name="obst" caption="Obstacle">
<Definition valueType="integer" position="cell">
<Enumerations>
<Enumeration value="0" caption="Normal cell" />
<Enumeration value="1" caption="Obstacle" />
</Enumerations>
<Enumeration value="0" caption="Normal cell" />
<Enumeration value="1" caption="Obstacle" />
</Definition>
</Item>
Expand Down
6 changes: 2 additions & 4 deletions source/05/03_05_02_int.rst
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@
<Output name="wet" caption="Wet">
<Definition valueType="integer" position="node">
<Enumerations>
<Enumeration value="0" caption="Dry" />
<Enumeration value="1" caption="Wet" />
</Enumerations>
<Enumeration value="0" caption="Dry" />
<Enumeration value="1" caption="Wet" />
</Definition>
</Output>
Expand Down
49 changes: 49 additions & 0 deletions source/05/04/definition_output.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
Definition (計算結果の定義)
===============================================================

計算結果の定義情報を保持します。

----

.. code-block:: xml
:caption: Definition の定義例1
:name: ref_definition_output_example1
:linenos:
<Definition valueType="real" position="node" />
.. code-block:: xml
:caption: Definition の定義例2
:name: ref_definition_output_example2
:linenos:
<Definition valueType="integer" position="cell" >
<Enumeration value="0" caption="Dry" />
<Enumeration value="1" caption="Wet" />
</Definition>
例は :ref:`examples_of_output_at_grid` も参照して下さい。

属性
-----

.. csv-table:: Definition の属性
:file: definition_output_attributes.csv
:header-rows: 1

.. csv-table:: valueType の値
:file: definition_output_att_valuetype.csv
:header-rows: 1

.. csv-table:: position の値
:file: definition_output_att_position.csv
:header-rows: 1

子要素
--------

.. csv-table:: Definition の子要素
:file: definition_output_elements.csv
:header-rows: 1

7 changes: 7 additions & 0 deletions source/05/04/definition_output_att_position.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
値,意味
node,格子点
cell,セル
iface,I方向の格子セルの境界面 (エッジ)
jface,J方向の格子セルの境界面 (エッジ)
particle,パーティクル
polydata,ポリゴン・折れ線
3 changes: 3 additions & 0 deletions source/05/04/definition_output_att_valuetype.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
値,意味
integer,整数
real,実数
3 changes: 3 additions & 0 deletions source/05/04/definition_output_attributes.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
名前,値,必須,説明
valueType,下の表を参照,○,値の種類
position,下の表を参照,○,定義位置
2 changes: 2 additions & 0 deletions source/05/04/definition_output_elements.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
名前,必須,説明
Enumeration,,"値の選択肢が限られている場合に指定する。valueType が integer の場合のみ指定できる。"
32 changes: 32 additions & 0 deletions source/05/04/output.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
Output
==========

計算結果の出力値の定義情報を保持します。

----

.. code-block:: xml
:caption: Output の定義例
:name: ref_output_example
:linenos:
<Output name="depth" caption="Depth">
<Definition valueType="real" position="node" />
</Output>
定義例は :ref:`examples_of_output_at_grid` も参照して下さい。

属性
-----

.. csv-table:: Output の属性
:file: output_attributes.csv
:header-rows: 1

子要素
--------

.. csv-table:: Output の子要素
:file: output_elements.csv
:header-rows: 1
3 changes: 3 additions & 0 deletions source/05/04/output_attributes.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
名前,値,必須,説明
name,文字列,○,要素名
caption,文字列,o,名前 (オブジェクトブラウザや可視化ウィンドウに表示される)
4 changes: 4 additions & 0 deletions source/05/04/output_elements.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
名前,必須,説明
Definition,○,要素の定義
ColorMapSetting,,デフォルトのカラーマップ設定 (実数値の場合)
EnumerateColorMapSetting,,デフォルトのカラーマップ設定 (整数値の場合)
2 changes: 2 additions & 0 deletions source/05/04_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
04/condition
04/definition_cc
04/definition_ga
04/definition_output
04/dimension
04/enumeration
04/errorcode
Expand All @@ -23,6 +24,7 @@
04/hboxlayout
04/item
04/label
04/output
04/parameter
04/solverdefinition
04/tab
Expand Down

0 comments on commit 0efd9fe

Please sign in to comment.