Changeset 11294


Ignore:
Timestamp:
02/01/12 15:45:02 (13 years ago)
Author:
seroussi
Message:

minor

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

Legend:

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

    r11197 r11294  
    366366               
    367367/*Update virtual functions definitions:*/
    368 /*FUNCTION Riftfront::InputUpdateFromConstant(int constant,int name) {{{1*/
    369 void  Riftfront::InputUpdateFromConstant(int constant,int name){
     368/*FUNCTION Riftfront::InputUpdateFromConstant(bool constant,int name) {{{1*/
     369void  Riftfront::InputUpdateFromConstant(bool constant,int name){
    370370
    371371        /*Check that name is a Riftfront input*/
     
    373373
    374374        /*update input*/
    375         this->inputs->AddInput(new IntInput(name,constant));
     375        this->inputs->AddInput(new BoolInput(name,constant));
    376376
    377377}
     
    388388}
    389389/*}}}*/
    390 /*FUNCTION Riftfront::InputUpdateFromConstant(double constant,int name) {{{1*/
     390/*FUNCTION Riftfront::InputUpdateFromConstant(double* constant,int name) {{{1*/
    391391void    Riftfront::InputUpdateFromVector(double* vector, int name, int type){
    392392
  • issm/trunk-jpl/src/c/objects/Loads/Riftfront.h

    r10576 r11294  
    7474                void    InputUpdateFromVectorDakota(bool* vector, int name, int type){_error_("Not implemented yet!");}
    7575                void    InputUpdateFromConstant(double constant, int name);
    76                 void    InputUpdateFromConstant(int constant, int name);
    77                 void    InputUpdateFromConstant(bool constant, int name){_error_("Not implemented yet!");}
     76                void    InputUpdateFromConstant(int constant, int name){_error_("Not implemented yet!");}
     77                void    InputUpdateFromConstant(bool constant, int name);
    7878                void    InputUpdateFromSolution(double* solution){_error_("Not implemented yet!");}
    7979                void  InputUpdateFromIoModel(int index, IoModel* iomodel){_error_("not implemented yet");};
Note: See TracChangeset for help on using the changeset viewer.