Changeset 8387
- Timestamp:
- 05/21/11 12:13:15 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/modules/GetVectorFromInputsx/GetVectorFromInputsx.cpp
r8224 r8387 17 17 if(type==VertexEnum){ 18 18 19 /*Allocate vector*/ 19 20 vector=NewVec(vertices->NumberOfVertices()); 21 22 /*Look up in elements*/ 20 23 for(i=0;i<elements->Size();i++){ 21 24 Element* element=(Element*)elements->GetObjectByOffset(i); 22 25 element->GetVectorFromInputs(vector,name); 23 26 } 27 28 /*Look up in materials*/ 29 for(i=0;i<materials->Size();i++){ 30 Material* material=(Material*)materials->GetObjectByOffset(i); 31 material->GetVectorFromInputs(vector,name); 32 } 24 33 } 25 else _error_("%s%s%s"," vector type: ",EnumToStringx(type)," not supported yet!"); 34 else{ 35 _error_("%s%s%s"," vector type: ",EnumToStringx(type)," not supported yet!"); 36 } 26 37 27 38 VecAssemblyBegin(vector);
Note:
See TracChangeset
for help on using the changeset viewer.