Changeset 13412 for issm/trunk-jpl/src/c/modules/MassFluxx/MassFluxx.cpp
- Timestamp:
- 09/20/12 16:59:40 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/MassFluxx/MassFluxx.cpp
r13073 r13412 12 12 void MassFluxx(IssmDouble* pmass_flux, Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters,bool process_units){ 13 13 14 int i,j; 15 extern int num_procs; 16 extern int my_rank; 17 18 Element* element=NULL; 19 int element_id; 14 int i,j; 15 Element *element = NULL; 16 int element_id; 20 17 21 18 /*output: */ 22 19 IssmDouble mass_flux=0; 23 20 IssmDouble all_mass_flux=0; 24 25 21 int counter; 26 22 27 23 /*all segments: */ 28 IssmDouble ** array=NULL;29 int M;30 int * mdims_array=NULL;31 int * ndims_array=NULL;24 IssmDouble **array = NULL; 25 int M; 26 int *mdims_array = NULL; 27 int *ndims_array = NULL; 32 28 33 29 /*our segments of interest: */ 34 IssmDouble * segments=NULL;35 int num_segments;30 IssmDouble *segments = NULL; 31 int num_segments; 36 32 37 33 /*First, figure out which segment to compute our mass flux on. Start with retrieving qmu_mass_flux_segments: */
Note:
See TracChangeset
for help on using the changeset viewer.