/[escript]/trunk/dudley/src/IndexList.cpp
ViewVC logotype

Diff of /trunk/dudley/src/IndexList.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 3161 by jfenwick, Tue Sep 7 04:17:03 2010 UTC revision 3216 by jfenwick, Tue Sep 28 05:13:17 2010 UTC
# Line 33  void Dudley_IndexList_insertElements(Dud Line 33  void Dudley_IndexList_insertElements(Dud
33  {  {
34    /* index_list is an array of linked lists. Each entry is a row (DOF) and contains the indices to the non-zero columns */    /* index_list is an array of linked lists. Each entry is a row (DOF) and contains the indices to the non-zero columns */
35    index_t color;    index_t color;
36    Dudley_ReferenceElement*refElement;  //  Dudley_ReferenceElement*refElement;
37    dim_t e, kr, kc, NN_row, NN_col, icol, irow, NN;    dim_t e, kr, kc, NN_row, NN_col, icol, irow, NN;
38    if (elements!=NULL)    if (elements!=NULL)
39    {    {
40      NN=elements->numNodes;      NN=elements->numNodes;
41      refElement= Dudley_ReferenceElementSet_borrowReferenceElement(elements->referenceElementSet, FALSE);  //    refElement= Dudley_ReferenceElementSet_borrowReferenceElement(elements->referenceElementSet, FALSE);
42      NN_col=(refElement->BasisFunctions->Type->numShapes);      NN_col=(elements->numShapes);
43      NN_col=(refElement->BasisFunctions->Type->numShapes);      NN_row=(elements->numShapes) ;
     NN_row=(refElement->BasisFunctions->Type->numShapes) ;  
44    
45      for (color=elements->minColor;color<=elements->maxColor;color++)      for (color=elements->minColor;color<=elements->maxColor;color++)
46      {      {

Legend:
Removed from v.3161  
changed lines
  Added in v.3216

  ViewVC Help
Powered by ViewVC 1.1.26