Changeset 18653
- Timestamp:
- 10/16/14 14:37:19 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/SystemMatricesx/SystemMatricesx.cpp
r18521 r18653 31 31 Analysis* analysis = EnumToAnalysis(analysisenum); 32 32 33 /*Check if there are penalties*/ 34 bool ispenalty = femmodel->loads->IsPenalty(configuration_type); 35 33 36 /*First, we might need to do a dry run to get kmax if penalties are employed*/ 34 if( femmodel->loads->IsPenalty(configuration_type)){37 if(ispenalty){ 35 38 36 39 /*Allocate Kff_temp*/ … … 93 96 94 97 /*Now deal with penalties (only in loads)*/ 95 if( femmodel->loads->IsPenalty(configuration_type)){98 if(ispenalty){ 96 99 for (i=0;i<femmodel->loads->Size();i++){ 97 100 load=xDynamicCast<Load*>(femmodel->loads->GetObjectByOffset(i));
Note:
See TracChangeset
for help on using the changeset viewer.