Changeset 23066 for issm/trunk-jpl/src/c/classes/Cfsurfacesquare.cpp
- Timestamp:
- 08/07/18 10:22:46 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Cfsurfacesquare.cpp
r22612 r23066 23 23 #include "../classes/gauss/Gauss.h" 24 24 /*}}}*/ 25 25 26 26 /*Cfsurfacesquare constructors, destructors :*/ 27 27 Cfsurfacesquare::Cfsurfacesquare(){/*{{{*/ … … 43 43 44 44 this->definitionenum=in_definitionenum; 45 45 46 46 this->name = xNew<char>(strlen(in_name)+1); 47 47 xMemCpy<char>(this->name,in_name,strlen(in_name)+1); … … 52 52 this->datatime=in_datatime; 53 53 this->timepassedflag=in_timepassedflag; 54 54 55 55 this->misfit=0; 56 56 this->lock=0; … … 111 111 /*diverse: */ 112 112 IssmDouble time; 113 113 114 114 /*recover time parameters: */ 115 115 femmodel->parameters->FindParam(&time,TimeEnum); … … 130 130 ISSM_MPI_Bcast(&J_sum,1,ISSM_MPI_DOUBLE,0,IssmComm::GetComm()); 131 131 J=J_sum; 132 132 133 133 timepassedflag = true; 134 134 return J; … … 172 172 /*Get input if it already exists*/ 173 173 Input* tempinput = topelement->GetInput(definitionenum); 174 174 175 175 /*Cast it to a Datasetinput*/ 176 176 if(tempinput->ObjectEnum()!=DatasetInputEnum) _error_("don't know what to do"); … … 214 214 return Jelem; 215 215 }/*}}}*/ 216
Note:
See TracChangeset
for help on using the changeset viewer.