Ignore:
Timestamp:
11/08/13 09:15:08 (11 years ago)
Author:
Mathieu Morlighem
Message:

NEW: moved GetSolutionFromInputs from Element to analysis

File:
1 edited

Legend:

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

    r16638 r16675  
    918918}
    919919/*}}}*/
     920/*FUNCTION Penta::FindParam(int* pvalue,int paramenum){{{*/
     921void Penta::FindParam(int* pvalue,int paramenum){
     922        this->parameters->FindParam(pvalue,paramenum);
     923}
     924/*}}}*/
     925/*FUNCTION Penta::FindParam(IssmDouble* pvalue,int paramenum){{{*/
     926void Penta::FindParam(IssmDouble* pvalue,int paramenum){
     927        this->parameters->FindParam(pvalue,paramenum);
     928}
     929/*}}}*/
     930/*FUNCTION Penta::FiniteElement{{{*/
     931int Penta::FiniteElement(void){
     932        return this->element_type;
     933}
     934/*}}}*/
    920935/*FUNCTION Penta::ObjectEnum{{{*/
    921936int Penta::ObjectEnum(void){
     
    13161331}
    13171332/*}}}*/
     1333/*FUNCTION Penta::GetInput(int inputenum) {{{*/
     1334Input* Penta::GetInput(int inputenum){
     1335        return inputs->GetInput(inputenum);
     1336}
     1337/*}}}*/
    13181338/*FUNCTION Penta::GetInputListOnVertices(IssmDouble* pvalue,int enumtype) {{{*/
    13191339void Penta::GetInputListOnVertices(IssmDouble* pvalue,int enumtype){
     
    14131433}
    14141434/*}}}*/
     1435/*FUNCTION Penta::GetInputValue(bool* pvalue,int inputenum) {{{*/
     1436void Penta::GetInputValue(bool* pvalue,int inputenum){
     1437
     1438        Input* input=inputs->GetInput(inputenum);
     1439        if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");
     1440        input->GetInputValue(pvalue);
     1441
     1442}/*}}}*/
     1443/*FUNCTION Penta::GetInputValue(int* pvalue,int inputenum) {{{*/
     1444void Penta::GetInputValue(int* pvalue,int inputenum){
     1445
     1446        Input* input=inputs->GetInput(inputenum);
     1447        if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");
     1448        input->GetInputValue(pvalue);
     1449
     1450}/*}}}*/
     1451/*FUNCTION Penta::GetInputValue(IssmDouble* pvalue,int inputenum) {{{*/
     1452void Penta::GetInputValue(IssmDouble* pvalue,int inputenum){
     1453
     1454        Input* input=inputs->GetInput(inputenum);
     1455        if(!input) _error_("Input " << EnumToStringx(inputenum) << " not found in element");
     1456        input->GetInputValue(pvalue);
     1457
     1458}/*}}}*/
    14151459/*FUNCTION Penta::GetMaterialInputValue(IssmDouble* pvalue,Node* node,int enumtype) {{{*/
    14161460void Penta::GetMaterialInputValue(IssmDouble* pvalue,Node* node,int enumtype){
     
    27652809        if(found)*pvalue=value;
    27662810        return found;
     2811}
     2812/*}}}*/
     2813/*FUNCTION Penta::NewGauss{{{*/
     2814Gauss* Penta::NewGauss(void){
     2815        return new GaussPenta();
     2816}
     2817/*}}}*/
     2818/*FUNCTION Penta::NumberofNodesPressure{{{*/
     2819int Penta::NumberofNodesPressure(void){
     2820        return PentaRef::NumberofNodesPressure();
     2821}
     2822/*}}}*/
     2823/*FUNCTION Penta::NumberofNodesVelocity{{{*/
     2824int Penta::NumberofNodesVelocity(void){
     2825        return PentaRef::NumberofNodesVelocity();
    27672826}
    27682827/*}}}*/
     
    34573516        /*Clean up and return*/
    34583517        delete gauss;
     3518}
     3519/*}}}*/
     3520/*FUNCTION Penta::VelocityInterpolation{{{*/
     3521int Penta::VelocityInterpolation(void){
     3522        return PentaRef::VelocityInterpolation();
     3523}
     3524/*}}}*/
     3525/*FUNCTION Penta::PressureInterpolation{{{*/
     3526int Penta::PressureInterpolation(void){
     3527        return PentaRef::PressureInterpolation();
    34593528}
    34603529/*}}}*/
Note: See TracChangeset for help on using the changeset viewer.