Changeset 3472
- Timestamp:
- 04/08/10 14:13:20 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/DataSet/DataSet.cpp
r3470 r3472 909 909 if((*object)->Enum()==NodeEnum()){ 910 910 911 dofobject= (DofObject*)(*object);911 dofobject=dynamic_cast<DofObject*>(*object); 912 912 dofobject->CreatePartition(partition); 913 913 } … … 963 963 for ( object=objects.begin() ; object < objects.end(); object++ ){ 964 964 965 dofobject= (DofObject*)(*object);965 dofobject=dynamic_cast<DofObject*>(*object); 966 966 dofobject->DistributeDofs(&dofcount); 967 967 968 968 } 969 969 … … 995 995 for ( object=objects.begin() ; object < objects.end(); object++ ){ 996 996 997 dofobject= (DofObject*)(*object);997 dofobject=dynamic_cast<DofObject*>(*object); 998 998 dofobject->OffsetDofs(dofcount); 999 999 … … 1009 1009 1010 1010 /*Ok, let this object show its true dofs, if is is a true dof: */ 1011 dofobject= (DofObject*)(*object);1011 dofobject=dynamic_cast<DofObject*>(*object); 1012 1012 dofobject->ShowTrueDofs(truedofs); 1013 1013 } … … 1018 1018 for ( object=objects.begin() ; object < objects.end(); object++ ){ 1019 1019 1020 dofobject= (DofObject*)(*object);1020 dofobject=dynamic_cast<DofObject*>(*object); 1021 1021 dofobject->UpdateCloneDofs(alltruedofs); 1022 1022 … … 1151 1151 1152 1152 /*For this object, decide whether it is a clone: */ 1153 dofobject= (DofObject*)(*object);1153 dofobject=dynamic_cast<DofObject*>(*object); 1154 1154 dofobject->SetClone(minranks); 1155 1155 }
Note:
See TracChangeset
for help on using the changeset viewer.