wzsegmenttest.html

来自「有限元学习研究用源代码(老外的),供科研人员参考」· HTML 代码 · 共 35 行

HTML
35
字号
<title>wzsegment - test example</title>
<h1>Test Example for Segment Description</h1>
<PRE>
#include "<A HREF="wzsegment.hxx">wzsegment.hxx</A>"
#include &lt;fstream.hxx&gt;
</PRE>

<p>It is <b>required</b> to declare one instance of the class
<b>wzSegmentDescription</b>. We recommend to use this class in the
following way:

 <ol>
 <li> define a derived class of wzSegmentDescription (wzSegmentTest)
 <li> include all materials, boundary conditions and material functions
into this class.
 <li> create one instance (test_segments)
 </ol>

 <p>A pattern for this scheme you can find in 
 <A HREF="segtest.html">here</A>;

 <p>It can be also useful to use this scheme only for materials.
Different regions of the same material may be defined like it is done
here:

<PRE>

wzSegmentTest test_segments;

void test()
{
  test_segments.print();
}
</PRE>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?