
Appendix E 387
DBPoint(const DBPoint *x)
{
id = x->id; ux = x->ux; uy = x->uy; next =
x->next ;
}
~DBPoint(){}
};
Link List of All Field Nodes Located
on Dirichlet Boundary
typedef struct DBNodeList
{
DBPoint *head;
DBPoint *tail;
int itoalDBnodes, itoalDBnodesx, itoalDBnodesy;
int totalDBCFaces;//total faces which are on DBC
int xl, xr, yb, yt;//xl:-DB nodes along x = 0, xr:-DB
nodes along x = L, yb:-DB
nodes along y = 0, yt:-DB nodes along y = L
BOOL x00, x01, y10, y11;//flags to indicate, which
boundary is in DBC.x00:-
x = 0, x01:-x = L, x10:-y = 0, x11:-y = L
double value00, value01, value10, value11;//DBC
values along ...