| | |
| | | retval=vtx_remove_neighbour(vlist->vtx[0],vlist->vtx[1]); |
| | | vtx_add_neighbour(vlist->vtx[0],vlist->vtx[1]); |
| | | |
| | | vlist->vtx[0]->data->x=1.0; |
| | | vlist->vtx[0]->data->x=1.1; |
| | | vlist->vtx[0]->x=1.0; |
| | | vlist->vtx[0]->x=1.1; |
| | | vlist1=vertex_list_copy(vlist); |
| | | bond_add(blist, vlist->vtx[1],vlist->vtx[0]); |
| | | triangle_add(tlist,vlist->vtx[1],vlist->vtx[2],vlist->vtx[3]); |
| | |
| | | printf("Cell idx=1 has vertices=%u\n",clist->cell[0]->nvertex); |
| | | cell_add_vertex(clist->cell[0], vlist->vtx[0]); |
| | | printf("Cell idx=1 has vertices=%u\n",clist->cell[0]->nvertex); |
| | | printf("Cell idx=1 has vertex[0] has x coordinate=%e\n",clist->cell[0]->vertex[0]->data->x); |
| | | printf("Cell idx=1 has vertex[0] has x coordinate=%e\n",clist->cell[0]->vertex[0]->x); |
| | | cell_list_cell_occupation_clear(clist); |
| | | printf("Cell idx=1 has vertices=%u\n",clist->cell[0]->nvertex); |
| | | cell_add_vertex(clist->cell[0], vlist->vtx[0]); |