Changeset 17241


Ignore:
Timestamp:
02/07/14 16:16:58 (11 years ago)
Author:
jbondzio
Message:

BUG: integration for steadystate stressbalance LSM over elements with no ice

Location:
issm/trunk-jpl/src/c
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/Makefile.am

    r17240 r17241  
    289289                                        ./modules/IoModelToConstraintsx/IoModelToConstraintsx.h\
    290290                                        ./modules/IoModelToConstraintsx/IoModelToConstraintsx.cpp\
     291                                        ./modules/SetActiveNodesLSMx/SetActiveNodesLSMx.h\
     292                                        ./modules/SetActiveNodesLSMx/SetActiveNodesLSMx.cpp\
    291293                                        ./modules/InputUpdateFromConstantx/InputUpdateFromConstantx.h\
    292294                                        ./modules/InputUpdateFromConstantx/InputUpdateFromConstantx.cpp\
  • issm/trunk-jpl/src/c/analyses/StressbalanceAnalysis.cpp

    r17240 r17241  
    189189        iomodel->FetchDataToInput(elements,LoadingforceYEnum);
    190190        iomodel->FetchDataToInput(elements,DamageDEnum);
     191        iomodel->FetchDataToInput(elements,IceMaskNodeActivationEnum);
    191192
    192193        if(iomodel->meshtype==Mesh3DEnum){
     
    10231024void StressbalanceAnalysis::UpdateConstraints(FemModel* femmodel){/*{{{*/
    10241025        /*Default, do nothing*/
     1026        _printf0_("Updating active and non-active nodes in Femmodel \n");
     1027        SetActiveNodesLSMx(femmodel->elements);
    10251028        return;
    10261029}/*}}}*/
     
    11121115ElementMatrix* StressbalanceAnalysis::CreateKMatrixSSA(Element* element){/*{{{*/
    11131116
     1117        /* Check if ice in element */
     1118        if(!element->IsIceInElement()) return NULL;
     1119
    11141120        /*Intermediaries*/
    11151121        int      meshtype;
    11161122        Element* basalelement;
    1117 
    1118         /* Check if ice in element */
    1119         if(!element->IsIceInElement()) return NULL;
    11201123
    11211124        /*Get basal element*/
  • issm/trunk-jpl/src/c/classes/FemModel.cpp

    r17237 r17241  
    407407        if(VerboseModule()) _printf0_("   Updating constraints for time: " << time << "\n");
    408408
    409         // analysis->UpdateConstraints();
     409        Analysis* analysis= EnumToAnalysis(analysis_type);
     410        analysis->UpdateConstraints(this);
     411        delete analysis;
    410412       
    411413        /*Second, constraints might be time dependent: */
  • issm/trunk-jpl/src/c/modules/modules.h

    r17230 r17241  
    3232#include "./GiaDeflectionCorex/GiaDeflectionCorex.h"
    3333#include "./SetControlInputsFromVectorx/SetControlInputsFromVectorx.h"
     34#include "./SetActiveNodesLSMx/SetActiveNodesLSMx.h"
    3435#include "./Gradjx/Gradjx.h"
    3536#include "./GroundinglineMigrationx/GroundinglineMigrationx.h"
Note: See TracChangeset for help on using the changeset viewer.