Changeset 4610
- Timestamp:
- 07/14/10 16:55:01 (15 years ago)
- Location:
- issm/trunk/src/c/objects/Elements
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk/src/c/objects/Elements/Penta.cpp
r4592 r4610 1858 1858 /*default vx,vy and vz: either observation or 0 */ 1859 1859 if(!iomodel->vx){ 1860 if ( iomodel->vx_obs) for(i=0;i<6;i++)nodeinputs[i]=iomodel->vx_obs[penta_vertex_ids[i]-1]/iomodel->yts;1860 if (false && iomodel->vx_obs) for(i=0;i<6;i++)nodeinputs[i]=iomodel->vx_obs[penta_vertex_ids[i]-1]/iomodel->yts; // false TO BE DELETED (for NR CM) 1861 1861 else for(i=0;i<6;i++)nodeinputs[i]=0; 1862 1862 this->inputs->AddInput(new PentaVertexInput(VxEnum,nodeinputs)); … … 1865 1865 } 1866 1866 if(!iomodel->vy){ 1867 if ( iomodel->vy_obs) for(i=0;i<6;i++)nodeinputs[i]=iomodel->vy_obs[penta_vertex_ids[i]-1]/iomodel->yts;1867 if (false && iomodel->vy_obs) for(i=0;i<6;i++)nodeinputs[i]=iomodel->vy_obs[penta_vertex_ids[i]-1]/iomodel->yts; // false TO BE DELETED (for NR CM) 1868 1868 else for(i=0;i<6;i++)nodeinputs[i]=0; 1869 1869 this->inputs->AddInput(new PentaVertexInput(VyEnum,nodeinputs)); -
issm/trunk/src/c/objects/Elements/Tria.cpp
r4575 r4610 2367 2367 /*default vx,vy and vz: either observation or 0 */ 2368 2368 if(!iomodel->vx){ 2369 if ( iomodel->vx_obs) for(i=0;i<3;i++)nodeinputs[i]=iomodel->vx_obs[tria_vertex_ids[i]-1]/iomodel->yts;2369 if (false && iomodel->vx_obs) for(i=0;i<3;i++)nodeinputs[i]=iomodel->vx_obs[tria_vertex_ids[i]-1]/iomodel->yts; //false TO BE DELETED (for NR CM) 2370 2370 else for(i=0;i<3;i++)nodeinputs[i]=0; 2371 2371 this->inputs->AddInput(new TriaVertexInput(VxEnum,nodeinputs)); … … 2374 2374 } 2375 2375 if(!iomodel->vy){ 2376 if ( iomodel->vy_obs) for(i=0;i<3;i++)nodeinputs[i]=iomodel->vy_obs[tria_vertex_ids[i]-1]/iomodel->yts;2376 if (false && iomodel->vy_obs) for(i=0;i<3;i++)nodeinputs[i]=iomodel->vy_obs[tria_vertex_ids[i]-1]/iomodel->yts; //false TO BE DELETED (for NR CM) 2377 2377 else for(i=0;i<3;i++)nodeinputs[i]=0; 2378 2378 this->inputs->AddInput(new TriaVertexInput(VyEnum,nodeinputs));
Note:
See TracChangeset
for help on using the changeset viewer.