Changeset 580
- Timestamp:
- 05/21/09 15:04:10 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/parallel/OutputThermal.cpp
r567 r580 21 21 22 22 /*intermediary: */ 23 FemModel* 23 FemModel* fem=NULL; 24 24 NodeSets* nodesets=NULL; 25 25 Vec partition=NULL; … … 27 27 28 28 /* standard output: */ 29 Vec partition_shifted=NULL;29 Vec partition_shifted=NULL; 30 30 double* serial_partition=NULL; 31 31 … … 35 35 double ndt,dt; 36 36 int nsteps; 37 int nstepsplusone; 37 38 int sub_analysis_type; 38 39 … … 65 66 nsteps=(int)(ndt/dt); 66 67 } 68 nstepsplusone=nsteps+1; 67 69 68 70 /*allocate t_g and m_g arrays: */ … … 91 93 92 94 /*Write time steps: */ 93 WriteDataToDisk(&time,&nsteps ,&one,"Mat",fid);95 WriteDataToDisk(&time,&nstepsplusone,&one,"Mat",fid); 94 96 95 97 /*Write solutions to disk: */
Note:
See TracChangeset
for help on using the changeset viewer.