Changeset 23992


Ignore:
Timestamp:
06/06/19 15:51:44 (6 years ago)
Author:
Mathieu Morlighem
Message:

NEW: added Kill ice berg module (not debugged yet)

Location:
issm/trunk-jpl/src/c
Files:
3 added
5 edited

Legend:

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

    r23946 r23992  
    483483issm_sources += ./analyses/LevelsetAnalysis.cpp
    484484issm_sources += ./modules/Calvingx/Calvingx.cpp
     485issm_sources += ./modules/KillIcebergsx/KillIcebergsx.cpp
    485486endif
    486487if EXTRAPOLATION
  • issm/trunk-jpl/src/c/classes/Elements/Element.cpp

    r23990 r23992  
    14111411
    14121412/*      /\*Fill in values*\/ */
    1413 /*      this->GetVertexPidList(vertexpidlist); */
     1413/*      this->GetVerticesPidList(vertexpidlist); */
    14141414/*      this->GetInputListOnVertices(values,input_enum); */
    14151415/*      vector->SetValues(numvertices,vertexpidlist,values,INS_VAL); */
     
    14411441                        values = xNew<IssmDouble>(numvertices);
    14421442                        /*Fill in values*/
    1443                         this->GetVertexPidList(doflist);
     1443                        this->GetVerticesPidList(doflist);
    14441444                        this->GetInputListOnVertices(values,input_enum);
    14451445                        vector->SetValues(numvertices,doflist,values,INS_VAL);
     
    14921492                values = xNew<IssmDouble>(numvertices);
    14931493                /*Fill in values*/
    1494                 this->GetVertexPidList(doflist);
     1494                this->GetVerticesPidList(doflist);
    14951495                this->GetInputListOnVerticesAtTime(values,input_enum,time);
    14961496                vector->SetValues(numvertices,doflist,values,INS_VAL);
     
    15141514}
    15151515/*}}}*/
    1516 void       Element::GetVertexPidList(int* pidlist){/*{{{*/
     1516void       Element::GetVerticesLidList(int* lidlist){/*{{{*/
     1517
     1518        int numvertices = this->GetNumberOfVertices();
     1519        for(int i=0;i<numvertices;i++) lidlist[i]=vertices[i]->Lid();
     1520
     1521}
     1522/*}}}*/
     1523void       Element::GetVerticesPidList(int* pidlist){/*{{{*/
    15171524
    15181525        int numvertices = this->GetNumberOfVertices();
  • issm/trunk-jpl/src/c/classes/Elements/Element.h

    r23991 r23992  
    104104                void               GetVectorFromInputs(Vector<IssmDouble>* vector, int name_enum, int type);
    105105                void               GetVectorFromInputs(Vector<IssmDouble>* vector, int name_enum, int type,IssmDouble time);
    106                 void                 GetVertexPidList(int* pidlist);
     106                void                 GetVerticesLidList(int* lidlist);
     107                void                 GetVerticesPidList(int* pidlist);
    107108                void               GetVerticesConnectivityList(int* connectivitylist);
    108109                void               GetVerticesCoordinates(IssmDouble** xyz_list);
  • issm/trunk-jpl/src/c/classes/Elements/Tria.cpp

    r23991 r23992  
    211211        /*Figure out the average for this element: */
    212212        this->GetVerticesSidList(&offsetsid[0]);
    213         this->GetVertexPidList(&offsetdof[0]);
     213        this->GetVerticesPidList(&offsetdof[0]);
    214214        mean=0;
    215215        for(i=0;i<NUMVERTICES;i++){
  • issm/trunk-jpl/src/c/modules/modules.h

    r23714 r23992  
    5858#include "./KMLOverlayx/KMLOverlayx.h"
    5959#include "./Exp2Kmlx/Exp2Kmlx.h"
     60#include "./KillIcebergsx/KillIcebergsx.h"
    6061#include "./Kml2Expx/Kml2Expx.h"
    6162#include "./Krigingx/Krigingx.h"
Note: See TracChangeset for help on using the changeset viewer.