Ignore:
Timestamp:
05/26/14 21:40:16 (11 years ago)
Author:
Mathieu Morlighem
Message:

DEL: removed all FUNCTIONs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • issm/trunk-jpl/src/c/classes/Inputs/IntInput.cpp

    r17514 r18064  
    1313
    1414/*IntInput constructors and destructor*/
    15 /*FUNCTION IntInput::IntInput(){{{*/
    16 IntInput::IntInput(){
     15IntInput::IntInput(){/*{{{*/
    1716        return;
    1817}
    1918/*}}}*/
    20 /*FUNCTION IntInput::IntInput(IssmDouble* values){{{*/
    21 IntInput::IntInput(int in_enum_type,IssmInt in_value){
     19IntInput::IntInput(int in_enum_type,IssmInt in_value){/*{{{*/
    2220
    2321        enum_type=in_enum_type;
     
    2523}
    2624/*}}}*/
    27 /*FUNCTION IntInput::~IntInput(){{{*/
    28 IntInput::~IntInput(){
     25IntInput::~IntInput(){/*{{{*/
    2926        return;
    3027}
     
    3229
    3330/*Object virtual functions definitions:*/
    34 /*FUNCTION IntInput::DeepEcho{{{*/
    35 void IntInput::DeepEcho(void){
     31void IntInput::DeepEcho(void){/*{{{*/
    3632
    3733        _printf_(setw(15)<<"   IntInput "<<setw(25)<<left<<EnumToStringx(this->enum_type)<<" "<<this->value<<"\n");
    3834}
    3935/*}}}*/
    40 /*FUNCTION IntInput::Id{{{*/
    41 int    IntInput::Id(void){ return -1; }
     36int    IntInput::Id(void){ return -1; }/*{{{*/
    4237/*}}}*/
    43 /*FUNCTION IntInput::ObjectEnum{{{*/
    44 int IntInput::ObjectEnum(void){
     38int IntInput::ObjectEnum(void){/*{{{*/
    4539
    4640        return IntInputEnum;
     
    4842}
    4943/*}}}*/
    50 /*FUNCTION IntInput::copy{{{*/
    51 Object* IntInput::copy() {
     44Object* IntInput::copy() {/*{{{*/
    5245
    5346        return new IntInput(this->enum_type,this->value);
     
    5750
    5851/*IntInput management*/
    59 /*FUNCTION IntInput::Echo {{{*/
    60 void IntInput::Echo(void){
     52void IntInput::Echo(void){/*{{{*/
    6153        this->DeepEcho();
    6254}
    6355/*}}}*/
    64 /*FUNCTION IntInput::InstanceEnum{{{*/
    65 int IntInput::InstanceEnum(void){
     56int IntInput::InstanceEnum(void){/*{{{*/
    6657
    6758        return this->enum_type;
     
    6960}
    7061/*}}}*/
    71 /*FUNCTION IntInput::SpawnTriaInput{{{*/
    72 Input* IntInput::SpawnTriaInput(int index1,int index2,int index3){
     62Input* IntInput::SpawnTriaInput(int index1,int index2,int index3){/*{{{*/
    7363
    7464        /*output*/
     
    8373}
    8474/*}}}*/
    85 /*FUNCTION IntInput::SpawnSegInput{{{*/
    86 Input* IntInput::SpawnSegInput(int index1,int index2){
     75Input* IntInput::SpawnSegInput(int index1,int index2){/*{{{*/
    8776
    8877        /*output*/
     
    9988
    10089/*Object functions*/
    101 /*FUNCTION IntInput::GetInputValue(bool* pvalue) {{{*/
    102 void IntInput::GetInputValue(bool* pvalue){_error_("not supported yet!");}
     90void IntInput::GetInputValue(bool* pvalue){_error_("not supported yet!");}/*{{{*/
    10391/*}}}*/
    104 /*FUNCTION IntInput::GetInputValue(int* pvalue){{{*/
    105 void IntInput::GetInputValue(int* pvalue){
     92void IntInput::GetInputValue(int* pvalue){/*{{{*/
    10693        *pvalue=value;
    10794}
    10895/*}}}*/
    109 /*FUNCTION IntInput::GetInputValue(IssmDouble* pvalue){{{*/
    110 void IntInput::GetInputValue(IssmDouble* pvalue){
     96void IntInput::GetInputValue(IssmDouble* pvalue){/*{{{*/
    11197        _error_("IntInput cannot return a IssmDouble in parallel");
    11298}
    11399/*}}}*/
    114 /*FUNCTION IntInput::GetInputValue(IssmDouble* pvalue,Gauss* gauss){{{*/
    115 void IntInput::GetInputValue(IssmDouble* pvalue,Gauss* gauss){_error_("not supported yet!");}
     100void IntInput::GetInputValue(IssmDouble* pvalue,Gauss* gauss){_error_("not supported yet!");}/*{{{*/
    116101/*}}}*/
    117 /*FUNCTION IntInput::ChangeEnum{{{*/
    118 void IntInput::ChangeEnum(int newenumtype){
     102void IntInput::ChangeEnum(int newenumtype){/*{{{*/
    119103        this->enum_type=newenumtype;
    120104}
    121105/*}}}*/
    122 /*FUNCTION IntInput::SquareMin{{{*/
    123 void IntInput::SquareMin(IssmDouble* psquaremin,Parameters* parameters){
     106void IntInput::SquareMin(IssmDouble* psquaremin,Parameters* parameters){/*{{{*/
    124107
    125108        /*square min of an integer is the square of the integer itself: */
     
    127110}
    128111/*}}}*/
    129 /*FUNCTION IntInput::Scale{{{*/
    130 void IntInput::Scale(IssmDouble scale_factor){
     112void IntInput::Scale(IssmDouble scale_factor){/*{{{*/
    131113        IssmDouble dvalue=(IssmDouble)value*scale_factor;
    132114        value=reCast<int>(dvalue);
    133115}
    134116/*}}}*/
    135 /*FUNCTION IntInput::AXPY{{{*/
    136 void IntInput::AXPY(Input* xinput,IssmDouble scalar){
     117void IntInput::AXPY(Input* xinput,IssmDouble scalar){/*{{{*/
    137118
    138119        IssmDouble dvalue;
     
    156137}
    157138/*}}}*/
    158 /*FUNCTION IntInput::Constrain{{{*/
    159 void IntInput::Constrain(IssmDouble cm_min, IssmDouble cm_max){
     139void IntInput::Constrain(IssmDouble cm_min, IssmDouble cm_max){/*{{{*/
    160140
    161141        if(!xIsNan<IssmDouble>(cm_min)) if (this->value<cm_min)this->value=reCast<int>(cm_min);
     
    164144}
    165145/*}}}*/
    166 /*FUNCTION IntInput::GetVectorFromInputs{{{*/
    167 void IntInput::GetVectorFromInputs(Vector<IssmDouble>* vector,int* doflist){
     146void IntInput::GetVectorFromInputs(Vector<IssmDouble>* vector,int* doflist){/*{{{*/
    168147
    169148        _error_("not supporte yet!");
     
    171150}
    172151/*}}}*/
    173 /*FUNCTION IntInput::Configure{{{*/
    174 void IntInput::Configure(Parameters* parameters){
     152void IntInput::Configure(Parameters* parameters){/*{{{*/
    175153        /*do nothing: */
    176154}
Note: See TracChangeset for help on using the changeset viewer.