Changeset 3854
- Timestamp:
- 05/19/10 16:09:28 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r3852 r3854 1089 1089 1090 1090 /*Get strain rate from velocity: */ 1091 inputs->GetStrainRate3d (&epsilon[0],&xyz_list[0][0],gauss_coord,VxEnum,VyEnum,VzEnum,PattynFormulationEnum);1092 inputs->GetStrainRate3d (&oldepsilon[0],&xyz_list[0][0],gauss_coord,VxOldEnum,VyOldEnum,VzObsEnum,PattynFormulationEnum);1091 inputs->GetStrainRate3dPattyn(&epsilon[0],&xyz_list[0][0],gauss_coord,VxEnum,VyEnum); 1092 inputs->GetStrainRate3dPattyn(&oldepsilon[0],&xyz_list[0][0],gauss_coord,VxOldEnum,VyOldEnum); 1093 1093 1094 1094 /*Get viscosity: */ … … 4370 4370 /*FUNCTION Penta::UpdateInputsFromVector(double* vector, int name, int type);{{{1*/ 4371 4371 void Penta::UpdateInputsFromVector(double* vector, int name, int type){ 4372 ISSMERROR(" not supported yet!"); 4372 4373 switch(type){ 4374 4375 case VertexEnum: 4376 4377 /*New PentaVertexInpu*/ 4378 double values[6]; 4379 4380 /*Get values on the 6 vertices*/ 4381 for (int i=0;i<6;i++){ 4382 values[i]=vector[this->nodes[i]->GetVertexDof()]; 4383 } 4384 4385 /*update input*/ 4386 this->inputs->AddInput(new PentaVertexInput(name,values)); 4387 return; 4388 4389 default: 4390 4391 ISSMERROR("type %i (%s) not implemented yet",type,EnumAsString(type)); 4392 } 4373 4393 } 4374 4394 /*}}}*/
Note:
See TracChangeset
for help on using the changeset viewer.