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/Inputs/TransientInput.cpp

    r16486 r16675  
    149149
    150150/*Object functions*/
    151 /*FUNCTION TransientInput::GetInputValue(IssmDouble* pvalue,GaussTria* gauss){{{*/
    152 void TransientInput::GetInputValue(IssmDouble* pvalue,GaussTria* gauss){
     151/*FUNCTION TransientInput::GetInputValue(IssmDouble* pvalue,Gauss* gauss){{{*/
     152void TransientInput::GetInputValue(IssmDouble* pvalue,Gauss* gauss){
    153153        IssmDouble time;
    154154
     
    165165}
    166166/*}}}*/
    167 /*FUNCTION TransientInput::GetInputValue(IssmDouble* pvalue,GaussPenta* gauss){{{*/
    168 void TransientInput::GetInputValue(IssmDouble* pvalue,GaussPenta* gauss){
    169         IssmDouble time;
    170 
    171         /*First, recover current time from parameters: */
    172         this->parameters->FindParam(&time,TimeEnum);
    173 
    174         /*Retrieve interpolated values for this time step: */
    175         Input* input=GetTimeInput(time);
    176 
    177         /*Call input function*/
    178         input->GetInputValue(pvalue,gauss);
    179 
    180         delete input;
    181 }
    182 /*}}}*/
    183 /*FUNCTION TransientInput::GetInputValue(IssmDouble* pvalue,GaussTria* gauss,IssmDouble time){{{*/
    184 void TransientInput::GetInputValue(IssmDouble* pvalue,GaussTria* gauss,IssmDouble time){
    185 
    186         /*Retrieve interpolated values for this time step: */
    187         Input* input=GetTimeInput(time);
    188 
    189         /*Call input function*/
    190         input->GetInputValue(pvalue,gauss);
    191 
    192         delete input;
    193 }
    194 /*}}}*/
    195 /*FUNCTION TransientInput::GetInputValue(IssmDouble* pvalue,GaussPenta* gauss,IssmDouble time){{{*/
    196 void TransientInput::GetInputValue(IssmDouble* pvalue,GaussPenta* gauss,IssmDouble time){
     167/*FUNCTION TransientInput::GetInputValue(IssmDouble* pvalue,Gauss* gauss,IssmDouble time){{{*/
     168void TransientInput::GetInputValue(IssmDouble* pvalue,Gauss* gauss,IssmDouble time){
    197169
    198170        /*Retrieve interpolated values for this time step: */
Note: See TracChangeset for help on using the changeset viewer.