Changeset 5610


Ignore:
Timestamp:
08/27/10 10:59:07 (15 years ago)
Author:
Mathieu Morlighem
Message:

Fixed Rifts serially

Location:
issm/trunk/src/c/objects/Loads
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk/src/c/objects/Loads/Riftfront.cpp

    r5608 r5610  
    327327        /*update input*/
    328328        this->inputs->AddInput(new IntInput(name,constant));
     329
     330}
     331/*}}}*/
     332/*FUNCTION Riftfront::InputUpdateFromConstant(double constant,int name) {{{1*/
     333void  Riftfront::InputUpdateFromConstant(double constant,int name){
     334
     335        /*Check that name is a Riftfront input*/
     336        if (!IsInput(name)) return;
     337
     338        /*update input*/
     339        this->inputs->AddInput(new DoubleInput(name,constant));
    329340
    330341}
  • issm/trunk/src/c/objects/Loads/Riftfront.h

    r5311 r5610  
    6666                void    InputUpdateFromVectorDakota(int* vector, int name, int type){ISSMERROR("Not implemented yet!");}
    6767                void    InputUpdateFromVectorDakota(bool* vector, int name, int type){ISSMERROR("Not implemented yet!");}
    68                 void    InputUpdateFromConstant(double constant, int name){ISSMERROR("Not implemented yet!");}
     68                void    InputUpdateFromConstant(double constant, int name);
    6969                void    InputUpdateFromConstant(int constant, int name);
    7070                void    InputUpdateFromConstant(bool constant, int name){ISSMERROR("Not implemented yet!");}
Note: See TracChangeset for help on using the changeset viewer.