Changeset 4445


Ignore:
Timestamp:
07/07/10 16:17:29 (15 years ago)
Author:
seroussi
Message:

some fixing in ResetBoundaryCOndition

Location:
issm/trunk/src/c/solutions
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/solutions/ResetBoundaryConditions.cpp

    r4356 r4445  
    77#include "../EnumDefinitions/EnumDefinitions.h"
    88
    9 void ResetBoundaryConditions(FemModel* femmodel, int analysis_type, int sub_analysis_type){
     9void ResetBoundaryConditions(FemModel* femmodel, int analysis_type){
    1010       
    1111        int verbose=0;
     
    1616        if(verbose)_printf_("%s\n"," updating boundary conditions...");
    1717                       
     18        /*set current analysis: */
     19        femmodel->SetCurrentConfiguration(analysis_type);
     20
    1821        GetSolutionFromInputsx( &ug, femmodel->elements,femmodel->nodes, femmodel->vertices,femmodel->loads, femmodel->materials,  femmodel->parameters);
    1922
    20         /*set current analysis: */
    21         femmodel->SetCurrentConfiguration(analysis_type);
    22        
    2323        /*For this analysis_type, free existing boundary condition vectors: */
    2424        analysis_counter=femmodel->analysis_counter;
  • issm/trunk/src/c/solutions/solutions.h

    r4397 r4445  
    4646void stokescontrolinit(FemModel* femmodel);
    4747void controlrestart(FemModel* femmodel,double* J);
    48 void ResetBoundaryConditions(FemModel* femmodel, int analysis_type, int sub_analysis_type);
     48void ResetBoundaryConditions(FemModel* femmodel, int analysis_type);
    4949
    5050//solution configuration
Note: See TracChangeset for help on using the changeset viewer.