Ignore:
Timestamp:
02/21/14 08:58:17 (11 years ago)
Author:
seroussi
Message:

BUG: fixed set FS basal boundary conditions for flow line models

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Elements/Element.cpp

    r17309 r17330  
    347347        for(int iv=0;iv<numnodes;iv++){
    348348                gauss->GaussNode(this->FiniteElement(),iv);
     349                input->GetInputValue(&pvalue[iv],gauss);
     350        }
     351        delete gauss;
     352}
     353/*}}}*/
     354void 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);
    349366                input->GetInputValue(&pvalue[iv],gauss);
    350367        }
Note: See TracChangeset for help on using the changeset viewer.