Changeset 9020
- Timestamp:
- 07/16/11 15:35:24 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/DofIndexing.cpp
r8224 r9020 131 131 for(i=0;i<this->gsize;i++) if(f_set[i])size++; 132 132 this->fsize=size; 133 xfree((void**)&this->fdoflist); 133 134 if(this->fsize)this->fdoflist=(int*)xmalloc(size*sizeof(int)); 134 135 else this->fdoflist=NULL; … … 138 139 for(i=0;i<this->gsize;i++) if(s_set[i])size++; 139 140 this->ssize=size; 141 xfree((void**)&this->sdoflist); 140 142 if(this->ssize)this->sdoflist=(int*)xmalloc(size*sizeof(int)); 141 143 else this->sdoflist=NULL; 142 144 } 143 145 else _error_("%s%s%s"," set of enum type ",EnumToStringx(setenum)," not supported yet!"); 144 145 146 146 } 147 147 /*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.