cogperiodictest.html

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

HTML
31
字号
<TITLE>COG 1.0 - CogeometryPeriodic</TITLE>
<H2>class <A NAME="Periodic">CogeometryPeriodic</A></H2>

<PRE>
#include "<A HREF="cogmap.hxx">cogmap.hxx</A>"
</PRE>

 <P>The class <B>CogeometryPeriodic</B> defines a continuation outside
a given box in x-direction.

 <P>The continuation is mirrored, leading to a periodical global
picture with a period of the double size of the box.

<PRE>
cogeometry	test_cogeometry()
{
  cogeometry original = test_cogeometry_1();
</PRE>

 <P>Now, the creation of a periodic continuation is simple:

<PRE>
  CogeometryPeriodic *periodic = new CogeometryPeriodic(original);
  periodic-&gt;setSize(0.3,0.5);
  return periodic;
}
#ifdef test_cogeometry
this code can be used only in cogtest.cxx !!!!!  see test.html#parameters for more;
#endif
</PRE>

⌨️ 快捷键说明

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