Changeset 13622 for issm/trunk-jpl/src/c/modules/MaxAbsVyx/MaxAbsVyx.cpp
- Timestamp:
- 10/11/12 11:23:47 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/MaxAbsVyx/MaxAbsVyx.cpp
r13590 r13622 10 10 11 11 void MaxAbsVyx( IssmDouble* pmaxabsvy, Elements* elements,Nodes* nodes, Vertices* vertices, Loads* loads, Materials* materials,Parameters* parameters,bool process_units){ 12 12 13 13 int i; 14 14 IssmDouble maxabsvy; … … 16 16 IssmDouble element_maxabsvy; 17 17 18 19 18 /*Go through elements, and request velocity: */ 20 19 for(i=0;i<elements->Size();i++){ 21 20 Element* element=(Element*)elements->GetObjectByOffset(i); 22 21 element->MaxAbsVy(&element_maxabsvy,process_units); //go pick up the maximum velocity in the inputs 23 22 24 23 if(i==0)maxabsvy=element_maxabsvy; //initialize maxabsvy 25 24 else{
Note:
See TracChangeset
for help on using the changeset viewer.