Changeset 4384
- Timestamp:
- 07/01/10 10:10:26 (15 years ago)
- File:
-
- 1 edited
-
issm/trunk/src/c/objects/Elements/Penta.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r4382 r4384 2073 2073 pressure[i]=rho_ice*g*(surface[i]-xyz_list[i][2]); 2074 2074 } 2075 /*Now, we have to move the previous V x and Vy inputsto old2075 /*Now, we have to move the previous Vz inputs to old 2076 2076 * status, otherwise, we'll wipe them off: */ 2077 this->inputs->ChangeEnum(VxEnum,VxOldEnum); 2078 this->inputs->ChangeEnum(VyEnum,VyOldEnum); 2079 this->inputs->ChangeEnum(PressureEnum,PressureOldEnum); 2080 2081 /*Add vx and vy as inputs to the tria element: */ 2082 this->inputs->AddInput(new PentaVertexInput(VxEnum,vx)); 2083 this->inputs->AddInput(new PentaVertexInput(VyEnum,vy)); 2084 this->inputs->AddInput(new TriaVertexInput(VelEnum,vel)); 2085 this->inputs->AddInput(new PentaVertexInput(PressureEnum,pressure)); 2077 this->inputs->ChangeEnum(VzEnum,VzOldEnum); 2078 2079 /*Add vz and vel as inputs to the penta element: */ 2080 this->inputs->AddInput(new PentaVertexInput(VzEnum,vz)); 2081 this->inputs->AddInput(new PentaVertexInput(VelEnum,vel)); 2086 2082 } 2087 2083
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/trac/issm/chrome/common/trac_banner.png)