Changeset 11294
- Timestamp:
- 02/01/12 15:45:02 (13 years ago)
- 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 366 366 367 367 /*Update virtual functions definitions:*/ 368 /*FUNCTION Riftfront::InputUpdateFromConstant( intconstant,int name) {{{1*/369 void Riftfront::InputUpdateFromConstant( intconstant,int name){368 /*FUNCTION Riftfront::InputUpdateFromConstant(bool constant,int name) {{{1*/ 369 void Riftfront::InputUpdateFromConstant(bool constant,int name){ 370 370 371 371 /*Check that name is a Riftfront input*/ … … 373 373 374 374 /*update input*/ 375 this->inputs->AddInput(new IntInput(name,constant));375 this->inputs->AddInput(new BoolInput(name,constant)); 376 376 377 377 } … … 388 388 } 389 389 /*}}}*/ 390 /*FUNCTION Riftfront::InputUpdateFromConstant(double constant,int name) {{{1*/390 /*FUNCTION Riftfront::InputUpdateFromConstant(double* constant,int name) {{{1*/ 391 391 void Riftfront::InputUpdateFromVector(double* vector, int name, int type){ 392 392 -
issm/trunk-jpl/src/c/objects/Loads/Riftfront.h
r10576 r11294 74 74 void InputUpdateFromVectorDakota(bool* vector, int name, int type){_error_("Not implemented yet!");} 75 75 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); 78 78 void InputUpdateFromSolution(double* solution){_error_("Not implemented yet!");} 79 79 void InputUpdateFromIoModel(int index, IoModel* iomodel){_error_("not implemented yet");};
Note:
See TracChangeset
for help on using the changeset viewer.