source:
issm/oecreview/Archive/23390-24306/ISSM-23577-23578.diff
Last change on this file was 24307, checked in by , 5 years ago | |
---|---|
File size: 977 bytes |
-
../trunk-jpl/src/c/classes/IoModel.cpp
453 453 int *types = NULL; 454 454 455 455 /*Initialize array detecting whether data[i] is an independent AD mode variable: */ 456 this->Fetch Data(&autodiff,"md.autodiff.isautodiff");457 this->Fetch Data(&iscontrol,"md.inversion.iscontrol");456 this->FetchConstants(&autodiff,"md.autodiff.isautodiff"); 457 this->FetchConstants(&iscontrol,"md.inversion.iscontrol"); 458 458 459 459 if(trace || (autodiff && !iscontrol)){ 460 460 … … 2536 2536 if(strncmp(data_name,mddot,3)!=0){ 2537 2537 _error_("Cannot fetch \""<<data_name<<"\" does not start with \""<<mddot<<"\""); 2538 2538 } 2539 if(fid==NULL){ 2540 _error_("Cannot fetch \""<<data_name<<"\": file pointer invalid "); 2541 } 2539 2542 2540 2543 /*Go find in the binary file, the position of the data we want to fetch: */ 2541 2544 if(my_rank==0){
Note:
See TracBrowser
for help on using the repository browser.