- Timestamp:
- 01/27/12 08:19:58 (13 years ago)
- Location:
- issm/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk
- Property svn:ignore
-
old new 1 autom4te.cache 2 aclocal.m4 1 3 bin 4 config.log 5 config.h 6 config.h.in 7 config.status 2 8 configure 9 doxygen 10 ISSM.paf 11 ISSM.ppf 12 ISSM.ppf_cache 13 libtool 14 list 3 15 Makefile 4 16 Makefile.in 5 ISSM.paf6 list7 ISSM.ppf_cache8 config.log9 config.h10 .ignore.txt11 config.status12 17 stamp-h1 13 18 svn-commit* 14 ISSM.ppf15 config.h.in16 autom4te.cache17 aclocal.m418 doxygen
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
issm/trunk/src/c/objects/ExternalResults/BoolExternalResult.cpp
r9883 r11237 150 150 int type; 151 151 int size; 152 char *name = NULL;153 152 double boolean; 154 153 extern int my_rank; 154 char* name = NULL; 155 155 156 156 /*return if now on cpu 0: */ … … 158 158 159 159 /*First write enum: */ 160 name=EnumToStringx(this->enum_type);160 EnumToStringx(&name,this->enum_type); 161 161 length=(strlen(name)+1)*sizeof(char); 162 162 fwrite(&length,sizeof(int),1,fid); 163 163 fwrite(name,length,1,fid); 164 xfree((void**)&name); 164 165 165 166 /*Now write time and step: */ … … 180 181 /*}}}1*/ 181 182 /*FUNCTION BoolExternalResult::GetResultName{{{1*/ 182 char* BoolExternalResult::GetResultName(void){183 return EnumToStringx(this->enum_type);183 void BoolExternalResult::GetResultName(char** pname){ 184 EnumToStringx(pname,this->enum_type); 184 185 } 185 186 /*}}}*/ … … 189 190 190 191 char* name=NULL; 191 name=this->GetResultName();192 this->GetResultName(&name); 192 193 193 194 mxSetField( dataref, this->step-1, name,mxCreateDoubleScalar((double)value));
Note:
See TracChangeset
for help on using the changeset viewer.