- Timestamp:
- 09/18/13 09:17:13 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/modules/ConfigureObjectsx/ConfigureObjectsx.cpp
r15439 r16164 12 12 13 13 /*Intermediary*/ 14 int i; 15 int noerr=1; 16 int configuration_type; 17 Element *element = NULL; 18 Load *load = NULL; 19 Node *node = NULL; 20 Material *material = NULL; 14 int i; 15 int noerr = 1; 16 int configuration_type; 17 Element *element = NULL; 18 Load *load = NULL; 19 Material *material = NULL; 21 20 22 21 /*Get analysis type: */ … … 24 23 25 24 if(VerboseMProcessor()) _printf0_(" Configuring elements...\n"); 26 for 25 for(i=0;i<elements->Size();i++){ 27 26 element=dynamic_cast<Element*>(elements->GetObjectByOffset(i)); 28 27 element->Configure(elements,loads,nodes,vertices,materials,parameters); 29 28 } 30 29 if(VerboseMProcessor()) _printf0_(" Configuring loads...\n"); 31 for 30 for(i=0;i<loads->Size();i++){ 32 31 load=(Load*)loads->GetObjectByOffset(i); 33 32 if (load->InAnalysis(configuration_type)){ … … 36 35 } 37 36 if(VerboseMProcessor()) _printf0_(" Configuring materials...\n"); 38 for 37 for(i=0;i<materials->Size();i++){ 39 38 material=(Material*)materials->GetObjectByOffset(i); 40 39 material->Configure(elements);
Note:
See TracChangeset
for help on using the changeset viewer.