pointlist.html

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

HTML
36
字号
<TITLE>IBG: Adding External Points</TITLE>

<H1>Adding External Points</H1>

 <P>Some users have requested the possibility to include some fixed
points into the grid.

 <P>I was not very excited about this - in anisotropical grid
generation the arbitrary inclusion of points usually leads to very bad
Delaunay grids. But for isotropical grid generation, this operation is
useful.

 <P>The reference example how to do this is <A
HREF="../examples/mainplist.c"> mainplist.c</A>

<LISTING>
#include &lt;ibgg.h&gt;
ibgPoint p;

ibgpX(p)[0] = 0.3;         ibgpX(p)[1] = 0.7;
ibgpType(p) = ibgSRegion;  ibgpSegment(p) = 2;

ibgAppendPoint(&ibggExternalPoints, &p);

grid=ibGridGenerate(...
</LISTING>

 <P>You have to define all point data correctly by yourself.
Especially an incorrect type or segment definition will lead to
immediate failure during grid generation, because the segment of the
cells containing these additional points cannot be computed correctly.

 <P>The pointlist will be transferred to the grid generator as an
external parameter of type ibgPoints named ibggExternalPoints, defined
in ibgg.h.

⌨️ 快捷键说明

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