Changeset 5475
- Timestamp:
- 08/23/10 00:26:56 (15 years ago)
- Location:
- issm/trunk/src/c/modules/MassFluxx
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/MassFluxx/MassFluxx.cpp
r5281 r5475 10 10 #include "../../EnumDefinitions/EnumDefinitions.h" 11 11 12 void MassFluxx(double* pmass_flux, Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters, const char* descriptor,bool process_units){12 void MassFluxx(double* pmass_flux, Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters,bool process_units){ 13 13 14 14 int i,j; … … 38 38 parameters->FindParam(&array,&M,&mdims_array,&ndims_array,QmuMassFluxSegmentsEnum); 39 39 40 /* figure out counter in the descriptor: */41 sscanf(descriptor,"MassFlux%i",&counter);40 /*Retrieve index of segments being used for MassFlux computation: */ 41 if(!parameters->FindParam(&counter,IndexEnum))ISSMERROR(" could not find IndexEnum"); 42 42 43 43 /*retrieve segments from array: */ … … 72 72 xfree((void**)&ndims_array); 73 73 xfree((void**)&array); 74 74 75 75 /*Assign output pointers: */ 76 76 *pmass_flux=mass_flux; -
issm/trunk/src/c/modules/MassFluxx/MassFluxx.h
r5281 r5475 10 10 11 11 /* local prototypes: */ 12 void MassFluxx(double* pmass_flux, Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters, const char* descriptor,bool process_units);12 void MassFluxx(double* pmass_flux, Elements* elements,Nodes* nodes, Vertices* vertices,Loads* loads,Materials* materials, Parameters* parameters,bool process_units); 13 13 14 14
Note:
See TracChangeset
for help on using the changeset viewer.