📄 pointlist.html
字号:
<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 <ibgg.h>
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -