Changeset 8808


Ignore:
Timestamp:
07/06/11 08:13:37 (14 years ago)
Author:
Mathieu Morlighem
Message:

CreateNodalConstraints require the configuration and not the analysis

Location:
issm/trunk/src/c
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified issm/trunk/src/c/modules/Reduceloadx/Reduceloadx.cpp

    r7191 r8808  
    2727        if(pf && global_m*global_n){
    2828
     29                /*Some checks in debugging mode*/
     30                _assert_(y_s);
     31
    2932                /*pf = pf - Kfs * y_s;*/
    3033                MatGetLocalSize(Kfs,&Kfsm,&Kfsn);
  • TabularUnified issm/trunk/src/c/objects/Node.cpp

    r8800 r8808  
    119119                if (iomodel->dim==3){
    120120                        /*On a 3d mesh, we may have collapsed elements, hence dead nodes. Freeze them out: */
    121                         if (!iomodel->nodeonbed) _error_("iomodel->nodeonbed is NULL");
     121                        _assert_(iomodel->nodeonbed);
    122122                        if (!iomodel->nodeonbed[io_index]){
    123123                                for(k=1;k<=gsize;k++){
  • TabularUnified issm/trunk/src/c/solvers/solver_linear.cpp

    r8803 r8808  
    1717        Vec  df  = NULL;
    1818        Vec  ys  = NULL;
    19         int  analysis_type;
     19        int  configuration_type;
    2020
    2121        /*Recover parameters: */
    22         femmodel->parameters->FindParam(&analysis_type,AnalysisTypeEnum);
     22        femmodel->parameters->FindParam(&configuration_type,ConfigurationTypeEnum);
    2323
    2424        SystemMatricesx(&Kff, &Kfs, &pf, &df, NULL,femmodel->elements,femmodel->nodes,femmodel->vertices,femmodel->loads,femmodel->materials,femmodel->parameters);
    25         CreateNodalConstraintsx(&ys,femmodel->nodes,analysis_type);
     25        CreateNodalConstraintsx(&ys,femmodel->nodes,configuration_type);
    2626        Reduceloadx(pf, Kfs, ys); MatFree(&Kfs);
    2727        Solverx(&uf, Kff, pf, NULL, df, femmodel->parameters); MatFree(&Kff); VecFree(&pf); VecFree(&df);
Note: See TracChangeset for help on using the changeset viewer.