Changeset 17330 for issm/trunk-jpl/src/c/classes/Elements/Element.cpp
- Timestamp:
- 02/21/14 08:58:17 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/src/c/classes/Elements/Element.cpp
r17309 r17330 347 347 for(int iv=0;iv<numnodes;iv++){ 348 348 gauss->GaussNode(this->FiniteElement(),iv); 349 input->GetInputValue(&pvalue[iv],gauss); 350 } 351 delete gauss; 352 } 353 /*}}}*/ 354 void Element::GetInputListOnNodesVelocity(IssmDouble* pvalue,int enumtype){/*{{{*/ 355 356 _assert_(pvalue); 357 358 int numnodes = this->GetNumberOfNodesVelocity(); 359 Input *input = this->GetInput(enumtype); 360 if(!input) _error_("Input " << EnumToStringx(enumtype) << " not found in element"); 361 362 /* Start looping on the number of vertices: */ 363 Gauss* gauss=this->NewGauss(); 364 for(int iv=0;iv<numnodes;iv++){ 365 gauss->GaussNode(this->VelocityInterpolation(),iv); 349 366 input->GetInputValue(&pvalue[iv],gauss); 350 367 }
Note:
See TracChangeset
for help on using the changeset viewer.