Changeset 16696


Ignore:
Timestamp:
11/08/13 21:06:09 (11 years ago)
Author:
seroussi
Message:

CHG: preparing analysis orientation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/modules/InputUpdateFromSolutionx/InputUpdateFromSolutionx.cpp

    r15849 r16696  
    2121void InputUpdateFromSolutionx(FemModel* femmodel,IssmDouble* solution){
    2222
     23        /*retrive parameters: */
     24        int analysisenum;
     25        femmodel->parameters->FindParam(&analysisenum,AnalysisTypeEnum);
     26
     27        Analysis* analysis = EnumToAnalysis(analysisenum);
    2328        for(int i=0;i<femmodel->elements->Size();i++){
    2429                Element* element=dynamic_cast<Element*>(femmodel->elements->GetObjectByOffset(i));
     30                //analysis->InputUpdateFromSolution(solution,element);
    2531                element->InputUpdateFromSolution(solution);
    2632        }
     33        delete analysis;
    2734}
Note: See TracChangeset for help on using the changeset viewer.