Changeset 23529


Ignore:
Timestamp:
12/10/18 04:51:03 (6 years ago)
Author:
Mathieu Morlighem
Message:

BUG: Dakota should not update materials inputs since they don't exist

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/InputUpdateFromMatrixDakotax/InputUpdateFromMatrixDakotax.cpp

    r18521 r23529  
    2323                        element->InputUpdateFromMatrixDakota(matrix,nrows,ncols,name,type);
    2424                }
    25                 for(i=0;i<femmodel->loads->Size();i++){
    26                         Load* load=(Load*)femmodel->loads->GetObjectByOffset(i);
    27                         load->InputUpdateFromMatrixDakota(matrix,nrows,ncols,name,type);
    28                 }
    29                 for(i=0;i<femmodel->materials->Size();i++){
    30                         Material* material=(Material*)femmodel->materials->GetObjectByOffset(i);
    31                         material->InputUpdateFromMatrixDakota(matrix,nrows,ncols,name,type);
    32                 }
    3325        }
    3426}
Note: See TracChangeset for help on using the changeset viewer.