Changeset 4172
- Timestamp:
- 06/23/10 14:20:52 (15 years ago)
- Location:
- issm/trunk/src/c
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/DataSet/DataSet.cpp
r4170 r4172 489 489 int sid; 490 490 vector<Object*>::iterator object; 491 DofObject* dofobject=NULL; 491 492 492 493 for ( object=objects.begin() ; object < objects.end(); object++ ){ … … 496 497 497 498 /*Which id does it have: */ 498 sid=(*object)->Sid(); 499 dofobject=dynamic_cast<DofObject*>(*object); 500 sid=dofobject->Sid(); 499 501 500 502 /*Plug rank into ranks, according to id: */ -
issm/trunk/src/c/objects/DofObject.h
r3681 r4172 18 18 virtual void UpdateCloneDofs(int* allborderdofs)=0; 19 19 virtual void SetClone(int* minranks)=0; 20 virtual int Sid(void)=0; 20 21 virtual void CreatePartition(Vec partition)=0; 21 22 -
issm/trunk/src/c/objects/Elements/Tria.cpp
r4142 r4172 543 543 544 544 /*Updates: */ 545 /*FUNCTION Tria::UpdateGeometry{{{1*/ 546 void Tria::UpdateGeometry(void){ 547 548 /*Intermediaries*/ 549 double rho_ice,rho_water; 550 551 /*recover material parameters: */ 552 rho_ice=matpar->GetRhoIce(); 553 rho_water=matpar->GetRhoWater(); 554 555 ISSMERROR("not supported yet!"); 556 } 557 /*}}}*/ 545 558 /*FUNCTION Tria::UpdateFromDakota {{{1*/ 546 559 void Tria::UpdateFromDakota(void* vinputs){ -
issm/trunk/src/c/objects/Elements/Tria.h
r4164 r4172 40 40 Tria(int tria_id,int i, IoModel* iomodel,int nummodels); 41 41 void Update(int index,IoModel* iomodel,int analysis_counter,int analysis_type); 42 void UpdateGeometry(void) {ISSMERROR("not implemented yet, see UpdateGeometryx of issm2.2");};42 void UpdateGeometry(void); 43 43 ~Tria(); 44 44 /*}}}*/ -
issm/trunk/src/c/objects/Params/IntParam.h
r4160 r4172 19 19 #include <mex.h> 20 20 #endif 21 22 21 23 22 #include "./Param.h"
Note:
See TracChangeset
for help on using the changeset viewer.